/* Theme Name: Ally Morning Wordpress Theme URI: http://www.allydirectory.com/wpthemes/ Description: Ally Morning Wordpress Theme By AllyDirectory.com Version: 1.0 Author: Ally Directory Author URI: http://www.allydirectory.com Tags: two columns, fixed width, widget ready, valid CSS, valid XHTML, right sidebar, simple, clean, morning, ally // Copyright (c) 2008 Ally Directory. All rights reserved. // http://www.allydirectory.com // // Released under the GPL license // http://www.opensource.org/licenses/gpl-license.php // // ********************************************************************** // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // ********************************************************************** */ body { margin: 0; padding: 0; background: #84ac3a url(images/bck.jpg); font-family: Tahoma, Arial; font-size: 11px; color: #333; } .clear {clear: both;} #page { margin: 0 auto; padding: 0 16px; width: 898px; background: repeat-y url(images/bckpage.jpg); } #header { margin: 0 0 1px 0; height: 178px; background: no-repeat url(images/bckheader.jpg); font-family: "Georgia"; font-style: italic; } #header h1 { margin: 0 0 0 45px; padding: 45px 0 0 0; font-size: 37px; font-weight: normal; } #header h1 a { color: #fff; text-decoration: none; } #header h2 { margin: 0 0 0 75px; padding: 0; font-size: 33px; font-weight: normal; color: #fff; } #menu { margin: 0; padding: 0; list-style-type: none; height: 37px; line-height: 37px; background: repeat-x url(images/bckmenu.gif); } #menu li { float: left; padding: 0 35px; background: left top no-repeat url(images/bckmenuli.gif); font-weight: bold; } #menu li.first { background: none; } #menu li a { color: #fff; text-decoration: none; } #container { margin: 30px 10px 30px 20px; } #content { float: left; width: 630px; } #content .post { clear: both; margin: 0 0 50px 0; position: relative; width: 630px; } #content .post h2 { margin: 0 0 0 100px; padding: 0; font-family: Georgia; font-size: 20px; font-weight: normal; } #content .post h2 a { color: #036; text-decoration: none; } #content .date { position: absolute; left: 0; top: -15px; padding: 5px 0 0 0; width: 88px; height: 60px; background: no-repeat url(images/bckdate.gif); font-family: Georgia; font-size: 25px; text-align: center; color: #fff; } #content .metatop { margin: 0 0 0 100px; } #content .metatop a { color: #006ab0; text-decoration: none; } #content .entry { clear: both; margin: 20px 0; } #content .entry a { color: #006ab0; text-decoration: underline; } #content .metabottom { clear: both; position: relative; height: 45px; background: no-repeat url(images/bckmetabottom.gif); font-size: 10px; font-weight: bold; color: #fff; } #content .metabottom a { color: #fff; text-decoration: none; } #content .metabottom .comments { position: absolute; top: 25px; left: 515px; } #content .metabottom .by { position: absolute; top: 25px; left: 35px; } #content .metabottom .rss { position: absolute; left: 10px; top: 21px; border: none; } #sidebar { float: right; width: 225px; } #sidebar ul { margin: 0; padding: 0; list-style-type: none; } #sidebar ul ul { margin: 0; } #sidebar ul ul ul { margin: 0 0 0 15px; } #sidebar li { margin: 0 0 10px 0; padding: 20px 10px; background-color: #edf7d0; border: #d5e5c5 1px solid; } #sidebar li li { margin: 5px 0; padding: 3px 0 3px 15px; background: left center no-repeat url(images/bcksidebarlili.gif); border: none; } #sidebar a { color: #333; text-decoration: none; } #sidebar a:hover { text-decoration: underline; } #sidebar h3 { margin: 0 0 10px 0; padding: 0 0 11px 0; font-size: 11px; background: right bottom no-repeat url(images/bcksidebarh3.gif); } #searchbox { margin: 0 0 10px 0; padding: 20px 10px; background-color: #edf7d0; border: #d5e5c5 1px solid; } #searchbox label { display: block; margin: 0 0 10px 0; font-weight: bold; cursor: pointer; } #searchtext { display: block; margin: 0; padding: 4px 0 0 0; border: #ccc 1px solid; background: repeat-x url(images/bcksearchtext.gif); width: 175px; height: 17px; font-family: Tahoma, Arial; font-size: 11px; color: #333; } #footer { margin: 0 0 1px 0; height: 80px; line-height: 30px; background: #a8dfff repeat-x url(images/bckfooter.gif); text-align: center; color: #fff; } #footer a { color: #fff; text-decoration: underline; } .navig { margin: 15px 0; padding: 10px; font-size: 11px; color: #000; } .navig a { color: #000; font-weight: bold; text-decoration: none; } textarea#comment, input#author, input#email, input#url { font-family: Arial; font-size: 11px; background-color: #eee; border: #555 1px solid; vertical-align: middle; color: #000; } textarea#comment { width: 400px !important; } h2#comments, h2#postcomment { clear: both; margin: 0 0 10px 0; padding: 0; font-size: 15px; text-transform: lowercase; color: #036; } h2#comments a { color: #036; text-decoration: none; } #commentlist a { color: #006ab0; text-decoration: underline; } .link a { color: #006ab0; text-decoration: underline; } /* formattings for few commonly used tags */ acronym, abbr { border-bottom: 1px dashed #333; } a abbr { border: none; } acronym, abbr, span.caps { font-size: 90%; letter-spacing: .07em; } acronym, abbr { cursor: help; } blockquote { border-left: 5px solid #84ac3a; margin-left: 1.5em; padding-left: 5px; } cite { font-size: 90%; font-style: normal; } /* Begin Images */ p img { padding: 0; max-width: 100%; } /* Using 'class="alignright"' on an image will (who would've thought?!) align the image to the right. And using 'class="centered', will of course center the image. This is much better than using align="center", being much more futureproof (and valid) */ img.centered { display: block; margin-left: auto; margin-right: auto; } img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; } img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; } .alignright { float: right; } .alignleft { float: left } /* End Images */ /* Captions */ .aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; } .wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } .wp-caption img { margin: 0; padding: 0; border: 0 none; } .wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; } /* End captions */ /* Captions */ .aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; } .wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } .wp-caption img { margin: 0; padding: 0; border: 0 none; } .wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; } /* End captions */