/* Theme Name: Bootroot Theme URI: https://github.com/subhrajitmandal/bootroot Author: Subhrajit Mandal Author URI: http://subhrajitmandal.com/ Description: A bootstrap based WordPress starter theme Version: 1.0 License: GNU General Public License v3.0 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html Text Domain: Subhrajit Mandal Tags: one-column, two-columns, right-sidebar, flexible-header, full-width-template This theme, like WordPress, is licensed under the GPL. */ body { padding-top: 60px; padding-bottom: 0; background-color: #FFF; font-family: 'Lato', sans-serif; } .sticky{} .gallery-caption{} .bypostauthor{} .size-auto, .size-full, .size-large, .size-medium, .size-thumbnail { max-width: 100%; height: auto; } .admin-bar .navbar-fixed-top { margin-top: 30px; } /* =WordPress Core -------------------------------------------------------------- */ .alignnone { margin: 5px 20px 20px 0; } .aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; } .alignright { float:right; margin: 5px 0 20px 20px; } .alignleft { float: left; margin: 5px 20px 20px 0; } a img.alignright { float: right; margin: 5px 0 20px 20px; } a img.alignnone { margin: 5px 20px 20px 0; } a img.alignleft { float: left; margin: 5px 20px 20px 0; } a img.aligncenter { display: block; margin-left: auto; margin-right: auto; } .wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; /* Image does not overflow the content area */ padding: 5px 3px 10px; text-align: center; } .wp-caption.alignnone { margin: 5px 20px 20px 0; } .wp-caption.alignleft { margin: 5px 20px 20px 0; } .wp-caption.alignright { margin: 5px 0 20px 20px; } .wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; } .wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; } /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; white-space: nowrap; height: 1px; width: 1px; overflow: hidden; } .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. */ } @media (min-width:768px) { .sub-menu { display: none; position: absolute; background: #fff; padding: 10px 15px; width: 200px; } li:hover .sub-menu { display: block; } } .sub-menu li { margin-bottom: 10px; list-style: none; } .sub-menu li:last-child { margin-bottom: 0; } .sub-menu a { color: #999; text-decoration: none; } .sub-menu a:hover { color: #222; } .current-menu-item > a, .current-menu-parent > a { background: rgba(0,0,0,0.1); } .current-menu-parent li a { background: inherit; } .current-menu-item > a:hover { background: none; } .current-menu-parent .current-menu-item a { color: #222; font-weight: bold; } .sidebar { margin-top: 40px; color: #444; } .sidebar h3 { color: #888; } .widget { margin: 10px 0 30px; } article.post { margin: 20px 0 40px; } .featured-image img, .portfolio-piece img, .portfolio-image img { max-width: 100%; } .prev-next { font-size: 24px; margin-top: 30px; text-align: right; } @media (max-width:540px) { .portfolio-piece h4 { font-size: .8em; } .prev-next { margin-top: 15px; font-size: 18px; } } /* * Off Canvas * -------------------------------------------------- */ @media screen and (max-width: 767px) { .row-offcanvas { position: relative; -webkit-transition: all .25s ease-out; -moz-transition: all .25s ease-out; transition: all .25s ease-out; } .row-offcanvas-right { right: 0; } .row-offcanvas-left { left: 0; } .row-offcanvas-right .sidebar-offcanvas { right: -50%; /* 6 columns */ } .row-offcanvas-left .sidebar-offcanvas { left: -50%; /* 6 columns */ } .row-offcanvas-right.active { right: 50%; /* 6 columns */ } .row-offcanvas-left.active { left: 50%; /* 6 columns */ } .sidebar-offcanvas { position: absolute; top: 0; width: 50%; /* 6 columns */ } }