Source Code: media/css/lobstertech.css
/* * Lobstertech CSS * J.A. Roberts Tunney <jtunney@lobstertech.com> * * If you like my design please feel free to use it part or whole for * your personal website or business :) * */ /* sensible defaults from blueprint -- http://www.blueprintcss.org/ ---------------------------------------------------------------------------- */ html { font-size:100.01%; } body { font-size: 75%; color: #222; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; } h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; } h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; } h2 { font-size: 2em; margin-bottom: 0.75em; } h3 { font-size: 1.50em; line-height: 1; margin-bottom: 1em; } h4 { font-size: 1.25em; line-height: 1.25; margin-bottom: 1.25em; } h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; } h6 { font-size: 1em; font-weight: bold; } h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; } p { margin: 0 0 1.5em; } p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; } /* a:focus, */ /* a:hover { color: #000; } */ /* a { color: #009; text-decoration: underline; } */ blockquote { margin: 1.5em; color: #666; font-style: italic; } strong { font-weight: bold; } em,dfn { font-style: italic; } dfn { font-weight: bold; } sup, sub { line-height: 0; } abbr, acronym { border-bottom: 1px dotted #666; } address { margin: 0 0 1.5em; font-style: italic; } del { color:#666; } pre { margin: 1.5em 0; white-space: pre; } pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } li ul, li ol { margin: 0; } ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; } ul { list-style-type: disc; } ol { list-style-type: decimal; } dl { margin: 0 0 1.5em 0; } dl dt { font-weight: bold; } dd { margin-left: 1.5em;} table { margin-bottom: 1.4em; width:100%; } th { font-weight: bold; } thead th { background: #c3d9ff; } th,td,caption { padding: 4px 10px 4px 5px; } tr.even td { background: #e5ecf9; } tfoot { font-style: italic; } caption { background: #eee; } .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; } .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; } .hide { display: none; } .quiet { color: #666; } .loud { color: #000; } .highlight { background:#ff0; } .added { background:#060; color: #fff; } .removed { background:#900; color: #fff; } .first { margin-left:0; padding-left:0; } .last { margin-right:0; padding-right:0; } .top { margin-top:0; padding-top:0; } .bottom { margin-bottom:0; padding-bottom:0; } /* TeX Gyre Pagella -- http://www.fontsquirrel.com/fonts/TeX-Gyre-Pagella ---------------------------------------------------------------------------- */ @font-face { font-family: 'TeXGyrePagellaRegular'; src: url('/media/font/texgyrepagella-regular-webfont.eot'); src: local('☺'), url('/media/font/texgyrepagella-regular-webfont.woff') format('woff'), url('/media/font/texgyrepagella-regular-webfont.ttf') format('truetype'), url('/media/font/texgyrepagella-regular-webfont.svg#webfontAfRnnQCQ') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'TeXGyrePagellaItalic'; src: url('/media/font/texgyrepagella-italic-webfont.eot'); src: local('☺'), url('/media/font/texgyrepagella-italic-webfont.woff') format('woff'), url('/media/font/texgyrepagella-italic-webfont.ttf') format('truetype'), url('/media/font/texgyrepagella-italic-webfont.svg#webfontpK19oYss') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'TeXGyrePagellaBold'; src: url('/media/font/texgyrepagella-bold-webfont.eot'); src: local('☺'), url('/media/font/texgyrepagella-bold-webfont.woff') format('woff'), url('/media/font/texgyrepagella-bold-webfont.ttf') format('truetype'), url('/media/font/texgyrepagella-bold-webfont.svg#webfontJ9KOIeNs') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'TeXGyrePagellaBoldItalic'; src: url('/media/font/texgyrepagella-bolditalic-webfont.eot'); src: local('☺'), url('/media/font/texgyrepagella-bolditalic-webfont.woff') format('woff'), url('/media/font/texgyrepagella-bolditalic-webfont.ttf') format('truetype'), url('/media/font/texgyrepagella-bolditalic-webfont.svg#webfontwQnx6YDO') format('svg'); font-weight: normal; font-style: normal; } /* Lobster -- http://www.fontsquirrel.com/fonts/Lobster ---------------------------------------------------------------------------- */ @font-face { font-family: 'Lobster1.3Regular'; src: url('Lobster_1.3-webfont.eot'); src: local('☺'), url('/media/font/Lobster_1.3-webfont.woff') format('woff'), url('/media/font/Lobster_1.3-webfont.ttf') format('truetype'), url('/media/font/Lobster_1.3-webfont.svg#webfontcOtP3oQb') format('svg'); font-weight: normal; font-style: normal; } /* lobstertech: override some standard tags ---------------------------------------------------------------------------- */ body { font-family: "TeXGyrePagellaRegular", serif; margin: 0 0; padding: 0; background: #f6f6f6; } a { text-decoration: none; } pre, code, tt { line-height: 1.2; } img { border: none; } /* firefox needs me */ article, section, nav, footer { display: block; } acronym { cursor: default; } /* lobstertech: insanely complicated header thing ---------------------------------------------------------------------------- */ #top { /* padding-top: 60px; /\* with lobsty *\/ */ padding-top: 2em; /* without lobsty */ padding-left: 2%; /* background: #4d2626; */ background: #422121; overflow: hidden; cursor: default; } #top .decor { display: block; position: absolute; color: #842727; overflow: hidden; font-size: 8.9em; /* top: 0.125em; /\* with lobsty *\/ */ top: -0.22em; /* without lobsty */ left: 2%; width: 98%; overflow: hidden; } #compass { background: #422121; height: 2.15em; } #compass ul { list-style-type: none; padding: 0; margin: 0 1%; width: 98%; position: absolute; /* prevent huge letters from covering links */ z-order: 100; } #compass ul li { display: inline-block; color: #a25c5c; font-weight: bold; } #compass ul li:first-child { float: right; } #compass ul li a { color: #a25c5c; cursor: pointer; padding: 0.1em 0.2em; } #compass ul li a:hover { color: #422121; background: #a25c5c; } #compass ul li time { display: inline-block; margin: 0 0.5em; font-size: 0.9em; font-weight: normal; } header { /* background: #742727; */ margin: 0 0 1em 1.5%; background: #622121; display: table; width: 100%; } #ribbon { margin: 17px 0; background: #9f1212; /* background: #830f0f; */ overflow: visible; position: relative; left: -1.5%; /* undo #top margin-left */ z-order: 11; box-shadow: 1px 1px 1px rgba(0,0,0,0.30); -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.30); -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.30); } #ribbon h1 { display: inline; margin-left: 0.75em; font-family: "Lobster1.3Regular", Helvetica, "IndUni-H", sans-serif; } #ribbon h1 a { color: white; } #ribbon nav { display: inline; } #ribbon ul { display: inline; list-style-type: none; margin: 0; padding: 0.5em; } #ribbon ul li { background: #9f1212; /* same as ribbon */ display: inline-block; float: right; } #ribbon ul li:hover { background: #b91111; } #ribbon ul li a { display: block; height: 3em; padding: 0 1em; line-height: 3; color: white; font-family: sans-serif; /* color: #ffe7e7; */ font-family: Arial, sans-serif; letter-spacing: 1px; text-shadow: -1px -1px 0px rgba(0,0,0,0.3); background: url(/media/img/linething.png) repeat-y; } /* lobstertech: pretty content rendering ---------------------------------------------------------------------------- */ article { /* background: white; */ background: #fefcfe; /* looks like white but hurts eyes less */ /* background: #eee; */ overflow: hidden; padding: 0 15%; } article h1 { margin-left: -15px; } article h2 { margin-left: -10px; } article h3 { margin-left: -5px; } article a { color: #387fd1; } article a:hover { text-decoration: underline; } article a:visited { color: #383fd1; } .articleref h3 a { display: block; } .articleref h3 a, .articleref h3 a:visited { color: #111; text-decoration: none; } .articleref h3 a:hover { text-decoration: underline; } article a.pilcrow { color: #aaa; display: none; font-size: 0.7em; padding-left: 0.4em; padding-right: 0.4em; text-decoration: none; font: Arial, sans-serif; } article *:hover a.pilcrow { display: inline; } article a.pilcrow:hover { color: #a00; } p.math { text-align: center; } p.indented { margin-left: 2em; } /* p code { font-size: 0.9em; } */ /* li code { font-size: 0.9em; } */ ul.files li { padding-left: 22px; } ul.files li ul { padding: 0.5em 0em 0.5em 0em; } ul.files li.txt { background: url(/media/img/text-file.gif) no-repeat; } ul.files li.zip { background: url(/media/img/zip-file.gif) no-repeat; } article > h1 { margin-right: 4em; /* avoid crashing into time */ } hr { border: none; border-bottom: 1px solid #666; } article > time { font-size: 2em; line-height: 1; margin: 0 1em; float: right; margin-top: -1.9em; margin-right: -15px; } article p, article li { font-family: Palatino, Georgia, Times, 'Times New Roman'; font-size: 16px; line-height: 1.4; text-align: justify; } article pre { font-size: 12px; line-height: 1.4; text-align: justify; } article p img, article li img, article h1 img, article h2 img, article h3 img { vertical-align: middle; } article ul { list-style-type: disc; } article ul ul { list-style-type: square; } article ul ul ul { list-style-type: circle; } article ul ul ul { list-style-type: square; } pre { margin: inherit 1em inherit 1em; background: #f6f6f6; padding: 0.25em 0.5em; overflow: hidden; text-overflow: ellipsis; /* css3 */ box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2); -moz-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2); } li pre { margin: 1em 1em; } ul.tabbies { list-style-type: none; padding: 0.5em; } ul.tabbies li { display: inline; } ul.tabbies a { padding: 0.5em; text-decoration: none; } ul.tabbies b a { font-weight: normal; color: #447; } ul.tabbies a { background-color: transparent; color: #2474d1; font-family: sans-serif; border-radius: 8px; } ul.tabbies a:active { color: red; } ul.tabbies a:hover { background: #e9f0f7; } article ul.tabbies { text-align: center; } #larrylobster { float: right; margin-left: 1em; margin-right: -15%; } /* lobstertech: footer ---------------------------------------------------------------------------- */ footer { background: #f6f6f6; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 1.1em; height: 75px; overflow: hidden; color: #555; vertical-align: top; margin: 0; padding: 0; } footer #lobsty { margin: 12px; position: absolute; } footer div.shadow { position: relative; top: -1px; left: -5%; width: 110%; height: 1px; box-shadow: 0px 1px 2px rgba(0, 0, 0, 1.0); -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 1.0); -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 1.0); } footer p { padding: 1em; text-align: right; } footer p:first-child { display: span; float: right; } footer a { color: #387fd1; } footer a:hover { text-decoration: underline; color: #73a395; }