option['pagestyle']; $align = $durable->option['alignment']; switch($page_type){case "ripped":$header_graphic = "header_tear.png";$body_graphic = "body_tear.png";$graphic_height = "22px";break;case "solid":$header_graphic = "spacer.gif";$body_graphic = "spacer.gif";$graphic_height = "35px";break;} header("content-type: text/css"); ?> /* Theme Name: Durable Theme URI: http://cssdev.com/durable Description: Durable is a wordpress theme by Andy Peatling with a difference, let your readers be in control of colors and settings.
Check for Updates » Version: v0.2.1 Author: Andy Peatling Author URI: http://cssdev.com/ NOTE: Due to the way the color selector works, grouping of user modifiable declarations is not possible. This means some declaration redundancy is inevitable. */ /** * Structural Components */ * { outline: none; } body { margin: 0; padding: 0 0 10px 0; width: 90%; min-width: 760px; line-height: 135%; color: #666; background: #fff; margin: 0 auto 0 auto; font-family: verdana, tahoma, arial, sans-serif; font-size: 13px; } #header { height: 87px; padding: 20px 0 0 0; background-color: option['header_bgclr']; ?>; color: option['header_txtclr']; ?>; text-align: center; margin: 0 0 10px 0; } body > #header { height: 95px; background-image: url(images/); } #topMenu { height: 20px; padding: 5px; text-align: center; font-family: georgia, times, serif; color: option['menulinks_lnktxtclr']; ?>; font-size: 16px; margin: 10px 0 0 0; } #overview { background-color: option['footer_bgclr']; ?>; color: option['footer_txtclr']; ?>; padding: 0 15px 30px 15px; margin: 10px 0 0 0; } #page > #overview { padding: 15px 15px 30px 15px; } #mainContent { background: option['maincontent_bgclr']; ?>; padding: 0 20px 0 20px; margin: 10px 0 10px 0; color: option['maincontent_txtclr']; ?>; } #page > #mainContent { padding: 0 20px 20px 20px; margin: 20px 0 15px 0; } .menuSection { padding: 20px 20px 0 20px; margin: 0 0 20px 0; height: auto; background: option['menusections_bgclr']; ?>; color: option['menusections_txtclr']; ?>; } #sidebar > .menuSection { padding: 20px 20px 0 20px; } #footer { text-align: center; } .column { float: left; width: 55%; margin: 0 2% 0 2%; } .menuSection .column { width: 28%; } .column#postsColumn { width: 35% } #links .column { width: auto; margin-right: 15px; } #sidebar div.holder { float: left; margin: 0 30px 0 0; list-style-type: none; } .navigation { text-align: center; margin: 0 0 15px 0; } .postMeta { float: right; width: 180px; margin: 45px 10px 15px 30px; } .theDate { width: 45px; height: 43px; margin: 0 10px 10px 0; padding: 3px 0 0 0; float: left; text-align: center; font-family: georgia, times, serif; background: option['datestags_bgclr']; ?>; color: option['datestags_txtclr']; ?>; } .theDate .theMonth, .theDate .theDay { display: block; font-size: 14px; } .theDate .theDay { font-size: 25px; margin: -2px 0 0 0; } #overview .date, #search .date, .postMeta { font-size: 11px; } .entry { clear: left; margin: 10px 0 0 0; } .post { margin-right: 220px; text-align: ; } .mini-post { text-align: ; float: left; width: 45%; margin: 30px 4% 0 0; } #commentForm { padding: 0 20px 0 20px; background: option['comments_rplyfrmbgclr']; ?>; margin: 30px 0 0 0; } #colourControl { position: absolute; width: 650px; height: 360px; background: url(images/controlmainback.gif) repeat-y top left #fff; border: 3px solid #ddd; overflow: hidden; } #colourControl #headerOptions { background: url(images/controlheader.gif) repeat-x #1676f9; font-weight: bold; cursor: move; height: 26px; color: #fff; padding: 8px 0 0 15px; } #headerOptions span { position: absolute; right: 10px; top: 8px; } .topTear, .bottomTear { height: ; } .topTear { margin: -20px -20px 15px -20px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/', sizingMethod=crop ); } .topTear[class] { filter: none; background: url(images/) repeat-x left top; } .bottomTear { margin: 15px -20px -20px -20px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/', sizingMethod=crop ); } .bottomTear[class] { filter: none; background: url(images/) repeat-x; } .align-right { text-align: right; } /** * Headings */ h1, h2, h3, h4, h5, h6 { line-height: 110%; } h1 { margin: 0; font-size: 32px; font-family: "Trebuchet MS", arial, verdana, tahoma, sans-serif; font-weight: normal; cursor: pointer; } h2 { margin: 2px 0 0 0; font-family: "Trebuchet MS", arial, verdana, tahoma, sans-serif; font-size: 20px; } .menuSection h2 { color: option['menusections_hdgclr']; ?>; margin: 0 0 15px 0; } .menuSection h3 { font-size: 14px; margin: 10px 0 0 0; } #links h2 { margin: 0; } h2.pagetitle { font-family: georgia, times, serif; font-size: 20px; color: option['maincontent_txtclr']; ?>; text-align: center; margin: 0 0 8px 0; } #mainContent h3, h3#comments { font-family: "Trebuchet MS", arial, verdana, tahoma, sans-serif; color: #3fbcec; /* NEEDS TO BE SELECTABLE */ margin: 15px 0 10px 0; font-size: 18px; } #overview h2 { color: option['footer_hdgclr']; ?>; } #commentForm h2 { color: option['comments_rplyfrmhdgtxtclr']; ?>; margin: 0 0 15px 0; } #colourControl h4 { float: right; font-family: georgia, times, serif; font-size: 18px; width: 50%; text-align: center; margin: 15px 0 0 0; padding: 0 10px 0 0; } /** * Anchors */ a { color: option['maincontent_lnktxtclr']; ?>; } a:visited { color: option['maincontent_lnktxtclr']; ?>; } a:hover { background: option['maincontent_lnkhvrbgclr']; ?>; color: option['maincontent_lnkhvrclr']; ?>; } h1 a { color: option['header_txtclr']; ?>; text-decoration: none; } h1 a:visited { color: option['header_txtclr']; ?>; text-decoration: none; } h1 a:hover { color: option['header_txtclr']; ?>; text-decoration: none; background: none; } #topMenu a { color: option['menulinks_lnktxtclr']; ?>; padding: 3px 7px 7px 7px; text-decoration: none; font-size: 16px; margin: 0 5px 0 5px; } #topMenu a:hover { background-color: option['menulinks_lnkhvrbgclr']; ?>; color: option['menulinks_lnkhvrclr']; ?>; } #topMenu a.menuSelected { /* Need to duplicate for colormod */ background-color: option['menulinks_lnkhvrbgclr']; ?>; color: option['menulinks_lnkhvrclr']; ?>; } .menuSection a { color: option['menusections_lnktxtclr']; ?>; } .menuSection a:visited { color: option['menusections_lnktxtclr']; ?>; } .menuSection a:hover { background: option['menusections_lnkhvrbgclr']; ?>; color: option['menusections_lnkhvrclr']; ?>; } #mainContent a.postHeading { text-decoration: none; color: option['maincontent_hdgclr']; ?>; } #mainContent a.postHeading:hover { background: none; color: option['maincontent_hdgclr']; ?>; } .categories a { font-size: 11px; background: option['datestags_bgclr']; ?>; color: option['datestags_txtclr']; ?>; padding: 2px 5px 2px 5px; text-decoration: none; } .categories a:hover { color: option['datestags_lnkhvrtxtclr']; ?>; background: option['datestags_lnkhvrbgclr']; ?>; } .categories a:visited { color: option['datestags_txtclr']; ?>; } .categories#mCats a { font-size: 14px; font-family: georgia, times, serif; margin: 0 5px 5px 0; padding: 2px 6px 2px 6px; display: block; float: left; } .numComments a { color: #666; /* NEED TO MAKE THIS SELECTABLE */ font-size: 16px; font-family: georgia, times, serif; margin: 6px 0 0 0; } .numComments a:visited { color: #666; } .numComments a:hover { background: #666; /* NEED TO MAKE THIS SELECTABLE */ color: white; } .alt a { color: option['comments_rplylnktxtclr']; ?>; } .alt a:hover { background: option['comments_rplylnkhvrbgclr']; ?>; color: option['comments_rplylnkhvrtxtclr']; ?>; } #colourControl dd a:hover, #saveSettings a:hover { color: #fff; background: #555; } #overview a { color: option['footer_lnktxtclr']; ?>; } #overview a:hover { background: option['footer_lnkhvrbgclr']; ?>; color: option['footer_lnkhvrtxtclr']; ?>; } #overview .date, #overview .date a { color: inherit; } #overview .date a, #overview .date a:hover { text-decoration: none; background: none; } #colourControl dt a, #colourControl dt a:visited { color: #f36d21; } #colourControl dt a:hover { color: #fff; background: #f36d21; } #colourControl dd a, #colourControl dd a:visited, #saveSettings a { color: #555; } #colourControl #saveSettings { position: absolute; bottom: 0; left: 0; width: 44%; text-align: right; padding: 3px; font-size: 11px; } /** * Lists */ #topMenu ul { list-style-type: none; width: 100%; margin: 0; padding: 0; } #topMenu ul li { display: inline; font-size: 11px; } div.holder ul { margin: 0 0 0 30px; padding: 0; } .cats { margin: 0 0 20px 0; } #overview li, #search li { margin: 0 0 5px 0; } ol.commentlist { list-style-type: none; margin: 0; padding: 0; } ol.commentlist h4 { font-size: 14px; margin: 0 0 5px 0; } ol.commentlist li { padding: 15px; } .alt { background: option['comments_rplybgclr']; ?>; margin: 0 0 10px 0; } #colourControl dl { position: absolute; top: 40px; left: 6px; width: 50%; padding: 0 0 15px 15px; } #colourControl dt { color: #f36d21; font-size: 14px; margin: 3px 0 3px 0; } #colourControl dd { font-size: 10px; margin: 3px 0 3px 15px; } /** * Paragraphs */ #header p { margin: 5px 0 15px 0; } #header > p { margin: 5px 0 5px 0; } .postMeta p { clear: both; margin: 5px 0 5px 0; padding: 0 0 7px 0; border-bottom: 1px solid #ddd; } /** * Tables */ .menuSection td { border: 1px dotted option['menusections_txtclr']; ?>; text-align: center; padding: 2px; } .menuSection td.pad, .menuSection tfoot td { border: none; } .menuSection table caption { font-weight: bold; font-family: georgia; font-size: 14px; color: option['menusections_lnktxtclr']; ?>; } /** * Images */ img { vertical-align: middle; border: none; } .entry img { float: left; margin: 5px 20px 0 0; } .entry img.wp-smiley { float: none; margin: 0; vertical-align: absmiddle; } img.float-right { float: right; margin: 0 0 0 20px; } img.no-float { float: none; margin: 15px; display: block; } /** * Forms */ label { display: block; font-size: 11px; } input, select, textarea { width: 98%; margin: 0 0 10px 0; } input#submit, input#livesearchButton { width: auto; } #colourControl input { margin: 0; } /** * Misc Elements */ hr { clear: both; visibility: hidden; margin: 0; } code { display: block; padding: 0 15px 0 15px; border-left: 5px solid option['maincontent_txtclr']; ?>; } blockquote { padding: 0 15px 0 15px; border-left: 5px solid option['maincontent_txtclr']; ?>; text-align: justify; }