diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-11-23 15:56:35 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-11-23 15:56:35 +0000 |
commit | 526fbe767130b4dedd75841969808fe750afa22e (patch) | |
tree | dae304cd7c26f58de184366998692f4007d18db5 /media | |
parent | 4ac2e8c9c7126e21c708fd04bc14cf8143e1c17f (diff) |
redesign tentatively complete
Diffstat (limited to 'media')
-rw-r--r-- | media/css/base.css | 587 |
1 files changed, 210 insertions, 377 deletions
diff --git a/media/css/base.css b/media/css/base.css index 6afdb1c..231da59 100644 --- a/media/css/base.css +++ b/media/css/base.css @@ -9,7 +9,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq background: transparent; } -ol, ul { list-style: none; } +ol, ul, li { list-style: none; } blockquote, q { quotes: none; } :focus { outline: 0; } @@ -18,444 +18,282 @@ table { border-collapse: collapse; border-spacing: 0; } - +/*html5 fix*/ +header, section, footer, aside, article, nav {display: block;text-align:left;} /* --------------------- Basic Typography Stuff ------------------------ */ * {margin:0;} html {height:100%;} body { - /*url("../img/underline.gif")*/ - background: #faf9f4 url(../img/body-bg.gif) repeat-x; + background: #faf9f4; font-family: Georgia, "Times New Roman", Times, Serif; - /* font-size 14px */ - font-size: 87.5%; + /* font-size 15px */ + font-size: 93.75%; /* line height of 24 px */ - line-height: 1.5em; - color: #473d39; + line-height: 23px; + color: #000; } body {height:100%;text-align: center;} -html>body { font-size: 14px;} +html>body { font-size: 15px;} +p { + margin: 0.8em 0 0 0; +} a:link { text-decoration: none; - font-weight: bold; color: #333; } a:visited { color: #736357; text-decoration: none; - font-weight: bold; } a:hover { color: #b53a04 !important; text-decoration: none; - font-weight: bold; -} - -h1, h2, h3 { - color: #473d39; - font-size: 2.3em; - line-height: 1.5em; - letter-spacing: -1px; - font-weight: normal; } +article a {border-bottom: 1px dotted #b53a04;} +blockquote, blockquote p { font-size: 14px !important; margin: 1.2em !important; line-height: 22px !important; font-style: italic !important;} +/* --------------------- layout ------------------------ */ -h3 a, h2 a, h1 a { font-weight: normal !important; } -blockquote { margin: 17px 20px; } -p { - margin-bottom: 1.5em; - margin-top: 1.5em; +/* global header and nav elements */ +header {margin-bottom: 55px;text-align: center;} +header nav ul { margin: 35px auto 0;text-align: center;} +header nav li {display: inline; font-style: italic; font-size: 11px; margin: 0 0 2px 0; letter-spacing: 1px;} +header hgroup h1, +header hgroup h1 a { + font: 40px/40px Georgia, "Times New Roman", Times, serif; + text-transform: uppercase; + letter-spacing: 4px; + color: #b53a04 !important; } -blockquote { - font-size: 95%; +header hgroup h1 a:hover, header hgroup h2 a:hover { color: #736357 !important; } +header hgroup h2 { + font-size: 18px; + line-height: 26px; + font-weight: normal; + text-transform: uppercase; + letter-spacing: 2px; font-style: italic; } -ol.generic { list-style: disc outside; } -ol.generic li { margin: .5em 0; } -/* head ---------------------------------------------------------------------------------------- */ -#header { - width: 100%; - width: 940px; - height: 107px; - background: #201a11; - margin: 0 auto; -} - -#header h1 a { - display: block; - text-indent: -9999px; - width: 500px; - height: 100px; - float:left; - margin-top: 7px; - background: url(../img/luxheadnewer.gif) -4px 0 no-repeat; -} - -#header h1 a:hover { background: url(../img/luxheadnewer.gif) -4px -100px no-repeat; } - -ul#menu { - float: right; - width: 150px; - margin-right: 43px; - margin-top: 73px; -} - -ul#menu li { - float: left; - margin: 3px; -} - -ul#menu li a { - display: block; - text-indent: -9999px; - width: 43px; - height: 16px; -} - -ul#menu li#stories a { background: url(../img/stories.gif) 0 0 no-repeat; } -ul#menu li#stories a:hover { background: url(../img/stories.gif) 0 -15px no-repeat; } -ul#menu li#photos a { background: url(../img/photos.gif) 0 0 no-repeat; } -ul#menu li#photos a:hover { background: url(../img/photos.gif) 0 -15px no-repeat; } - -ul#menu li#map a { - background: url(../img/map.gif) 0 0 no-repeat; - width: 25px; -} - -ul#menu li#map a:hover { background: url(../img/map.gif) 0 -15px no-repeat; } -ul#menu li a:hover { color: #b53a04; } - -/* Main Layout ---------------------------------------------------------- */ -.container { - width: 940px; - margin: 2em auto -32px auto; - min-height: 100%; - height: auto !important; - height: 100%; - text-align: left; -} -div.content { font-size: 15px;} -div#primary { - width: 655px; - float: left; -} - -div.content, div.archives dd { - width: 465px; - float: right; - padding: 0 0 30px 0; -} - -/* Date section */ -div.meta, div.photo-archives span.date, div.archives span.date { - line-height: 1.916em; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - font-weight: bold; - font-size: 12px; - text-transform: uppercase; - letter-spacing: .5px; - color: #786E69; - width: 180px; -} +header hgroup h2 a {color: #b53a04 !important;} -.content h3 { font-size: 2em; } -div.archives span.date { - font-size: 10px; - margin-top: 6px; -} - -div.meta a:hover { color: #b53a04; } - -/* --------- Archive Sections (bottom homepage and primary archives --------- */ -body#home div.archives { clear: both; } - -body#home div.archives h4#archive-header, #comment-header,#dsq-add-new-comment { - margin-left: 190px; - margin-bottom: 1.5em; - border-bottom: 1px solid #e2d7c6; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - color: #666; - font-weight: bold; - font-size: 12px; - text-transform: uppercase; - letter-spacing: 1px; -} - -#comment-header,#dsq-add-new-comment { - margin-left:0; -} - -div.archives li { - clear: both; - margin-bottom: 1.5em; -} - -div.archives li dl dd { clear: right; } - -div.archives span.post-image { - float: left; - width: 190px; -} - -div.archives span.post-image img { border: #000 5px solid; } -div.archives span.date { - display: block; - line-height: 24px; - width: auto; -} -div.archives span.more { - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - color: #666; - font-weight: bold; - font-size: 10px; - display: block; - text-transform: uppercase; -} - -div.archives h3 { - padding-bottom: 0px !important; - font-size: 22px !important; - letter-spacing: -1px !important; - padding-top: 8px !important; - line-height: 16px !important; -} - -/* Primary Column special cases */ -body#writing-archive div#primary h2 { - margin: 0 0 0 190px; - line-height: 36px; - padding: 0 0 26px 0; - width: 465px; - float: right; +/* global article styles */ +article h1, +article h1 a { + font: 48px/48px Georgia, "Times New Roman", Times, serif; + font-style: normal; + color: #000 !important; + margin: 55px 0 5px 0; + border: none; + text-align: center; } - -/* Metadata section at the end of each entry */ -div#extra { +h3 { + margin: 24px 0; + font-size: 32px; + line-height: 42px; + font-weight: normal; font-style: italic; - margin-left: 40px; - width: 385px; - font-size: 90%; -} -div.photo-archives { - margin-left: 190px; - width: 600px; -} -div.photo-archives li {float: left; padding-right: 30px; width: 240px; margin-bottom: 20px; min-height: 420px;} -div.photo-archives li dd {width: 240px; margin-left: 5px;} -div.photo-archives span.date { display: block;} -div.photo-archives img { - border: #000 10px solid; -} -div#extra span { font-style: normal; } - -div.pagination, div#nav { - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - color: #666; - font-weight: bold; - font-size: 12px; - text-transform: uppercase; letter-spacing: 1px; - display: block; + border-bottom: 1px dotted #ccc; + padding-left: 4px; } -div.pagination-wrapper { - clear: both; - width: 655px; +/*make the first graf bigger for browsers that understand -- suck it ie6 */ +body.writing-detail article section#post p:nth-of-type(1), body#home article section#featured-article p:nth-of-type(1) { + font: 18px/28px Georgia, "Times New Roman", Times, serif; + margin: 0 0 1em 0; } -div.pagination-wrapper .pagination { float: right; } -div.pagination .page { - font-size: 12px; - padding 5px: ; -} -div.pagination .disabled { display: none; } -div#nav li { display: inline; } -div#nav li.next { margin-left: 17px; } -div#nav div.first { padding-top: 49px; } -/* ------------------- Sidebar --------------------------------------*/ -#sidebar { - width: 190px; - float: right; - margin-top: 2em; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - color: #444; - font-size: 80%; - line-height: 1.5em; -} - -#sidebar h4, #sidebar #nav { - font-weight: bold; - margin-bottom: .3em; - margin-top: 1.5em; - text-transform: uppercase; - letter-spacing: 1px; -} - -#sidebar h4.first { margin-top: 0 !important; } - -#sidebar #nav { - margin-top: 0; - margin-bottom: 3em; - font-size: 95%; -} - -#sidebar .blok { width: 170px; } - -#sidebar .blok ul li { - color: #736357; - margin-left: 5px; - font-family: Georgia, "Times New Roman", Times, Serif; -} +article {margin: 0 auto; width: 560px;} -#sidebar .blok ul li a:hover { color: #b53a04; } -#sidebar .blok ul li a { font-weight: normal; } +time, .location, .all-link { color: #888; text-align: center; margin: 12px 0 22px;text-transform: uppercase; font-size: 80%;font-style: italic;} +.location a {color: #888;} +.all-link a {border: none;} -#sidebar ul.follow li img { - margin-right: 5px; - position: relative; - top: 2px; -} -#sidebar .blok div#nav div.pagination .page { - font-size: 12px !important; - padding 5px: ; +/* pagination */ +section#pagination ul {padding-top: 36px; text-align:center; clear: both;} +section#pagination ul li { + display: inline; + margin: 0; + font-variant: small-caps; } - -#sidebar .blok div#nav .pagination { float: none; } - -#sidebar dl dt {float:left; margin-right: 6px;} -#sidebar p { - font-family: Georgia, "Times New Roman", Times, Serif; - margin: .3em 5px; +section#pagination ul li a, section#pagination ul li.current { + padding: 3px; + border: none; + font-size: 100%; + } +section#pagination ul li:first-child {padding-right: 8px;} +section#pagination ul li:last-child {padding-left: 4px;} -/*----------------------------- Map ------------------------------------------ */ -#map-canvas { - margin-left: -200px; - height: 450px; - width: 710px; - border: #000 10px solid; - margin-top: 1.5em; -} +/* Home page */ -#map-canvas p { - font-size: 90% !important; - margin-top: 0; - margin-bottom: 0 !important; +body#home section#writing-archive {clear:both;} +body#home section#writing-archive h2 {font-size: 1.6em; + font-weight: normal; + text-transform:uppercase; + letter-spacing:2px; + margin-top: 32px; + color: #333; } +body#home section#writing-archive ul h3 {font-size: 22px; line-height: 28px; margin: 30px 0 8px; padding-bottom: 4px;letter-spacing: .01em;} +body#home section#writing-archive ul h3 a {border: none;} +body#home section#writing-archive ul li {clear:both; padding: 18px 0; color: #888;} +body#home section#writing-archive ul li:first-child {padding-top: 0;} +body#home section#writing-archive ul li img {border: #000 10px solid; float: left; margin: 4px 18px 0 0; background: #f3f;} +body#home section#writing-archive ul li p.intro {float:left; color: #000; width: 375px; margin: 6px 0 0 0;} -.mcanvas { height: 220px; } -.mcanvas { height: auto; } -#map-canvas span { - font-size: 10px; - font-weight: bold; - letter-spacing: 1.3px; - color: #786E69; -} -#map-canvas img { - float: left; - margin: 5px 5px 0px 0; - border: #000 4px solid; +/* About page */ +body#about article h3 {font-size: 20px; line-height: 22px; clear: both;} +body#about article ul { margin: 22px 0;} +body#about article ul li { + list-style-type: disc; + margin: 8px; + font-size: 85%; + line-height: 150%; + list-style-position: inside; } -/*This might be against the terms of service, but what the hell */ -img[src="http://maps.google.com/intl/en_us/mapfiles/poweredby.png"] { display: none; } -#map-canvas div span { display: none;} -a[href="http://www.google.com/intl/en_us/help/terms_maps.html"] { display: none; } - -/* -------------------- Disqus comments ------------------------- */ +/* Writing Archives */ +body#writing article ul h3 {font-size: 26px; line-height: 34px; margin: 36px 0 8px; padding-bottom: 4px;letter-spacing: .01em;} +body#writing article ul h3 a {border: none;} +body#writing article ul li {clear:both; padding: 24px 0; color: #888;} +body#writing article ul li:first-child {padding-top: 0;} +body#writing article ul li img {border: #000 10px solid; float: left; margin: 4px 18px 0 0; background: #f3f;} +body#writing article ul li p.intro {float:left; color: #000; width: 375px; margin:0;} -/* a site promo at the top and bottom of the thread? Let's not get greedy. */ -.dsq-brlink {display: none;} -h4#comment-header { padding-top: 5em;} - -/* -------------------------- footer --------------------------------------*/ -.push { height: 32px; } - -#foot { - height:32px; - clear: both; - position: relative !important; - background: #201a11; - width: 100%; - bottom: 0 !important; - font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif; - font-weight: bold; - font-size: 12px; - color: #cac0ad; -} +/* Photo Archives */ +body#photo-archive article {width: 810px;} +body#photo-archive ul#photo-galleries li {background: #000; width: 210px; float: left; margin: 20px; min-height: 370px; color: #888; padding: 10px; font-size: 85%; line-height: 18px;} +body#photo-archive ul li a {border: none;} +body#photo-archive ul li h3 {font-size: 14px; color: #f9f9f4; border: none; line-height: 18px;margin: 4px 0;padding: 0;} +body#photo-archive ul li p {margin: 0;} -#footer { padding-top: 6px; margin: 0 auto; width: 940px; - } -span#foot-float { float: left; } -#footer ul { - display: inline; - float: left; - margin-left: 4px; - width: 200px; -} - -#footer ul li { - display: inline; - margin: 0 4px; - text-transform: uppercase; +/* Map pages */ +body#map article {width: 940px;} +div#map-canvas {float: left;width: 800px; height: 500px; border: #000 10px solid; margin-bottom: 120px;} +div.infowin { font-size: 85%; line-height: 18px; margin-bottom: 16px;} +div.infowin h4 {font-size: 16px; + line-height: 24px; + font-weight: normal; + font-style: italic; + letter-spacing: 1px; } +div.infowin a { color: #b53a04 !important; border-bottom: 1px dotted #b53a04; } +div.infowin .date { color: #888; text-align: center; text-transform: uppercase; font-size: 80%;font-style: italic;display: block;text-align: left; margin: 0;} -#footer p { - float: right; - display: inline; - margin: 0; - font-size: 85%; +aside {float: right; margin-top: -10px;} +aside h4 { + font-size: 16px; + line-height: 24px; + font-weight: normal; + font-style: italic; + letter-spacing: 1px; + font-variant: small-caps; + margin: 8px 0 2px; } +aside ul li { margin-left: 4px; font-size: 80%; line-height: 20px;} -/* ------------ Misc span and image classes -------------------*/ -span.break { - display: block; - margin: 1.44px 0 1.44px 80px; - text-align: center; - width: 300px; - height: 8px; - background: url(../img/break.gif) no-repeat; -} +/* Writing Detail Pages */ +span.byline, .all-link {display: block;color: #888; text-align: center; margin: 12px 0 22px;} +/* drop caps */ span.drop { - display: block; - font-size: 5.5em; + font-size: 5.5em; + display: block; float: left; - padding: 21px 5px 5px 0; + padding: 30px 5px 5px 0; overflow: visible; } - -p.pull-quote { - font-style: italic; - margin-left: 40px; - width: 385px; - font-size: 95%; - text-align: center; +ol.footnote { + border-top: 1px dotted #ccc; + font-size: 85%; + margin: 18px 0; } - -p.pull-quote cite { - display: block; - font-style: normal; +ol.footnote li { + margin: 12px 0; + line-height: .8em; +} +ol.footnote li p {line-height: 18px !important;} +ol.footnote li a, ol.footnote li span {font-size: 70%; } +hr.footnotes { + display: none; +} +section#post-metadata {margin: 30px 0 20px; font-style: italic; border-top: #dadada 1px solid;border-bottom: #dadada 1px solid;} +section#post-metadata h4 {display: none;} +section#post-metadata p {margin: 10px 40px;font-size: 80%; line-height: 18px;} + +section#page-navigation ul {width: 560px;} +section#page-navigation li {display: block; float: left;} +section#page-navigation li a { + border-bottom: none; + font-variant: small-caps; +} +section#page-navigation li.next {float: right;} + +section#comments h4 { + clear: both; + font-size: 26px; + line-height: 26px; + font-weight: normal; + text-transform: uppercase; + letter-spacing: 2px; + margin: 45px 0; + padding-top: 45px; +} +section#comments h4 span {font-size: 90%; font-style: italic;} + +/* --------------------- Footer ------------------------ */ +footer {text-align:center; padding-top: 40px; font-size: 80%; clear:both; margin-top: 60px; background:#e2e2dd;} +footer div { margin: 0 auto; width: 580px;} +footer section {float: left; margin: 0 14px; width: 110px; line-height: 20px;} +footer section:first-child {width: 220px; margin: 0 20px 0 30px;} +footer section:last-child {float: none; clear: both; width: 560px; padding-top: 30px; text-align: center;} +footer section h4 { + margin: 0 0 8px 0; + font-size: 16px; + font-weight: normal; + font-variant: small-caps; + letter-spacing: 1px; + border-bottom: #999 1px dotted; + letter-spacing: .2em; + line-height: 1.1em; + text-transform: uppercase; + padding-bottom: 3px; + color: #333; } -ul.tsites li a { font-weight: bold !important;} -.small { font-size: 75%;} -.byline { display: block;} +footer section p {margin: 0; } +footer section ul li {list-style-type: none; margin-left: 4px;} +footer ul li img {margin-right:5px; +position:relative; +top:2px;} +footer nav {clear:both; margin: 0 auto; width: 560px; margin-bottom: 30px;} +footer nav ul {clear:both; width: 560px;text-align: center;padding: 5px 0;border-bottom: #999 1px dotted;} +footer nav ul li {display: inline; margin: 5px; font-size: 105%; + font-variant: small-caps; + letter-spacing: .2em; + line-height: 1.1em; + text-transform: uppercase;} +/* --------------------- img classes ------------------------ */ +span.figure {display: block; background: #000;border: #000 10px solid; } +span.figure p {color: #f9f9f4; font-size: 80%; font-style: italic; } +div#clearfix {clear:both; } img.postpic, img.postpicright { display: block; margin: .3em .6em; @@ -468,7 +306,6 @@ img.postpic { margin-left: 0; margin-top: .3em; } - img.postpicright { float: right; margin-right: 0; @@ -478,14 +315,10 @@ img.postpicleft { float: left; margin: 5px; } -img.flickr-image { - margin-top: 1.8em; - border: #000 10px solid; -} -ol.footnote { - font-size: 90%; +/* --------------------- misc classes ------------------------ */ + +.dsq-brlink, img[src='http://maps.gstatic.com/intl/en_us/mapfiles/poweredby.png'], .terms-of-use-link {display: none;} +div[dir='ltr'] span { + width: 0; + visibility: collapse; } -hr.footnotes { - color: #201a11; - width: 100px; -}
\ No newline at end of file |