/* Theme Name: Biography Theme URI: Author: Yam Chhetri Author URI: https://profiles.wordpress.org/yamchhetri Description: A simple theme for your personal site. Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: biography Tags: two-columns, right-sidebar, custom-background, custom-colors, custom-menu, featured-images, post-formats, sticky-post, translation-ready, responsive-layout, threaded-comments 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. Biography is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. 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 Content 1. Normalize ----------------------------------------- 2. General Styles 2.1 Links 2.2 Typography 2.3 Accessibility 2.4 Forms 2.5 Placeholder 2.6 Button 2.7 Clearings 2.8 Table ----------------------------------------- 3. Header 3.1 Header Top Bar 3.2 Header Nav Bar ----------------------------------------- 4. Sidebar 4.1 Widget 4.1 Widget_archive 4.2 Widget_calendar 4.3 Widget_categories 4.4 Widget_nav_menu 4.5 Widget_meta 4.6 Widget_pages 4.7 Widget_recent_comments 4.8 Widget_recent_entries 4.9 Widget_rss 4.10 Widget_search 4.11 Widget_tag_cloud 4.12 Widget_text ----------------------------------------- 5. Primary 5.1 Articles ----------------------------------------- 6. Footer 6.1 Site Info ----------------------------------------- 7. Content 7.1 Alignments 7.2 Posts and Pages 7.3 Asides 7.4 Comments 7.5 404 page ----------------------------------------- 8. Infinite scroll ----------------------------------------- 9. Media 9.1 Captions 9.2 Galleries ----------------------------------------- 10. Custom Pages ========================================= /* ====================================================== */ /* 1 Normalize */ /* --------------------------------------- */ html { font-family: "Oxygen", sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } * { -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -moz-box-sizing: border-box; box-sizing: border-box; } body { margin: 0; } body, button, input, select, textarea { position: relative; color: #414141;font: normal 15px/1.2 'Oxygen', sans-serif, Arial;background-color: #ffffff; -webkit-font-smoothing: antialiased; } img { max-width: 100%; height: auto; border: 0; } svg:not(:root) { overflow: hidden; } embed, iframe, object, video { max-width: 100%; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } figure { margin: 0; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } /* ====================================================== */ /* 2 General Styles */ /* --------------------------------------- */ /* Links */ /* --------------------------------------- */ a, button, input[type="submit"] { transition: all 0.3s ease 0s;-webkit-transition: all 0.3s ease 0s;-moz-transition: all 0.3s ease 0s;-o-transition: all 0.3s ease 0s;-ms-transition: all 0.3s ease 0s; } a { color: #333333; text-decoration: none; background-color: transparent; } a:active, a:hover, a:focus { outline: 0;border: none;text-decoration: none; color: #aaaaaa; } /* Typography */ /* --------------------------------------- */ h1, h2, h3, h4, h5, h6 { font-family: "Oxygen", sans-serif; font-weight: 700; line-height: 1.1; color: #212121; } h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: none; } h1, h2, h3 { margin-top: 10px; margin-bottom: 15px; } h1 { font-size: 27px; } h2 { font-size: 20px; } h3 { font-size: 18px; } h4 { font-size: 16px; } h5 { font-size: 14px; } h6 { font-size: 12px; } hr { box-sizing: content-box; background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } p { margin-bottom: 15px; } p a{ text-decoration: underline; } q, blockquote, blockquote p { color: #787878; } q::before, q:before, blockquote p::before { content: open-quote; } q::after, q:after, blockquote p::after { content: close-quote; } dfn, cite, em, i { font-style: italic; } b, strong { font-weight: bold; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Oxygen", sans-serif; 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, samp { font-family: "Oxygen", sans-serif; 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%; } 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; } ul, ol { margin-top: 0; margin-bottom: 20px; list-style-position: inside; } ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } @media screen and (max-width: 479px){ h1 { font-size: 28px; } } /* Accessibility */ /* --------------------------------------- */ .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. */ } /* Forms */ /* --------------------------------------- */ form { position: relative; } input { outline: 0; border: 1px solid #dddddd; height: inherit; color: #333333; font-size: 16px; padding: 8px 15px; 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; } button, html input[type="button"], input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; 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: 14px; line-height: 1; padding: 10px 15px 11px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); -webkit-appearance: button; cursor: pointer; vertical-align: top; } 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); } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #ccc; background-color: #F7F7F7; box-sizing: border-box; padding: 8px 5px 8px 15px; } 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; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="tel"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus{ color: #111; background-color: #ffffff; -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; width: 100%; } optgroup { font-weight: bold; } select:focus{ outline: none; } /* Button */ /* --------------------------------------- */ button { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; outline: 0; outline-offset: 0; border: none; overflow: visible; } /* 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; } /* Table */ /* ----------------------------------------------- */ table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } del { opacity: 0.8; } dl { margin-bottom: 1.6em; } dt { font-weight: bold; } dd { margin-bottom: 1.6em; margin-left: 0; } dd a{ text-decoration: underline; } /* ====================================================== */ /* 3 Header */ /* --------------------------------------- */ /* Header Top Bar */ /* ----------------------------------------------- */ .site-header { background: none repeat scroll 0 0 rgb(255, 255, 255); } .site-branding, .menu{ width: 1170px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; } .site-branding:before, .site-branding:after{ display: block; clear: both; content: ""; } .site-title { text-transform: uppercase; font-size: 27px; } .site-title img{ margin-left: 15px; } .site-description { color: rgb(153, 153, 153); font-size: 22px; } @media screen and (max-width: 1199px){ .site-branding, .menu{ width: 970px; } } @media screen and (max-width: 991px){ .site-branding, .menu{ width: 750px; } } @media screen and (max-width: 767px){ .site-branding, .menu{ width: auto; text-align: center; } .site-branding .pull-right { float: none !important; } .textwidget > ul { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); } } /* header-nav-bar */ /* ----------------------------------------------- */ .nav-inner{ background: #ff7e00; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; } .main-navigation{ background-color: #545454; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation li { display: inline-block; position: relative; } .main-navigation a { color: #ffffff; display: block; font-family: "Oxygen", sans-serif; font-size: 16px; padding: 17px 22px; text-decoration: none; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a { background: #565656; } /*submenu*/ .main-navigation ul ul { float: left; position: absolute; top: 3.5em; display: none; z-index: 99999; background: #212121; } .main-navigation ul ul a { font-size: 16px; padding: 12px 18px; width: 200px; } .main-navigation li:hover > a { background: #212121; } .main-navigation ul ul a:hover { background: #151515; } .main-navigation ul li:hover > ul { display: block; } /*submenu level 2*/ .main-navigation ul ul ul { top: 0; } .main-navigation ul ul li:hover > ul { left: 100%; } @media screen and (min-width: 768px){ .main-navigation ul ul ul{ -webkit-box-shadow: -2px 2px 5px -2px rgba(0, 0, 0, 0.5); -moz-box-shadow: -2px 2px 5px -2px rgba(0, 0, 0, 0.5); -o-box-shadow: -2px 2px 5px -2px rgba(0, 0, 0, 0.5); -ms-box-shadow: -2px 2px 5px -2px rgba(0, 0, 0, 0.5); box-shadow: -2px 2px 5px -2px rgba(0, 0, 0, 0.5); } } /*submenu level 2 ends*/ /* Small/Mobile menu*/ .menu-toggle { 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%; } @media screen and (max-width: 1199px) and (min-width: 992px){ .main-navigation a { font-size: 16px; padding: 18px 23px; } .main-navigation ul ul { top: 3.6em; } } @media screen and (max-width: 991px){ .main-navigation a { font-size: 14px; padding: 16px 13px; } .main-navigation li.menu-item-has-children > a, .main-navigation li.menu-item-has-children:hover > a { padding: 16px 36px 16px 10px; } .main-navigation ul ul a { font-size: 14px; } .main-navigation ul ul { top: 3.2em; } } @media screen and (max-width: 767px) { .menu-toggle, .main-navigation.toggled .nav-menu { display: block; margin-left: auto; margin-right: auto; } .menu-toggle { border: 1px solid #cccccc; font-size: 15px; margin-bottom: 5px; padding-bottom: 10px; } .main-navigation ul { display: none; } .main-navigation li { float: none; display: block; border-top: 1px solid #565656; } .main-navigation{ background: transparent; } .main-navigation.toggled .nav-menu { background: none repeat scroll 0 0 #333333; } .main-navigation ul ul::before { border-bottom: 10px solid #151515; border-left: 10px solid rgba(0, 0, 0, 0); border-right: 10px solid rgba(0, 0, 0, 0); content: ""; display: inline-block; left: 0; margin: -10px auto auto; position: absolute; right: 0; width: 10px; } .main-navigation ul ul { background: none repeat scroll 0 0 #151515; display: block; float: none; position: static; text-align: left; box-shadow: none; } .main-navigation ul ul li{ border-top: none; } .main-navigation ul ul li a { display: block; width: auto; text-align: center; } .main-navigation ul ul a { padding-left: 30px; } .main-navigation ul ul ul a{ padding-left: 60px; } } /* ====================================================== */ /* Sidebar */ /* --------------------------------------- */ .widget { margin: 0 0 3.5em; } .widget-title, .widgettitle { background: none repeat scroll 0 0 rgb(241, 242, 243); border-left: 3px solid #FFDC44; font-size: 18px; padding: 12px 15px; text-transform: capitalize; } .widget ul{ padding-left: 0; list-style: none; } .widget li { border-top: 1px solid #ededed; display: block; padding-bottom: 5px; padding-top: 5px; } .widget li a:hover{ color: #212121; } /* Make sure select elements fit in widgets. */ .widget select { background: none repeat scroll 0 0 #ffffff; border: 1px solid #cccccc; max-width: 100%; padding: 8px 15px; } @media screen and (max-width: 767px){ #secondary { margin-top: 60px; } } /* Search widget. */ /* ------------------------------------ */ .widget_search .search-submit { display: none; background-color: #FFDC44; } /* widget_archive */ /* ------------------------------------ */ /* widget_calendar */ /* ------------------------------------ */ .widget_calendar table { margin: 0; } .widget_calendar td, .widget_calendar th { border: 1px solid #ededed; line-height: 2.3333; text-align: center; padding: 0; } .widget_calendar caption { font-family: "Oxygen", sans-serif; font-weight: 700; margin: 0 0 1.6em; letter-spacing: 0.04em; text-transform: uppercase; } .widget_calendar tbody a { -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3); background-color: #333; color: #fff; display: block; font-weight: 700; } .widget_calendar tbody a:hover, .widget_calendar tbody a:focus { background-color: #707070; background-color: rgba(51, 51, 51, 0.7); color: #fff; } /* widget_categories */ /* ------------------------------------ */ .widget_categories .children, .widget_nav_menu .sub-menu, .widget_pages .children { margin: 0.4688em 0 0 1em; padding-top: 0.4688em; } /* widget_nav_menu */ /* ------------------------------------ */ /* widget_recent_entries */ /* ------------------------------------ */ .widget_recent_entries .post-date { font-style: normal; display: block; line-height: 2; opacity: 0.8; display: block; } /* widget_rss */ /* ------------------------------------ */ .widget_rss ul { list-style: none; margin: 0; } .widget_rss li { margin-bottom: 1.6em; } .widget_rss ul:last-child, .widget_rss li:last-child { margin-bottom: 0; } .widget_rss .rsswidget { border: 0; font-weight: 700; } .widget_rss .rsswidget img { margin-top: -4px; } .widget_rss .rss-date, .widget_rss cite { font-style: normal; display: block; line-height: 2; opacity: 0.8; } /* ====================================================== */ /* Primary */ /* --------------------------------------- */ /* Aricles */ /* ------------------------------------ */ .blog article.hentry, #blog-post article.hentry, .search article.hentry, .archive article.hentry, .tag article.hentry, .category article.hentry, #ak-blog-post article.hentry { border-bottom: 3px solid #ededed; margin-bottom: 30px; padding-bottom: 30px; } .cat-links { border-right: 1px solid #333333; padding-right: 10px; } .tags-links { padding-left: 10px; } .posted-on a, .cat-links a, .tags-links a, .author a{ font-weight: 700; } .posted-on a:hover, .cat-links a:hover, .tags-links a:hover, .author a:hover, .comments-link a:hover { color: #212121; } .edit-link { margin-left: 15px; } .edit-link a { color: #999999; font-weight: 700; text-decoration: underline; } .edit-link a:hover, .edit-link a:focus{ color: #333333; } /* ====================================================== */ /* Footer */ /* --------------------------------------- */ /* Site Info */ /* --------------------------------------- */ .site-info { padding-bottom: 20px; padding-top: 20px; text-align: center; } /* ====================================================== */ /* Content */ /* --------------------------------------- */ .site-content { margin-left: auto; margin-right: auto; padding:20px 15px 40px; width: 1170px; } .site-content:before, .site-content:after{ display: block; clear: both; content: ""; } #primary { float: left; width: 68%; } #secondary { float: right; width: 29%; } @media screen and (max-width: 1199px){ .site-content{ width: 970px; } } @media screen and (max-width: 991px){ .site-content{ width: 750px; } } @media screen and (max-width: 767px){ .site-content{ width: auto; } #primary, #secondary { width: 100%; float: none; } } /* 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; } /* 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.5em 0 0; } /*page links/pagination*/ .page-links { clear: both; font-family: "Oxygen", sans-serif; font-weight: 700; margin-top: 2em; margin-bottom: 2em; } .page-links a, .page-links > span { border: 1px solid #ccc; display: inline-block; font-size: 15px; height: 2em; line-height: 2; margin: 0 3px 3px 3px; text-align: center; width: 2em; } .page-links a { background-color: #f7f7f7; color: #333; } .page-links a:hover, .page-links a:focus { background-color: #707070; border-color: transparent; color: #fff; } /* Asides */ /* --------------------------------------- */ .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } article.hentry .entry-title, article.hentry .entry-title a, .entry-title a{ color: #FFDC44; } /* Comments */ /* --------------------------------------- */ .comment-list + .comment-respond { border-top: 1px solid #eaeaea; } .comment-list + .comment-respond, .comment-navigation + .comment-respond { padding-top: 1.6em; } .comments-title, .comment-reply-title { font-family: "Oxygen", sans-serif; font-size: 18px; line-height: 1.3333; } .comments-title { margin-bottom: 1.3333em; } .comment-list { list-style: none; margin: 0; } .comment-list article, .comment-list .pingback, .comment-list .trackback { border-top: 1px solid #eaeaea; padding: 1.6em 0; } .comment-list .children { list-style: none; margin: 0; } .comment-list .children > li { padding-left: 0.8em; } .comment-author { color: #707070; margin-bottom: 0.4em; } .comment-author a:hover { border-bottom: 1px solid #707070; } .comment-author .avatar { float: left; height: 32px; margin-right: 0.8em; width: 32px; border-radius: 30px; -webkit-border-radius: 30px; -moz-border-radius: 30px; -o-border-radius: 30px; -ms-border-radius: 30px; } .comment-metadata, .pingback .edit-link { color: #999999; font-weight: 700; } .comment-metadata a, .pingback .edit-link a { color: #707070; } .comment-metadata a:hover, .pingback .edit-link a:hover { border-bottom: 1px solid #333; } .comment-metadata a.comment-edit-link:hover{ border-bottom: none; } .comment-metadata a:hover, .comment-metadata a:focus, .pingback .edit-link a:hover, .pingback .edit-link a:focus { color: #333; } .comment-metadata { margin-bottom: 1.6em; } .comment-metadata .edit-link { margin-left: 1em; } .pingback .edit-link { margin-left: 1em; } .pingback .edit-link:before { top: 5px; } .comment-content ul, .comment-content ol { margin: 0 0 1.6em 1.3333em; } .comment-content li > ul, .comment-content li > ol { margin-bottom: 0; } .comment-content > :last-child { margin-bottom: 0; } .comment-list .reply { font-size: 12px; } .comment-list .reply a { border: 1px solid #eaeaea; color: #707070; display: inline-block; font-family: "Oxygen", sans-serif; font-weight: 700; line-height: 1; margin-top: 2em; padding: 0.6167em 0.8333em; text-transform: uppercase; } .comment-list .reply a:hover, .comment-list .reply a:focus { border-color: #333; color: #333; outline: 0; } .comment-form { padding-top: 1.6em; } .comment-form label { color: #707070; font-family: "Oxygen", sans-serif; font-size: 15px; font-weight: 700; display: block; line-height: 1.5; text-transform: uppercase; } .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form input[type="submit"] { width: 100%; } .comment-notes, .comment-awaiting-moderation, .logged-in-as, .form-allowed-tags { color: #707070; font-family: "Oxygen", sans-serif; font-size: 15px; line-height: 1.5; margin-bottom: 2em; } .logged-in-as a:hover { border-bottom: 1px solid #333; } .no-comments { border-top: 1px solid #eaeaea; color: #707070; font-family: "Oxygen", sans-serif; font-weight: 700; padding-top: 1.6em; } .comment-navigation + .no-comments { border-top: 0; } .form-allowed-tags code { font-family: "Oxygen", sans-serif; } .form-submit { margin-bottom: 0; } .required { color: #c0392b; } .comment-reply-title small { font-size: 100%; } .comment-reply-title small a { border: 0; float: right; height: 32px; overflow: hidden; width: auto; } .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /* Posts and Pages */ /* --------------------------------------- */ .error404 #primary { width: 100%; } .error404 .search-form{ margin-bottom: 30px; } /* ====================================================== */ /* 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; } /* ====================================================== */ /* Media */ /* --------------------------------------- */ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* ====================================================== */ /* Captions */ /* --------------------------------------- */ .wp-caption { margin-bottom: 1em; 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; } /* ====================================================== */ /* Galleries */ /* --------------------------------------- */ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; margin-bottom: 15px; margin-top: 15px; } .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; } @media screen and (max-width: 767px){ .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item { max-width: 100%; } } @media screen and (max-width: 480px){ .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item { max-width: 100%; } }