Skip to content

Instantly share code, notes, and snippets.

@clooth
Created August 28, 2012 20:13
Show Gist options
  • Select an option

  • Save clooth/3503615 to your computer and use it in GitHub Desktop.

Select an option

Save clooth/3503615 to your computer and use it in GitHub Desktop.
body {
background-color: #4080E0;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 0.8em;
}
a {
border: none;
color: #000000;
}
a:visited {
color: #FF0000;
}
a:hover {
color: #000055;
}
#comicBox {
padding-left: 2em;
margin: 2em 6em 2em 6em;
border: 2px solid #0000AA;
background-color: #80AAEE;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
text-align: center;
}
#comicBox a {
display: inline-block;
width: 20em;
height: 12em;
background: #fff;
margin: 5px;
position: relative;
box-shadow: 0px 1px 3px rgba(0,0,0,.3);
overflow: hidden;
}
#comicBox a .comicPageImage {
z-index: 2;
position: absolute;
left: -45%;
top: -75%;
width: 155%;
height: 185%;
text-align: left;
overflow: hidden;
}
#comicBox a .comicPageTitle {
position: absolute;
z-index: 3;
text-align: center;
line-height: 12em;
vertical-align: middle;
width: 100%;
height: 100%;
}
#comicBox a .comicPageImage img {
border-radius: 4px;
}
.yearTitleBox {
width: 100%;
margin: 4em 0 4em 0;
}
.yearTitle {
margin: auto;
clear: both;
text-align: center;
background-color: #4080E0;
padding-top: 0.6em;
width: 12em;
height: 2em;
border: 2px hidden;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.solidBlock {
clear: both;
width: 100%;
height: 1em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment