/* Theme Name: B & W Theme URI: http://ali.uparw.com/demo Description: Custom Theme for WordPress Author: Ali Siddique Author URI: http://ali.uparw.com/ Version: 1.0 Tags: black,white ,blue License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html */ /* #Reset & Basics (Inspired by E. Meyers) ================================================== */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* #Basic Styles ================================================== */ body { background: #fff; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:100%; color: #444; -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ -webkit-text-size-adjust: 100%; } /* #Typography ================================================== */ h1, h2, h3, h4, h5, h6 { color: #181818; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: normal; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } h1 { font-size: 35px; line-height: 40px; } h2 { font-size: 25px; line-height: 30px; } h3 { font-size: 22px; line-height: 24px; } h4 { font-size: 20px; line-height: 20px; } h5 { font-size: 17px; line-height: 20px; } h6 { font-size: 14px; line-height: 18px; } .subheader { color: #777; } p { margin: 0 0 20px 0; } p img { margin: 0; } p.lead { font-size: 21px; line-height: 27px; color: #777; } em { font-style: italic; } strong { font-weight: bold; color: #333; } small { font-size: 80%; } /* Blockquotes */ blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } blockquote cite { display: block; font-size: 12px; color: #555; } blockquote cite:before { content: "\2014 \0020"; } blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } /* #Links ================================================== */ a, a:visited { color: #333; text-decoration: none; outline: 0; } a:hover, a:focus { color: #000; } p a, p a:visited { line-height: inherit; } /* #Lists ================================================== */ ul, ol { margin-bottom: 20px; } ul { list-style: none outside; } ol { list-style: decimal; } ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } ul.square { list-style: square outside; } ul.circle { list-style: circle outside; } ul.disc { list-style: disc outside; } ul ul, ul ol, ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } ul ul li, ul ol li, ol ol li, ol ul li { margin-bottom: 6px; } li { line-height: 18px; margin-bottom: 12px; } ul.large li { line-height: 21px; } li p { line-height: 21px; } /* #Images ================================================== */ img.scale-with-grid { max-width: 100%; height: auto; } /* #Buttons ================================================== */ .button, button, input[type="submit"], input[type="reset"], input[type="button"] { background: #eee; /* Old browsers */ background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */ background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */ background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */ background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */ background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */ background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */ border: 1px solid #aaa; border-top: 1px solid #ccc; border-left: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #444; display: inline-block; font-size: 11px; font-weight: bold; text-decoration: none; text-shadow: 0 1px rgba(255, 255, 255, .75); cursor: pointer; margin-bottom: 20px; line-height: normal; padding: 8px 10px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; } .button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover { color: #222; background: #ddd; /* Old browsers */ background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */ background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */ background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */ background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */ background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */ background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */ border: 1px solid #888; border-top: 1px solid #aaa; border-left: 1px solid #aaa; } .button:active, button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active { border: 1px solid #666; background: #ccc; /* Old browsers */ background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */ background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */ background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */ background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */ background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */ background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ } .button.full-width, button.full-width, input[type="submit"].full-width, input[type="reset"].full-width, input[type="button"].full-width { width: 100%; padding-left: 0 !important; padding-right: 0 !important; text-align: center; } /* Fix for odd Mozilla border & padding issues */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /* #Forms ================================================== */ form { margin-bottom: 20px; } fieldset { margin-bottom: 20px; } input[type="text"], input[type="password"], input[type="email"], textarea, select { border: 1px solid #ccc; padding: 6px 4px; outline: none; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; color: #777; margin: 0; width: 210px; max-width: 100%; display: block; margin-bottom: 20px; background: #fff; } select { padding: 0; } input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus { border: 1px solid #aaa; color: #444; -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); box-shadow: 0 0 3px rgba(0,0,0,.2); } textarea { min-height: 60px; } label, legend { display: block; font-weight: bold; font-size: 13px; } select { width: 220px; } input[type="checkbox"] { display: inline; } label span, legend span { font-weight: normal; font-size: 13px; color: #444; } /* #Misc ================================================== */ .remove-bottom { margin-bottom: 0 !important; } .half-bottom { margin-bottom: 10px !important; } .add-bottom { margin-bottom: 20px !important; } /* Responsive images */ .entry-content img, .comment-content img, .widget img { max-width: 100%; /* Fluid images for posts, comments, and widgets */ } img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } img.size-full, img.size-large, img.header-image, img.wp-post-image { max-width: 100%; height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } /* Make sure videos and embeds fit their containers */ embed, iframe, object, video { max-width: 100%; } .entry-content .twitter-tweet-rendered { max-width: 100% !important; /* Override the Twitter embed fixed width */ } /* Images */ .alignleft { float: left; } .alignright { float: right; } .aligncenter { display: block; margin-left: auto; margin-right: auto; } .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image { /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); } .wp-caption { max-width: 100%; /* Keep wide captions from overflowing their container. */ padding: 4px; } .wp-caption .wp-caption-text, .gallery-caption, .entry-caption { font-style: italic; font-size: 12px; font-size: 0.857142857rem; line-height: 2; color: #757575; } img.wp-smiley, .rsswidget img { border: 0; border-radius: 0; box-shadow: none; margin-bottom: 0; margin-top: 0; padding: 0; } .entry-content dl.gallery-item { margin: 0; } .gallery-item a, .gallery-caption { width: 90%; } .gallery-item a { display: block; } .gallery-caption a { display: inline; } .gallery-columns-1 .gallery-item a { max-width: 100%; width: auto; } .gallery .gallery-icon img { height: auto; max-width: 90%; padding: 5%; } .gallery-columns-1 .gallery-icon img { padding: 3%; } .sticky-style {} .my-style{} /* ------------------ */ body{ font-size:100%; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; background-color:#333; } .wrapper{ margin:0 auto; background-color:#f7f7f7; } .headerwrapper{ } .logo{ width:100px; } .top_header{ border-bottom:3px solid #E2E2E2; background-color:#f7f7f7; } .middle_header{ border-bottom:3px solid #E2E2E2; background-color:#f7f7f7; } .bottom_header{ border-bottom:3px solid #E2E2E2; background-color:#00AEDB; } .hero_unit{ background-color: #00AEDB; font-size: 18px; font-weight: 200; line-height: 100px; margin-bottom: 30px; padding: 30px; } .hero_unit h1 { font-size: 4em; margin-bottom: 10px; color:#FFF; } .hero_unit li { line-height: 30px; } .hero_unit p{ line-height:30px; font-size:0.75em; padding-right:30px; margin-bottom:30px; } .menu {} .menu ul { margin:0; padding:0; } .menu li{ display: inline-block; list-style: none outside none; margin-top: 10px; padding: 0 10px; text-decoration: none; } .menu li a{ text-decoration:none; color:#00AEDB; font-size:18px; } .menu li a:hover{ color:#020202; } .readmore_btn{ background: none repeat scroll 0 0 #00AEDB; border: medium none; color: #FFFFFF; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; line-height: 36px; outline: medium none; padding: 0 15px; position: relative; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); transition: background-color 0.5s linear 0s; white-space: nowrap; margin-bottom:10px; clear:both; float:right; } .readmore_btn:hover{ background-color:#000; color:#FFF; } .readmore_btn a{ text-align:center; text-decoration:none; color:#FFF; } .nav-previous{ float:left; background: none repeat scroll 0 0 #00AEDB; border: medium none; color: #FFFFFF; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; line-height: 36px; outline: medium none; padding: 0 15px; position: relative; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); transition: background-color 0.3s linear 0s; white-space: nowrap; margin-bottom:10px; } .nav-previous:hover{ background-color:#D6D6D6; } .nav-next{ float:right; background: none repeat scroll 0 0 #00AEDB; border: medium none; color: #FFFFFF; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; line-height: 36px; outline: medium none; padding: 0 15px; position: relative; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); transition: background-color 0.3s linear 0s; white-space: nowrap; margin-bottom:10px; } .nav-next:hover{ background-color:#D6D6D6; } .post_entry{ background-color:#f7f7f7; margin-bottom:10px; } .post_title{ border-bottom:3px solid #E2E2E2; } .post_title h2{ font-size:24px; padding-left:10px; color:#00AEDB; } .post_title h2 a{ color:#00AEDB; } .post_info{ background-color:#00AEDB; padding:5px 10px; color:#FFF; } .post_content{ float:left; width:100%; clear:both; border-bottom:3px solid #E2E2E2; margin-bottom:10px; margin-top:10px; } .post_tumb{ float:left; padding-right:10px; } .post_tumb_single img{ width:100%; } .post_text{ position:relative; } .footer{ margin-bottom:10px; font-size:13px; } .footer h2{ font-size:18px; border-bottom:3px solid #292728; color:#000; } .footer01, .footer02, .footer03, .footer04 ,{ padding-left:10px; padding-right:10px; color:#000; font-size:14px; font-weight:normal; } .footer01 a,.footer02 a,.footer03 a,.footer04 a{ color:#000; } .copyright{ background-color:#00AEDB; border-top:3px solid #292728; padding:10px; font-size:10px; color:#FFF; } .right_sidebar{ width:100%; } .right_sidebar h2{ font-size:24px; padding-left:10px; color:#00AEDB; border-bottom:3px solid #E2E2E2; }