/* Theme Name: greenSinner Theme URI: http://greensinner.com/ Description: Theme for the greenSinner site. Author: jonathanweber Author URI: http://greensinner.com/ Version: 0.5 License: Copyright 2011. All rights reserved. */ /* Resets */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; } body { font-size: 16px; line-height:1; font-family: "Times New Roman", serif; } article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section { display:block; } nav ul { list-style:none; } blockquote, q { quotes:none; } blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; } a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; } ins { background-color:@buff; color:@black; text-decoration:none; } mark { background-color:@buff; color:@black; font-style:italic; font-weight:bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; } table { border-collapse:collapse; border-spacing:0; } hr { display:block; height:1px; border:0; border-top:1px solid @dark-grey; margin:1em 0; padding:0; } input, select { vertical-align:middle; background-color: @white; border: 1px @light-grey dotted; } address { font-style: normal; } header a, header a:link, header a:active, header a:hover, header a:visited, nav a, nav a:link, nav a:active, nav a:hover, nav a:visited { color: inherit; text-decoration: none; } /* Fonts */ @font-face { font-family: 'Miso'; src: url('font-miso/miso-webfont.eot'); src: url('font-miso/miso-webfont.eot?iefix') format('eot'), url('font-miso/miso-webfont.woff') format('woff'), url('font-miso/miso-webfont.ttf') format('truetype'), url('font-miso/miso-webfont.svg#webfont9ljUXjAw') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Miso'; src: url('font-miso/miso-bold-webfont.eot'); src: url('font-miso/miso-bold-webfont.eot?iefix') format('eot'), url('font-miso/miso-bold-webfont.woff') format('woff'), url('font-miso/miso-bold-webfont.ttf') format('truetype'), url('font-miso/miso-bold-webfont.svg#webfontmLKaPHHF') format('svg'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Miso'; src: url('font-miso/miso-light-webfont.eot'); src: url('font-miso/miso-light-webfont.eot?iefix') format('eot'), url('font-miso/miso-light-webfont.woff') format('woff'), url('font-miso/miso-light-webfont.ttf') format('truetype'), url('font-miso/miso-light-webfont.svg#webfontmLKaPHHF') format('svg'); font-weight: 200; font-style: normal; } @font-face { font-family: 'Sling'; src: url('font-sling/sling.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Sling'; src: url('font-sling/slingbold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Sling'; src: url('font-sling/slinglight.ttf') format('truetype'); font-weight: 200; font-style: normal; } /* Colors */ @white: #ffffff; @dark-grey: #3b3d3e; @medium-grey: #4c4f50; @light-grey: #aab0b3; @black: #1b1718; @green: #59a82a; @dark-green: #30561a; @orange: #d8793a; @blue: #06c; @light-blue: #99b2af; @brown: #6d4a25; @buff: #fbf7da; /* Links */ a, a:link, a:visited { color: @blue; } a:hover, a:active { color: @orange; } /* Stylistic elements */ .patterned () { background-color: @dark-grey; background-image: url("../images/grey-pattern.png"); color: @white; } .top-border () { border-top: 4px double @dark-grey; margin-top: 2px; } .bottom-border () { border-bottom: 4px double @dark-grey; margin-bottom: 2px; } .frame { padding: 2px 2px 2px 2px; background-color: @white; border: 1px @light-grey solid; } .rounded-corners (@radius: 8px) { border-radius: @radius; -webkit-border-radius: @radius; -moz-border-radius: @radius; } .rounded-top-corners (@radius: 8px) { border-top-left-radius: @radius; border-top-right-radius: @radius; -webkit-border-top-left-radius: @radius; -webkit-border-top-right-radius: @radius; -moz-border-radius-topleft: @radius; -moz-border-radius-topright: @radius; } .mainhead () { font-family: "Sling", "Georgia", serif; font-weight: normal; } .subhead () { font-family: "Miso", sans-serif; font-weight: normal; text-transform: uppercase; } .fancyhead () { font-family: "Hoefler Text", "Times New Roman", serif; font-weight: normal; font-style: italic; } .seriftext () { font-family: "Times New Roman", serif; font-weight: normal; font-style: normal; line-height: 1.5em; } .sansseriftext () { font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; font-style: normal; line-height: 1.5em; } /* Structure */ body>header { height: 230px; .bottom-border; .mainhead; position: relative; } #logo { display: block; position: absolute; left: 10px; top: 0; } #headline { display: block; position: absolute; left: 300px; top: 50px; } #tagline { display: block; width: 200px; position: absolute; left: 625px; top: 55px; color: @brown; font-weight: lighter; font-size: 18px; line-height: 1.2em; } nav#tabs { position: absolute; bottom: 0; left: 0; height: 23px; width: 670px; .subhead; font-size: 19px; padding-top: 12px; padding-left: 290px; div { display: block; float: left; height: 20px; padding-top: 6px; margin-left: 6px; text-align: center; vertical-align: bottom; width: 100px; border-top: 1px @light-grey dotted; border-left: 1px @light-grey dotted; border-right: 1px @light-grey dotted; border-bottom: 2px @white solid; .rounded-top-corners; background-color: @medium-grey; color: @light-grey; &.current { border-bottom: 2px @medium-grey solid} &#search { float: right; width: 210px; padding-left: 10px; margin-right: 50px; text-align: left; background-color: @light-grey; color: @dark-grey; border-bottom: 2px @light-grey solid; input { margin: -4px 0 0 10px; padding: 0; height: 14px; width: 125px; } #searchsubmit { display: none; } } } } body>section { padding: 20px 20px 20px 40px; } #banner { .patterned; height: auto; background-color: @medium-grey; min-height: 18px; .front { padding-top: 30px; } div.blurb { float: left; width: 350px; /* background-color: @medium-grey; */ color: lighten(@light-grey, 20%); margin-right: 30px; h1 { .fancyhead; color: @light-blue; font-size: 36px; } p { .seriftext; padding-top: 1em; } ul { list-style: none; .mainhead; font-size: 14px; color: @buff; margin-left: 20px; margin-top: 20px; line-height: 2em; a { text-decoration: none; color: @buff; } a:active, a:hover { color: @orange } } } div.portfolio img { .frame; } nav { h3 { .subhead; font-size: 24px; float: left; margin-right: 20px; } li { display: inline; margin: 4px 0 0 10px; line-height: 1em; .subhead; font-size: 18px; color: @light-grey; text-transform: none; } li:after { margin-left: 10px; content: "/"; } li:last-child:after { content: ""; } } } #main, #events { .top-border; clear: both; margin-bottom: 40px; > header > h1 { .fancyhead; color: @light-blue; font-size: 36px; margin-top: 20px; } article.block { display: block; float: left; width: 260px; margin-right: 50px; h2 { .subhead; color: @light-grey; font-size: 18px; text-transform: uppercase; padding-bottom: 10px; margin-top: 20px} h3 { .mainhead; font-size: inherit; color: @blue; padding-bottom: 6px} p { line-height: 1.2em; } } article.full { width: 580px; margin-top: 20px; line-height: 1.6em; h1 { .mainhead; font-size: 30px; color: @orange; margin: 20px 0 6px 0; line-height: 1.1em; border-top: 1px solid @light-grey; padding-top: 20px; } p.postdata { .subhead; color: @light-grey; margin: 0 0 20px 0; span { text-transform: none; } } h2 { .mainhead; font-size: 20px; color: @orange; margin: 20px 0 16px 0; line-height: 1.1em; } h3 { .subhead; font-size: 22px; color: @dark-grey; margin: 16px 0 12px 0; line-height: 1.1em; } p,ul,ol,blockquote { margin-bottom: 1em; } ul,ol,blockquote { margin-left: 1.5em; } blockquote { background-color: @buff; font-style: italic; padding: 6px 6px 0 6px; cite { display: block; text-align: right; &:before { content: "—"; } } } img, p object { .frame; margin: 10px 10px 10px 10px; } img.wp-smiley { border: 0; margin: 0; display: inline; } .alignright { float: right; } .alignleft { float: left; } .aligncenter { display: block; margin: 10px auto 10px auto; } p.wp-caption-text { .subhead; color: @medium-grey; margin: 0 auto 16px auto; } } } aside.sidebar { position: absolute; top: 330px; left: 650px; width: 300px; margin-left: 40px; line-height: 1.3em; section { .frame; background-color: @buff; padding: 20px 20px 20px 20px; margin: 30px 0 30px 0; } h3 { .mainhead; font-size: 18px; color: @orange; margin-bottom: 20px; } p { margin-bottom: 1em; } ul { margin-left: 1.5em; } img { .frame; margin-top: 36px; } } body > footer { clear: both; position: relative; .top-border; margin-top: 100px; padding: 40px 100px 50px 100px; height: 250px; background-color: @buff; .subhead; color: @medium-grey; section.contact { float: left; margin-right: 250px; text-transform: none; font-size: 18px; h3 { .mainhead; color: @orange; margin-bottom: 1em; } ul { list-style-type: none; li { margin-bottom: 1em; line-height: 1.2em; } } } nav { ul li { margin-bottom: 10px; img { display: inline; vertical-align: middle; } } } }