@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
into the status area which // partially obscures the 'support' heading background-color: transparent; } } } #newsbox div.thewrap, #support div.thewrap { border-bottom: none; margin: 0; padding: 0; background: url(../parts/twitter-seperator.png) 6px 0 $infobox; } #status { dl { margin: 1em; } dt { float: left; } dd { margin-left: 7em; color: $text-accent; div#percentbox { padding: 1px; width: 90%; border: 1px solid $percent-border; margin: 0; } } } .content .column { width: 330px; } .content div.column.leftcol, .content div.column.rightcol { border: none; } .content div#status, .content div#fred_twitter { border: none; background: none; } #status ul, #fred_twitter ul { margin-top: 0; } #status li, #fred_twitter li { padding-top: 4px; padding-right: 1em; } #blogbits { padding: 0; width: 370px; ul { margin: 0; padding: 0; text-align: center; list-style-type: none; } ul#blogbitslist { margin-left: 250px; } ul#feed-list { margin: auto; li { display: inline-block; margin: 0; padding: 7.5px 4px; color: $text-normal; } } #feed-list { ul { display: none; position: absolute; z-index: 1; border: solid 5px $nl-background; width: 400px; background: $background; text-align: left; } } a.rightcol, a.leftcol { img { width: 180px; } } a.rightcol { img { padding-left: 5px; } } a.leftcol { img { padding-right: 5px; } } } #feed-list h4 { margin: auto; color: $text-accent; text-align: center; font-size: medium; width: 400px; } #facebook { border: none; padding: 0; img { width: 300px; height: 60px; } } #support { position: relative; } #support .thewrap .column .glowwrap, #support .thewrap .column .glowwrap a { display: block; width: 100%; } #support .thewrap .column .glowwrap img, #support .thewrap .column .glowwrap embed { display: block; margin: auto; } #support .glowwrap div { border: none; } #newsbox .adinfo, #support .adinfo { position: absolute; top: 2px; right: 10px; height: 16px; margin: 0; border: 0; padding: 0; background-color: transparent; a { color: $text-accent; font-size: 11px; } p { margin: 0 10px 0 0; } } /* Rant Columns */ #console { overflow: hidden; h3 { padding: 0.75ex; background-color: $foreground; font-family: $banner-font; font-size: xx-large; text-align: center; } h4 { margin: auto; padding: 0.75ex 0; width: 330px; background-color: $foreground; color: $text-accent; text-align: center; font-size: medium; a { color: $text-accent; } } .date, .rantbody { margin: 5px; padding: 5px; width: 330px; } .rantbody { margin-top: 0; padding-top: 0; pre { /* force
 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; }