/* Theme Name: bhost Theme URI: http://getmasum.esy.es/bhost Author: Masum Billah Author URI: http://getmasum.esy.es/ Description: Responsive WordPress Theme.This theme made with Responsive Framework Skeleton v2.0.4. Used some css3 effects, Scroll Top option and many more. Version: 1.0.2 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: bhost Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 Normalize 2.0 Typography 3.0 Elements 4.0 Forms 5.0 Navigation 5.1 Links 5.2 Menus 6.0 Accessibility 7.0 Alignments 8.0 Clearings 9.0 Widgets 10.0 Content 10.1 Posts and pages 10.2 Asides 10.3 Comments 11.0 Infinite scroll 12.0 Media 12.1 Captions 12.2 Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 Skeleton --------------------------------------------------------------*/ @import url("css/normalize.css"); @import url("css/skeleton.css"); @import url("css/hover.css"); /*-------------------------------------------------------------- 1.0 Google fonts --------------------------------------------------------------*/ @import url(http://fonts.googleapis.com/css?family=Roboto); @import url(http://fonts.googleapis.com/css?family=Roboto+Slab); /*-------------------------------------------------------------- 1.0 Normalize --------------------------------------------------------------*/ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; font-family: 'Roboto', sans-serif; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; text-decoration: none; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 3.5em; margin: 0 0 0.4em; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*-------------------------------------------------------------- 2.0 Typography --------------------------------------------------------------*/ body, button, input, select, textarea { color: #404040; font-size: 16px; font-size: 1rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; font-family: 'Roboto Slab', serif; } p { font-size: 15px; margin-bottom: 1.0em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- 3.0 Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #eaeaea; /* Fallback for when there is no custom background color defined. */ } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style-type: circle; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- 4.0 Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, .8); font-size: 12px; font-size: 0.75rem; line-height: 1; padding: .6em 1em .4em; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px; } textarea { padding-left: 3px; width: 100%; } /*-------------------------------------------------------------- 5.0 Table --------------------------------------------------------------*/ table { font-family: 'Arial'; margin: 25px auto; border-collapse: collapse; border: 1px solid #eee; border-bottom: 2px solid #d10046; box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.05), 0px 20px 20px rgba(0, 0, 0, 0.05), 0px 30px 20px rgba(0, 0, 0, 0.05); } table tr:hover { background: #f4f4f4; } table tr:hover td { color: #555; } th:first-child, td:first-child{ padding-left: 5%; } th:last-child, td:last-child{ padding-right: %; } table th, table td { color: #999; border: 1px solid #eee; padding: 12px 35px; border-collapse: collapse; text-align: center; } table th { background: #509bb7; color: #fff; text-transform: uppercase; font-size: 12px; } table th.last { border-right: none; } /*-------------------------------------------------------------- 5.0 Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- 5.1 Links --------------------------------------------------------------*/ a { color: royalblue; } a:visited { color: purple; } a:hover, a:focus, a:active { color: midnightblue; } a:hover{color: #d10046;} a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } .container{ box-shadow: 0 0 16px #524963; -moz-box-shadow: 0 0 16px #524963; -webkit-box-shadow: 0 0 16px #524963; } /*-------------------------------------------------------------- 5.2 Header --------------------------------------------------------------*/ #masthead{ text-align: center; background: #333333; color: #fff; } .site-branding{padding: 3.5em;} .site-branding h1.site-title{ margin-bottom: 5px; font-size: 2.2em; } .site-branding h1.site-title a{ font-size: 2.2em; text-decoration: none; color: #fff; -webkit-transition: all .25s linear; -moz-transition: all .25s linear; -o-transition: all .25s linear; transition: all .25s linear; position: relative; display: inline-block; } .site-branding h1.site-title a:hover{ color: #d10046; -webkit-transform: none; transform: none; } .site-branding .site-description{ font-size: 1.5em; font-family: 'Roboto', sans-serif; } /*-------------------------------------------------------------- 5.2 Menus --------------------------------------------------------------*/ .main-navigation { background:#222; display: table; width: 100%; } .main-navigation { list-style:none; margin-left: 0px; padding:0px; } .main-navigation ul{ margin:0; padding:0; } .main-navigation a{ font-size: 1.5em; color: white; display: block; text-decoration: none; transition: all 0.5s ease 0s; } .main-navigation li{ float:left; position:relative; list-style-type: none; margin-bottom: 0; padding-right: 5px; margin-right: 5px; } .main-navigation li:first-child{ border-left:0px solid; } .main-navigation li:last-child{ border-right:0px solid; } .main-navigation li a{ display:block; text-decoration:none; padding: 13px 20px; color:#fff; } .main-navigation .current-menu-item{ background: #509bb7; color: ; } .main-navigation .sub-menu, .main-navigation .sub-menu .sub-menu{ position:absolute; left:-99999px; list-style:none; } .main-navigation ul li:hover ul{ left:0px; top:48px; } .main-navigation .sub-menu li:hover .sub-menu{ left:201px; top:-4px; } .main-navigation li ul li{ float:left; width:200px; margin: 0; text-align: left; margin:3px; margin-top: 0; margin-bottom: 0px; border-bottom: 1px solid #ddd; } .main-navigation li ul li:last-child{border: none;} .main-navigation li ul{ background:#fff; border: 1px solid #ddd; padding-top: 3px; padding-bottom: 3px; } .main-navigation li ul li a{ color: #444; display: block; font-size: 14px; padding: 9px 15px; text-decoration: none; text-transform: none; width: 200px; } .main-navigation li ul li a:hover{ background:; color: #fff; } /* Small menu. */ .menu-toggle { display: none; } @media screen and (max-width: 600px) { .menu-toggle, .main-navigation.toggled .nav-menu { display: block; font-size: 1.3em; } .main-navigation ul { display: none; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } /*-------------------------------------------------------------- 5.2 Content --------------------------------------------------------------*/ #content,.site-content{ background: #f7f7f7; padding: 10px; border-top: 8px solid #dddddd; border-bottom: 8px solid #dddddd; } article.single-post{ border-bottom: 3px solid #ddd; padding-bottom:5em; margin-bottom: 4em; } #primary, .content-area{ background: #fff; } #primary, #main{ padding: 10px; } h1.entry-title{ font-size: 2.5em; } h1.entry-title:before{ background: none repeat scroll 0 0 #509bb7; content: ""; display: inline-block; height: 19px; margin-right: 10px; width: 5px; } h1.entry-title a{ text-decoration: none; color: #444; } h1.entry-title a:hover{ color: #509bb7; -webkit-transform: none; transform: none; transition: all 0.8s ease 0s; } .entry-meta,.entry-footer{font-size: 1.5em;} .entry-meta .entry-date{margin-top: -3px; display: block;} .entry-meta a{text-decoration: none; color: #404040;} .entry-content{ font-size: 1.5em; } #primary a:hover{color: #d10046;} .page-title{ border: 1px solid #ddd; font-size: 1.8em; margin-bottom: 1em; padding: 1em; text-align: center; } .entry-footer a{ text-decoration: none; color: #444; } .entry-footer .comments-link{ margin-right: 5px; } .nav-links a{ font-size: 1.5em; text-decoration: none; color: #444; } .nav-links a:hover{ color: #d10046; } /*------------------------------------------------------------- 6.0 Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /*-------------------------------------------------------------- 7.0 Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- 8.0 Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- 9.0 Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; } .single-widget{ } .single-widget .widget-title{ font-size: 2em; margin-bottom: 0.6em; } .single-widget .widget-title:before{ background: none repeat scroll 0 0 #509bb7; content: ""; display: inline-block; height: 15px; margin-right: 7px; width: 5px; } .single-widget .widget-title:after{ background: none repeat scroll 0 0 #d10046; content: ""; display: inline-block; height: 15px; margin-left: 7px; width: 5px; } .single-widget ul{ margin: 0; list-style: none; } .single-widget a{ text-decoration: none; color: #404040; font-size: 1.5em; } .single-widget a:hover{ color: #d10046; } .comment-author-link{ color: #404040; font-size: 1.3em; } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } /* Search widget. */ .widget_search .search-submit { display: none; } .widget_search .search-field{ font-size: 1.3em; padding-left: .8em; font-weight: 400; } /*-------------------------------------------------------------- 5.1 Foorer --------------------------------------------------------------*/ #footer{ background: none repeat scroll 0 0 #222222; color: #ffffff; text-align: center; padding: 3.5em; font-size: 1.5em; } #footer a{ color: #ffffff; text-decoration: none; } #footer a:hover{ color: #d10046; } /*-------------------------------------------------------------- 10.0 Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- 10.1 Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .byline, .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-content, .entry-summary { margin: 1.0em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- 10.2 Asides --------------------------------------------------------------*/ #secondary{ padding-top: 5em; } .single-widget{ background: #dddddd; padding: 1em; margin-bottom: 3em; } .search-form{ margin: 0; width: 95%; } .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } /*-------------------------------------------------------------- 10.3 Comments --------------------------------------------------------------*/ #comments{ border: 2px solid #ddd; margin-top: 3em; padding: 3em 3em 2em; } .comments-title{ font-size: 2em; } .comments-title:before{ background: none repeat scroll 0 0 #509bb7; content: ""; display: inline-block; height: 15px; margin-right: 7px; width: 5px; } .comment-list{ list-style-type: none; margin: 0; } .comment-author .avatar{ width: 50px; height: 50px; } .comment-author .fn{ font-size: 1.5em; color: #509bae; margin-left: .3em; } .comment-author .fn a{ color: #509bae; text-decoration: none; } .comment-metadata{ font-size: 1em; } .comment-meta{ border-bottom: 1px solid #ddd; padding-bottom: .5em; margin-bottom: .5em; } .reply a{ color: #444; float: right; font-size: 1.4em; padding-left: 0.5em; text-decoration: none; } .comment-metadata a{ text-decoration: none; color: #444; } .comment-content{ float: left; font-size: 1.4em; } .comment-content a { word-wrap: break-word; } #reply-title{ font-size: 1.7em; } #cancel-comment-reply-link { text-decoration: none; font-size: 1em; color: #404040; padding: 0 .5em; } #respond{font-size: 1.2em;} .form-submit .submit{font-size: 1.0em;} #respond input, input{ width: 100%; } #respond label{ cursor: pointer; } .bypostauthor { display: block; } #form-allowed-tags{display: none;} /*-------------------------------------------------------------- 11.0 Infinite scroll --------------------------------------------------------------*/ #scrollUp { bottom: 20px; right: 20px; background: url("img/arrow13.png") no-repeat; width: 41px; height: 41px; text-indent: -99999px; -webkit-transform: none; transform: none; opacity: .5; transition: all 0.8s ease 0s; } #scrollUp:hover{ opacity: 1; } #scrollUp-active{ display: none; } /*-------------------------------------------------------------- 11.0 Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- 12.0 Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- 12.1 Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } /*-------------------------------------------------------------- 12.2 Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; }