/* Theme Name: BHost Theme URI: Author: Masum Billah Author URI: http://getmasum.net/ Description: Responsive WordPress Theme.This theme made with Responsive Framework Skeleton v2.0.4. Used some css3 effects. Version: 1.2.0 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-menu, featured-images, flexible-header, sticky-post 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. */ /*-------------------------------------------------------------- >>> 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 /*-------------------------------------------------------------- Google Fonts --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 Normalize --------------------------------------------------------------*/ html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body, h1, h2, h3, h4, h5, h6{ font-family: 'Raleway', sans-serif, arial; } body { margin: 0; font-weight: 300; font-size: 14px; } 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-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; } img{ display: inline-block; width: 100%; } /*-------------------------------------------------------------- 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-weight: 500; } 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-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-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 { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ } /*-------------------------------------------------------------- 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%; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="submit"] , textarea{ font-size: 14px; } /*-------------------------------------------------------------- 5.0 Table --------------------------------------------------------------*/ table { border-collapse: collapse; border: 1px solid #eee; border-bottom: 2px solid #d10046; box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1); } 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; border-collapse: collapse; text-align: center; } table#wp-calendar td { padding: 8px 0!important; } table td{ padding:8px ; } table th { background: #509bb7; color: #fff; text-transform: uppercase; font-size: 14px; } table th.last { border-right: none; } caption { margin-bottom: 10px; } /*-------------------------------------------------------------- 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 3px #ccc; -moz-box-shadow: 0 0 3px #ccc; -webkit-box-shadow: 0 0 3px #ccc; } /*-------------------------------------------------------------- 5.2 Header --------------------------------------------------------------*/ #masthead{ text-align: center; background: #333333; color: #fff; } .site-branding{ padding: 4em 3em; } .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; text-transform: uppercase; font-weight: 700; } .site-branding h1.site-title a:hover{ color: #d10046; -webkit-transform: none; transform: none; } .site-branding .site-description{ font-size: 1.5em; } .site-description{ margin-bottom: 0; } /*-------------------------------------------------------------- 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, .current-menu-parent{ background: #509bb7; } .main-navigation ul ul .current-menu-item{ background: #d10046; color: #fff ; } .main-navigation ul ul .current-menu-item a{ color: #fff ; } .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 #f7f7f7; } .main-navigation li ul li:last-child{border: none;} .main-navigation li ul{ background:#f5f5f5; border: 1px solid #f7f7f7; padding-top: 3px; padding-bottom: 3px; z-index: 99999; } .main-navigation li ul li a{ color: #444; display: block; font-size: 13px; padding: 5px 12px; 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; } .menu-toggle, .main-navigation.toggled .nav-menu { display: block; font-size: 1.3em; margin: 10px; } .main-navigation li{ } .main-navigation ul { display: none; } .main-navigation ul ul{ display: block; } .main-navigation li:hover >.sub-menu{ top: 40px; left: 0; z-index: 10; } .main-navigation li ul li { float: none; max-width: 100%; } .main-navigation li{ display: block; float: none; text-align: left; margin-right: 0; padding-right: 0; } .main-navigation li a{ display: block; font-size: 14px; padding: 10px 15px; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0; 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: #fff; padding: 20px 15px; border-top: 8px solid #f7f7f7; border-bottom: 8px solid #f7f7f7; } article.single-post{ border-bottom: 1px solid #ccc; padding-bottom:2em; margin-bottom: 2em; } #primary, .content-area{ background: #fff; } #primary{ padding: 0; } h1.entry-title{ font-size: 2.5em; } h1.entry-title:before{ background: none repeat scroll 0 0 #509bb7; content: ""; display: inline-block; height: 18px; 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 { margin-bottom: 0.5em; } .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 #f7f7f7; 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: 24px; 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 ul{ margin: 0; list-style: none; } .single-widget:last-child{ margin-bottom: 0; } .single-widget a{ text-decoration: none; color: #404040; font-weight: 500; } .single-widget a:hover{ color: #d10046; } .comment-author-link{ color: #404040; font-size: 1.3em; } /* Search widget. */ .widget_search .search-submit { display: none; } .widget_search .search-field{ font-size: 1.3em; font-weight: 400; padding: 0 0.8em; width: 90%; } .single-widget { -moz-hyphens: auto; color: rgba(51, 51, 51, 0.7); word-wrap: break-word; } /*-------------------------------------------------------------- 5.1 Foorer --------------------------------------------------------------*/ #footer{ background: none repeat scroll 0 0 #222222; color: #ffffff; text-align: center; padding: 3em; 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: .5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- 10.2 Asides --------------------------------------------------------------*/ #secondary{ padding-top: 0; } .single-widget{ background: #f7f7f7 none repeat scroll 0 0; margin-bottom: 3em; padding: 1em; font-size: 15px; } select{ width: 100%; font-size: 15px; } .search-form{ margin: 0; width: 97%; } .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } /*-------------------------------------------------------------- 10.3 Comments --------------------------------------------------------------*/ #comments{ border: 2px solid #f7f7f7; 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-list li{ padding-bottom: 20px; border-bottom: 1px solid #fff; overflow: hidden; background: #ddd; padding: 20px; margin-bottom: inherit; } .comment-author .avatar{ width: 50px; height: 50px; border-radius: 50%; } .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{ 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; margin-top: 30px; } .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 --------------------------------------------------------------*/ /* 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; }