/* Theme Name: Basic Law Theme URI: http://generalthemes.com/basic-law/ Author: General Themes Author URI: http://generalthemes.com/ Description: A WordPress theme for business blogs Version: 1.0 License: GNU General Public License License URI: license.txt Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats */ /* =Structure -------------------------------------------------------------- */ body { background:#d0d0d0; color:#666; font:normal 14px "helvetica neue", helvetica, arial, times; margin: 20px; } #page { margin: 0 auto; width: 864px; background: #fff; border:12px solid #fff; -moz-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3); -webkit-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3); box-shadow: 0 2px 6px rgba( 100, 100, 100, .3); } #primary { width: 610px; float: right; padding: 0 14px 20px 0; text-align: left; overflow: hidden; } #secondary{ width: 220px; float: left; color: #000; padding: 0; list-style-type: none; overflow:hidden; font-size:12px; margin:10px 0 0 0; font-family:helvetica, arial; } #content { margin: 0; } #colophon { clear: both; display: block; width: 900px; } /* Headings */ h1,h2,h3,h4,h5,h6 { clear: both; font-weight:normal; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.625em; } /* Text elements */ p { margin-bottom: 1.625em; line-height:20px; } ul, ol { margin: 0 0 1.625em 2.5em; } ul { list-style: square; line-height:22px; } ol { list-style-type: decimal; } ol ol { list-style: upper-alpha; } ol ol ol { list-style: lower-roman; } ol ol ol ol { list-style: lower-alpha; } ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; } dl { margin: 0 1.625em; } dt { font-weight: bold; } dd { margin-bottom: 1.625em; } strong { font-weight: bold; } cite, em, i { font-style: italic; } blockquote { font-family: "Georgia", Bitstream Charter, serif; font-style: italic; font-weight: normal; margin: 0 3em; } blockquote em, blockquote i, blockquote cite { font-style: normal; } blockquote cite { color: #666; font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; letter-spacing: 0.05em; text-transform: uppercase; } pre { background: #f4f4f4; font: 13px "Courier 10 Pitch", Courier, monospace; line-height: 1.5; margin-bottom: 1.625em; overflow: auto; padding: 0.75em 1.625em; } code, kbd { font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym, dfn { border-bottom: 1px dotted #666; cursor: help; } address { display: block; margin: 0 0 1.625em; } ins { background: #fff9c0; text-decoration: none; } sup, sub { font-size: 10px; height: 0; line-height: 1; position: relative; vertical-align: baseline; } sup { bottom: 1ex; } sub { top: .5ex; } /* Links */ a, a:link { text-decoration:none; color: #800000; } a:hover { text-decoration: none; color:#000; } h1, h2, h3{font-family:"georgia", helvetica neue, helvetica, arial;} /* Increase the size of the content area for templates without sidebars */ .full-width #content, .image-attachment #content, .error404 #content { margin: 0; } /* Text meant only for screen readers */ .screen-reader-text, .assistive-text { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); } /* Alignment */ .alignleft { display: inline; float: left; } .alignright { display: inline; float: right; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /* =Header -------------------------------------------------------------- */ #branding{ width: 864px; background: #fff; height: 189px; color: #fff; position:relative; padding-bottom:14px; } #site-title { font:normal 40px "garamond", georgia, helvetica neue, helvetica, arial, times; padding: 20px 0 0 18px; margin:0; color: #fff; text-transform:uppercase; text-shadow:1px 1px #000; letter-spacing:2px; } #site-title a{ color: #fff; text-decoration: none; border-bottom:none; } #site-title a:hover{ color: #aaa; } #site-title img:hover{ filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity: 0.8; opacity: 0.8; } #site-description { font:normal 13px georgia, arial, times; font-style:italic; padding: 0 0 0 18px; margin:0; color: #fff; } /* =Menu -------------------------------------------------------------- */ #access { display: block; float: left; margin: 0 auto; width: 100%; font-family:"georgia", helvetica, arial; } #access ul { list-style: none; margin: 0; padding-left: 15px; } #access li { float: left; position: relative; } #access a { display: block; line-height: 2em; padding: 6px 1em; text-decoration: none; color:#aaa; border:none; } #access a:hover{color:#fff;} #access ul ul { box-shadow: 0 3px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; position: absolute; top: 32px; left: 0; z-index: 99999; padding:0; margin:0; } #access ul ul ul { left: 100%; top: 0; } #access ul ul a { background:#040000; line-height: 1em; padding: .5em .5em .5em 1em; width: 10em; height: auto; color:#fff; } #access ul ul :hover > a { color:#898989; } #access ul ul li a:hover { color:#aaa; } #access ul li:hover > ul { display: block; } #access ul li.current_page_item a{ color:#fff; } /* secondary menu */ #sec-access { display: block; float: right; margin: 0 auto; width: 100%; font-family:"georgia", helvetica, arial; position:absolute; bottom:14px; } #sec-access ul { list-style: none; margin: 0 6px 0 0; padding-left: 0; } #sec-access li { float: right; position: relative; margin:0 0 6px 14px; } #sec-access a { display: block; line-height: 2em; padding:4px 8px; text-decoration: none; color:#fff; border:none; text-shadow:1px 1px #000; } #sec-access a:hover{color:#aaa;} #sec-access ul ul { box-shadow: 0 3px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; position: absolute; top:30px; left: 0; z-index: 99999; background:#040000; padding:8px 0; } #sec-access ul ul ul { left: 100%; top: 0; } #sec-access ul ul a { background:#040000; line-height: 1em; padding: .5em .5em .5em 1em; width: 10em; height: auto; color:#fff; } #sec-access li:hover > a, #sec-access ul ul :hover > a, #sec-access a:focus { background:#040000; color:#aaa; } #sec-access ul ul a:hover { color:#aaa; } #sec-access ul li:hover > ul { display: block; } #sec-access ul li.current_page_item a{ color:#fff; } /* =Content -------------------------------------------------------------- */ .sticky { } .post{margin:0px 0 30px; padding-bottom:30px; border-bottom:1px solid #f0f0f0;} .entry-title { font:bold 24px "helvetica neue", helvetica, arial, times; color: #000; text-transform:capitalize; margin:0; padding:0; } .page-title{margin:0 0 14px 0;} .entry-title a{ color: #000; text-decoration: none; border:none; } .entry-title a:hover{color:#800000;} .entry-meta { clear: left; display: block; font-size:13px; overflow:hidden; padding:6px 0 0 0; font-family:georgia, arial; } .single-author .entry-meta .byline { display: none; } #content nav { display: block; overflow: hidden; } #content nav .nav-previous { float: left; width: 50%; } #content nav .nav-next { float: right; text-align: right; width: 50%; } #content #nav-above { display: none; margin-bottom:14px; } .paged #content #nav-above, .single #content #nav-above { display: block; } #nav-below { margin: 1em 0 0; } .page-link { clear: both; margin: 0 0 1em; } .page .edit-link { clear: both; } .postedon{ background:url(images/calendar.png) left center no-repeat; text-indent:20px; float:left; margin-right:10px; } .commentsico{ background:url(images/comments.png) left center no-repeat; text-indent:20px; float:left; margin-right:4px; } /* Image Attachments */ .image-attachment div.entry-meta { float: left; } .image-attachment nav { float: right; margin: 0 0 1em 0; } .image-attachment .entry-content { clear: both; } .image-attachment .entry-content .entry-attachment { background: #eee; margin: 0 0 1em; padding: 1em; text-align: center; } .image-attachment .entry-content .attachment { display: block; margin: 0 auto; text-align: center; } /* Aside Posts */ .format-aside .entry-header { display: none; } .single .format-aside .entry-header { display: block; } .format-aside .entry-content, .format-aside .entry-summary { padding-top: 1em; } .single .format-aside .entry-content, .single .format-aside .entry-summary { padding-top: 0; } /* Gallery Posts */ .format-gallery .gallery-thumb { float: left; margin: 0 1em 0 0; } /* Image Posts */ .format-image .entry-header { display: none; } .single .format-image .entry-header { display: block; } .format-image .entry-content, .format-image .entry-summary { padding-top: 1em; } .single .format-image .entry-content, .single .format-image .entry-summary { padding-top: 0; } /* =Images -------------------------------------------------------------- */ a img { border: none; } p img { margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */ } /* Resize images to fit the main content area. - Applies only to images uploaded via WordPress by targeting size-* classes. - Other images will be left alone. Use "size-auto" class to apply to other images. */ img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img, .widget-area img { max-width: 100%; /* When images are too wide for containing element, force them to fit. */ height: auto; /* Override height to match resized width for correct aspect ratio. */ } img.alignleft { margin-right: 1em; } img.alignright { margin-left: 1em; } .wp-caption { padding: .5em; text-align: center; } .wp-caption img { margin: .25em; } .wp-caption .wp-caption-text { margin: .5em; } .gallery-caption { } .wp-smiley { margin: 0; } .wp-post-image{ background: #fcfcfc; padding: 4px; border: 1px solid #c8c8c2; -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1); box-shadow: 0 0 3px rgba(0,0,0,0.1); margin:14px 0; } .wp-post-image:hover{ background: #fff; border-color: #888; } /* =Forms -------------------------------------------------------------- */ #searchform label { display: none; } #searchform input#s { width:80%; background:#fff; border:1px solid #ccc; margin:0 0 14px 14px; box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); padding: 4px 6px; } input[type=text], input#s { margin: 0 1em 0 0; width: 60%; } textarea { width: 80%; } /* Class for labelling required form items */ .required { color: #cc0033; } /* =Comments ----------------------------------------------- */ #comments{margin:20px 0;} #comments-title { color: #444; font-size: 15px; font-weight: 500; line-height: 2.6em; padding: 0 0 2.6em; } .nocomments { color: #aaa; font-size: 24px; font-weight: 100; margin: 26px 0; text-align: center; } .commentlist { list-style: none; margin: 0; } .commentlist > li.comment { background: #f6f6f6; border: 1px solid #ddd; -moz-border-radius: 3px; border-radius: 3px; margin: 0 0 14px 50px; padding: 1.625em; position: relative; width: 80%; } .commentlist .children { list-style: none; margin: 0; } .commentlist .children li.comment { background: #fff; border-left: 1px solid #ddd; margin: 1.625em 0 0; padding: 1.625em; position: relative; } .commentlist .children li.comment .fn { display: block; } .comment-meta .fn { font-style: normal; } .comment-meta { color: #666; font-size: 12px; line-height: 2.2em; } .commentlist .children li.comment .comment-meta { line-height: 1.625em; margin-left: 50px; } .commentlist .children li.comment .comment-content { margin: 1.625em 0 0; } .comment-meta a { text-decoration: none; font-weight: bold; } .comment-meta a:focus, .comment-meta a:active, .comment-meta a:hover { } .commentlist .avatar { -moz-border-radius: 50px; border-radius: 50px; padding: 0; position: absolute; top: 0; left: -90px; -webkit-box-shadow: 0 1px 2px #ccc; -moz-box-shadow: 0 1px 2px #ccc; box-shadow: 0 1px 2px #ccc; } .commentlist > li:before { content: url(images/comment-arrow.png) no-repeat; position: absolute; left: -21px; } .commentlist > li.pingback:before { content: ''; } .commentlist .children .avatar { background: none; padding: 0; top: 2.2em; left: 2.2em; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .commentlist .children .bypostauthor > article .comment-meta .vcard .avatar { } .comment-reply-link { font-size: 12px; font-weight: bold; text-decoration: none; } .comment-reply-link:hover { } /* Post author highlighting */ .commentlist > li.bypostauthor { background: #222; border-color: #000; color: #ccc; } .commentlist > li.bypostauthor .comment-meta { color: #ccc; } .commentlist > li.bypostauthor .comment-meta a { color: #ccc; text-decoration: none; font-weight: bold; } .commentlist > li.bypostauthor .comment-meta a:focus, .commentlist > li.bypostauthor .comment-meta a:active, .commentlist > li.bypostauthor .comment-meta a:hover { color: #ff4b33; } .commentlist > li.bypostauthor:before { content: url(images/comment-arrow-bypostauthor.png); } .commentlist > li.bypostauthor .comment-content a { } .commentlist > li.bypostauthor .comment-content a:focus, .commentlist > li.bypostauthor .comment-content a:active, .commentlist > li.bypostauthor .comment-content a:hover { color: #ff4b33; } .commentlist > li.bypostauthor .comment-reply-link { color: #ccc; } .commentlist > li.bypostauthor .comment-reply-link:focus, .commentlist > li.bypostauthor .comment-reply-link:active, .commentlist > li.bypostauthor .comment-reply-link:hover { color: #ff4b33; } /* Post Author threaded comments */ .commentlist > li.bypostauthor .children, .commentlist > li.bypostauthor .children .comment-meta, .commentlist > li.bypostauthor .children .comment-meta a, .commentlist > li.bypostauthor .children .comment-reply-link { color: #333; } .commentlist > li.bypostauthor .children .comment-meta a:focus, .commentlist > li.bypostauthor .children .comment-meta a:active, .commentlist > li.bypostauthor .children .comment-meta a:hover { color: #ff4b33; } .commentlist .children > li.bypostauthor { background: #222; border-color: #000; } .commentlist .children > li.bypostauthor > article, .commentlist .children > li.bypostauthor > article .comment-meta { color: #ccc; } .commentlist .children > li.bypostauthor > article .comment-meta a { color: #ccc; text-decoration: none; font-weight: bold; } .commentlist .children > li.bypostauthor > article .comment-reply-link { color: #ccc; } .commentlist .children > li.bypostauthor > article .comment-meta a:focus, .commentlist .children > li.bypostauthor > article .comment-meta a:active, .commentlist .children > li.bypostauthor > article .comment-meta a:hover, .commentlist .children > li.bypostauthor > article .comment-reply-link:focus, .commentlist .children > li.bypostauthor > article .comment-reply-link:active, .commentlist .children > li.bypostauthor > article .comment-reply-link:hover { color: #ff4b33; } .commentlist .children > li.bypostauthor > article .comment-content a { } .commentlist .children > li.bypostauthor > article .comment-content a:focus, .commentlist .children > li.bypostauthor > article .comment-content a:active, .commentlist .children > li.bypostauthor > article .comment-content a:hover { color: #ff4b33; } /* Comment Form */ #respond { background: #ddd; border: 1px solid #d3d3d3; -moz-border-radius: 3px; border-radius: 3px; color: #444; margin: 0 0 1.625em; padding: 1.625em; position: relative; width:90%; } #respond a { } #respond a:focus, #respond a:active, #respond a:hover { } #respond input[type="text"], #respond textarea { background: #fff; border: 4px solid #eee; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: inset 0 1px 3px #ccc; -moz-box-shadow: inset 0 1px 3px #ccc; box-shadow: inset 0 1px 3px #ccc; position: relative; padding: 10px; text-indent: 80px; } #respond .comment-form-author, #respond .comment-form-email, #respond .comment-form-url, #respond .comment-form-comment { position: relative; } #respond .comment-form-author label, #respond .comment-form-email label, #respond .comment-form-url label, #respond .comment-form-comment label { background: #eee; -webkit-box-shadow: 1px 1px 2px #ccc; -moz-box-shadow: 1px 1px 2px #ccc; box-shadow: 1px 1px 2px #ccc; color: #555; display: inline-block; font-size: 13px; padding: 4px 10px; position: relative; top: 41px; left: 4px; min-width: 60px; z-index: 1; /* text-shadow: 1px 1px 1px #fff; */ } #respond input[type="text"]:focus, #respond textarea:focus { text-indent: 0; z-index: 1; } #respond textarea { width: 95%; } #respond .comment-form-author .required, #respond .comment-form-email .required { color: #bd3500; font-size: 22px; font-weight: bold; position: absolute; top: 52px; left: 75%; z-index: 1; } #respond .comment-notes, #respond .logged-in-as { font-size: 13px; } #respond .logged-in-as a { color: #333; font-weight: bold; text-decoration: none; } #respond p { margin: 10px 0; } #respond .form-submit { float: right; margin: -20px 0 10px; } #respond input#submit { background:#676767; border: none; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); box-shadow: 0px 1px 2px rgba(0,0,0,0.3); color: #eee; cursor: pointer; font-size: 15px; margin: 20px 0; padding: 5px 42px 5px 22px; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); position: relative; left: 30px; } #respond input#submit:active, #respond input#submit:hover { background: #555; color: #fff; } #respond #cancel-comment-reply-link { color: #666; margin-left: 10px; text-decoration: none; } #respond .logged-in-as a:hover, #respond #cancel-comment-reply-link:hover { text-decoration: underline; } .commentlist #respond { margin: 1.625em 0 0; width: auto; } #reply-title { color: #333; font-size: 14px; font-weight: bold; } #cancel-comment-reply-link { color: #888; display: block; font-size: 10px; font-weight: normal; line-height: 2.2em; letter-spacing: 0.05em; position: absolute; top: 1.1em; right: 1.625em; text-decoration: none; text-transform: uppercase; } #cancel-comment-reply-link:focus, #cancel-comment-reply-link:active, #cancel-comment-reply-link:hover { color: #ff4b33; } #respond label { line-height: 2.2em; } #respond input[type=text] { display: block; width: 75%; } #respond p { font-size: 12px; } p.comment-form-comment { margin: 0; } .form-allowed-tags { display: none; } /* =Widgets -------------------------------------------------------------- */ .widget-title{ font:normal 12px helvetica, arial, verdana; text-align: left; padding: 8px 14px; margin: 0; text-transform: uppercase; color: #333; border-top:1px solid #eee; border-bottom:1px solid #eee; } .widget { display: block; } .widget-area .widget_search { overflow: hidden; border-bottom:1px solid #fff; } .widget-area .widget_search input { float: left; } .widget-area ul{ background-color: #fff; list-style-type: none; margin: 0; padding: 12px; } .widget-area ul ul{ margin: 0 14px 0 14px; padding: 0; list-style-type: square; list-style-position: inside; color: #797979; border-right: none; } .tagcloud{margin:14px; line-height:24px;} .tweets li{margin-bottom:14px;} /* =Footer -------------------------------------------------------------- */ #colophon { clear: both; width: 864px; background: #fff url(images/footer.jpg) no-repeat; height: 189px; color: #fff; overflow:hidden; color: #555; padding: 0; margin: 14px auto 0; font-size:12px; padding: 0; word-spacing:1px; border-top:12px solid #fff; } #site-generator{ color:#fff; margin:12px 0 0 30px; } #colophon a { border-bottom:none; text-decoration: none; color:#aaa; } #colophon a:hover { color:#fff; } #logoinfo{ margin:30px 0 0 30px; } #logoinfo h3{ color:#fff; font-size:22px; margin:0; padding:0; } #logoinfo h3 a{ color:#fff; margin:0; padding:0; } #logoinfo p{color:#fff;} #logoinfo p.address{margin:0; padding:0;} #logoinfo p.legal{padding:45px 0 0 0;}