@charset "utf-8"; @import "fonts"; @import "palette"; h2, h3 a { margin: 0; padding: 0; color: $text-accent; } /* Dress up the comic */ #comic { /* Give IE hasLayout to fix a neg margin bug */ height: 1%; margin-top: 0; width: auto; .nl { padding-top: 5px; padding-bottom: 5px; background-color: $nl-background; margin: -5em auto 0; border-top: solid 5em $text-normal; width: 700px; text-align: center; } .navpanel { position: relative; margin: auto; .navcontrols { position: absolute; z-index: 1; ul { width: 124px; height: 33px; margin: 0; padding: 0; clear: both; li { display: block; float: left; a, span { display: block; padding-top: 33px; width: 62px; height: 0; overflow: hidden; } } } } .search-filter { margin-bottom: 15px; } #q { width: 350px; } #go, #iego { vertical-align: middle; padding-bottom: 2px; } } div.navpanel { /* Make IE draw panel above glow border */ position: relative; z-index: 1; height: 33px; padding: 0; width: 650px; .navcontrols { right: 25px; } #title { padding: 1ex; } } form.navpanel { margin-top: -28px; padding: 0; width: 625px; .navcontrols { right: 0; } } /* Need to gank the button out of the document flow somehow */ .search-field { position: relative; a { position: absolute; } } .search-filter { padding: 0 25px; margin-bottom: 15px; } } /* Top Nav */ #comic .navpanel .navcontrols.top { li.prev { background: url(../parts/nav2-top-prev.png) no-repeat; } li.next { background: url(../parts/nav2-top-next.png) no-repeat; } li.prevoff { background: url(../parts/nav2-top-prevoff.png) no-repeat; } li.nextoff { background: url(../parts/nav2-top-nextoff.png) no-repeat; } } /* Bottom Nav */ #comic .navpanel .navcontrols.bottom { li.prev { background: url(../parts/nav2-bottom-prev.png) no-repeat; } li.next { background: url(../parts/nav2-bottom-next.png) no-repeat; } li.prevoff { background: url(../parts/nav2-bottom-prevoff.png) no-repeat; } li.nextoff { background: url(../parts/nav2-bottom-nextoff.png) no-repeat; } } /* Form Nav only for disable */ #comic .navpanel .navcontrols { li.findprevoff { background: url(../parts/nav2-prevfindoff.png) no-repeat; } li.findnextoff { background: url(../parts/nav2-nextfindoff.png) no-repeat; } ul#searchprevnext { li { height: 33px; } } } #comic .transcript { list-style-type: none; padding: 66px 50px; margin: 0; .panelhead { font-size: larger; font-weight: bold; } dl { padding-left: 50px; } dt { float: left; padding-right: 1em; font-weight: bold; } dd { margin-left: 5.5em; padding-left: 0; padding-bottom: 0.5ex; } } /* Make the archive link stand out */ #comic #archivelink { background-color: $text-normal; a { color: $nl-background; &:hover { color: $link-hover; } } } /* Boxes between the comic and the rants */ #megagear { text-align: center; } #newsbox { overflow: visible; height: 60px; .leftcol { // left: 5px; } .rightcol { // right: 5px; } div { border: none; overflow: visible; } a { color: $text-accent; } ul { margin-left: 3ex; padding-left: 0; } h3 { text-align: center; } } #support { font-size: 80%; border-bottom: 5px solid $nl-background; div.thewrap { div { // Fix a bug caused by OpenAds injecting a
to not break our boxes */
white-space: pre-wrap;
white-space: -moz-pre-wrap;
word-wrap: break-word;
}
}
.leftcol, .rightcol {
width: 350px;
}
.leftcol {
color: $text-normal;
}
.rightcol {
color: $text-accent;
}
.rantimage {
background: url(../parts/mt-glow-mainrant-vert.png) repeat-y;
width: 350px;
height: 285px;
p, p img {
float: none;
width: 300px;
height: 245px;
text-align: left;
padding: 0;
margin: 0;
}
}
.ri-top, .ri-bottom {
width: 350px;
}
.ri-top {
background: url(../parts/mt-glow-mainrant-top.png) top no-repeat;
height: 245px;
}
.ri-bottom {
background: url(../parts/mt-glow-mainrant-bottom.png) bottom no-repeat;
}
.ri-matte {
padding: 20px 0 20px 0;
margin: 0 25px;
width: 300px;
height: 245px;
}
.rantnav {
margin: 2em 0;
text-align: center;
}
.nameplate {
background-color: $foreground;
width: 350px;
span {
display: block;
height: 48px;
background-repeat: no-repeat;
background-position: top center;
}
h3 {
display: none;
}
}
.oldrant {
margin-top: 1.5em;
border-top: medium solid $text-normal;
padding-top: 1em;
width: 345px;
.rantimage {
float: left;
background: url(../parts/mt-glow-oldrant-vert.png) repeat-y;
width: 176px;
height: 141px;
p, p img {
float: none;
width: 150px;
height: 123px;
text-align: left;
padding: 0;
margin: 0;
}
}
.ri-top, .ri-bottom {
width: 178px;
}
.ri-top {
background: url(../parts/mt-glow-oldrant-top.png) top no-repeat;
height: 123px;
}
.ri-bottom {
background: url(../parts/mt-glow-oldrant-bottom.png) bottom no-repeat;
}
.ri-matte {
padding: 9px 0 9px 0;
margin: 0 13px;
width: 150px;
height: 123px;
}
.nameplate {
margin-top: 43px;
background-color: $foreground;
width: 150px;
float: right;
}
h4 {
float: right;
margin:5px 0 5px 5px;
}
}
}
/* Shaded borders around images */
#strip, #strip span {
/* Everyone treat like */
display: block;
/* Shrinkwrap blocks for IE */
display: inline-block;
}
/* hasLayout */
* html #strip, * html #strip span {
height: 1%;
}
#strip {
/* Shrinkwrap blocks for everyone else */
display: table;
position: relative;
margin: -33px auto 0px;
min-width: 650px;
img {
margin: 33px 25px;
}
iframe {
border: none;
margin: 33px 25px;
width: 1024px;
height: 576px;
}
}
div#strip {
width: 700px;
background-color: $comic-background;
}
#strip-tl {
background: url(../parts/mt-corner-UL.png) no-repeat left top;
}
#strip-tr {
background: url(../parts/mt-corner-UR.png) no-repeat right top;
}
#strip-t {
background: url(../parts/mt-slice-vert-top.png) repeat-x top;
}
#strip-bl {
background: url(../parts/mt-corner-LL.png) no-repeat left bottom;
}
#strip-br {
background: url(../parts/mt-corner-LR.png) no-repeat right bottom;
}
#strip-b {
background: url(../parts/mt-slice-vert-bottom.png) repeat-x bottom;
}
#strip-l {
background: url(../parts/mt-shadow-vert-left.png) repeat-y left;
}
#strip-r {
background: url(../parts/mt-shadow-vert-right.png) repeat-y right;
}
#strip-transcript {
padding: 10px;
}
/* Center the comic */
#comic {
text-align: center;
* {
text-align: left;
}
}
/* Overload header texts */
#metabox h2 span {
background: url(../parts/mt-blk_bar-metabox.png) no-repeat;
}
#support h2 span {
background: url(../parts/mt-blk_bar-support.png) no-repeat;
}
#console h2 span {
background: url(../parts/mt-blk_bar-console.png) no-repeat;
}