Skip to content

Commit

Permalink
added reset.css & modified com.exptokyo.shunkan.css
Browse files Browse the repository at this point in the history
  • Loading branch information
akz committed Sep 29, 2010
1 parent a5dfe59 commit 58547a2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 19 deletions.
42 changes: 23 additions & 19 deletions com.exptokyo.shunkan.css
Expand Up @@ -28,15 +28,18 @@ nav.pagination,
section.primary,
footer.general {
margin-left: 4em;
margin-right: 1em;
margin-right: 4em;
width: 1280px;
max-width: 90%;
}

header.general h1 {
margin-bottom: 1em;
header.general {
margin-bottom: 2em;
border-bottom: 1px solid #000;
font-size: 2em;
}

header.general h1 {
font-size: 200%;
font-family: "Hoefler Text", Georgia, serif;
line-height: 0.875;
}
Expand All @@ -63,14 +66,14 @@ header.general h1 a:focus {
/* nav */

nav.pagination {
margin-top: 1em;
margin-bottom: 1em;
margin-top: 2em;
margin-bottom: 2em;
text-align: center;
}

nav.pagination a {
display: block;
font-size: 2em;
font-size: 200%;
}

nav.pagination a:hover,
Expand All @@ -97,19 +100,19 @@ section.primary article {
}

article h1 {
visibility: hidden;
position: absolute;
top: 0.25em;
right: 0.5em;
color: transparent;
color: #fff;
background: inherit;
font-size: 3em;
font-size: 300%;
font-weight: bold;
text-shadow: 0 0 1px #000;
}

article:hover h1 {
color: #fff;
background: inherit;
text-shadow: 0 0 1px #000;
visibility: visible;
transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-webkit-transition: all 0.25s ease;
Expand All @@ -122,21 +125,22 @@ article img {

article footer {
position: absolute;
bottom: 0.5em;
bottom: 1em;
left: 1em;
}

article footer a {
color: transparent;
visibility: hidden;
color: #fff;
background: inherit;
font-weight: bold;
text-decoration: underline;
text-shadow: 0 0 1px #000;
}

article:hover footer a,
article footer a:focus {
color: #fff;
background: inherit;
text-decoration: underline;
text-shadow: 0 0 1px #000;
visibility: visible;
transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-webkit-transition: all 0.25s ease;
Expand All @@ -159,7 +163,7 @@ footer.general p a {

footer.general p {
padding: 0 0.285em;
font-size: 0.875em;
font-size: 87.5%;
}

footer.general p a:hover,
Expand Down
8 changes: 8 additions & 0 deletions reset.css
@@ -0,0 +1,8 @@
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.2.0
build: 2676
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

0 comments on commit 58547a2

Please sign in to comment.