/* Theme Name: Apollo Segundo Text Domain: apollosegundo Description: Multipurpose responsive WordPress theme. Use the WordPress Customize options to configure the theme. Author: David Perálvarez Author URI: http://davidperalvarez.com Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, news, entertainment, translation-ready, threaded-comments, theme-options, post-formats, featured-images, custom-menu, custom-colors, left-sidebar, two-columns */ /*** COLORS ***/ /* black: #222; gray: #747474; gray-light: #D4D4D4; */ /*** REM ***/ /* 1px - 0.0625rem; */ /*** GENERAL ***/ body{ font-family: 'Noto Sans', sans-serif; color: #747474; font-weight: 400; background: white; } h1,h2,h3,h4,h5,h6{ color: #222; font-weight: 700; } p{ font-size: 1rem; line-height: 1.5rem; } a{ color: #747474; } input, textarea { color: #747474; border: 1px solid #D4D4D4; padding: 14px 10px; } button, input[type="button"], input[type="reset"], input[type="submit"]{ background: #222; color: white; border: none; cursor: pointer; padding: 16px 25px; text-transform: uppercase; font-size: 0.875rem; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover{ background: #3c3c3c; } /*** WORDPRESS ***/ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; /* many screen reader and browser combinations announce broken words as they would appear visually */ word-wrap: normal !important; } .sticky { display: block; } .bypostauthor { display: block; } /* 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; } /* Captions */ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.875em 0; } .wp-caption-text { font-size: 0.875rem; text-align: center; } /* 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; } /*** SOCIAL NAVBAR ***/ #social-navbar{ border-bottom: 1px solid #D4D4D4; } #social-navbar ul{ max-width: 1280px; margin: 0 auto; text-align: right; list-style: none; padding: 15px 0 15px 10px; } #social-navbar ul li{ display: inline-block; margin: 0 10px 0 0; } #social-navbar ul li .fa{ color: #222; } /*** HERO ***/ #hero{ min-height: 400px; background: #222 url(assets/img/sky-night.png) no-repeat center; background-size: cover; } #hero h1{ font-size: 3rem; line-height: 3.6rem; padding: 150px 20px 10px 20px; } #hero p{ font-size: 1.5rem; line-height: 1.8rem; padding: 0 20px 150px 20px; } #hero h1, #hero p{ text-align: center; margin: 0; color: white; } /*** MAIN NAVBAR ***/ #toggle-bar{ display: none; } #main-navbar{ border-bottom: 1px solid #D4D4D4; } #main-navbar ul{ max-width: 1280px; margin: 0 auto; text-align: right; list-style: none; padding: 15px 0 15px 10px; } #main-navbar ul li{ display: inline-block; margin: 0 10px 0 0; text-transform: uppercase; font-size: 0.75rem; } #main-navbar ul li a{ color: #222; text-decoration: none; } #main-navbar ul li a:hover, #main-navbar ul li a:active{ border-bottom: 1px solid #D4D4D4; } #main-navbar ul li.current-menu-item a{ border-bottom: 1px solid #747474; } /*** PRIMARY ***/ #primary{ max-width: 1280px; margin: 0 auto; } #primary::after{ /* Clearfix */ content: ""; visibility: hidden; display: block; height: 0; clear: both; } /*** MAIN ***/ #main{ -webkit-box-sizing: border-box; /* Safari/Chrome/WebKit */ -moz-box-sizing: border-box; /* Firefox */ box-sizing: border-box; /* Opera/IE 8+ */ width: 70%; float: right; padding: 60px 30px 0 50px; } /*** POST ***/ .post{ margin-bottom: 60px; } body.search .post{ margin-bottom: 20px; } .post .entry-header{ text-align: center; } body.search .post .entry-header{ text-align: left; } .post .entry-header .entry-title{ font-size: 2.25rem; line-height: 2.925rem; margin: 0; } body.page .post .entry-header .entry-title{ margin-bottom: 20px; } .post .entry-header .entry-title a{ color: #222; text-decoration: none; } .post .entry-header .entry-title a:hover, .post .entry-header .entry-title a:active{ border-bottom: 1px solid #D4D4D4; } .post .entry-header .entry-meta{ text-transform: uppercase; font-size: 12px; margin: 5px 0 20px 0; } .post .entry-header .entry-meta a{ font-weight: 700; } .post .featured-image img{ width: 100%; height: auto; margin-bottom: 30px; } .post .entry-content p{ margin-top: 0; } .post .entry-content blockquote{ margin-left: 0; padding-left: 30px; border-left: 4px solid #222; } .post .entry-content blockquote p{ font-size: 1.25rem; line-height: 2rem; font-style: italic; } .post .entry-content blockquote footer{ text-transform: uppercase; font-size: 0.75rem; } .post .entry-content img{ max-width: 100%; height: auto; } .post .entry-content .video-wrapper{ position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; margin: 20px auto; } .post .entry-content .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .post .entry-footer p{ margin-top: 30px; } .post .entry-footer p .read-more{ display: inline-block; background: #222; color: white; text-decoration: none; text-transform: uppercase; font-size: 0.75rem; padding: 14px 24px; } .post .entry-footer p .read-more:hover, .post .entry-footer p .read-more:active{ background: #3c3c3c; } .post .entry-footer p span{ display: inline-block; margin-left: 10px; font-size: 0.75rem; } .post .entry-footer p span i{ font-size: 0.875rem; } .post .entry-footer p span a{ text-decoration: none; } .post .entry-footer p span a: hover, .post .entry-footer p span a: active{ text-decoration: underline; } /*** POSTS FORMATS ***/ .post-format .icon{ text-align: center; } .post-format .icon i{ font-size: 2.375rem; color: #222; } .post-format.format-aside .entry-content p{ font-size: 1.125rem; line-height: 1.6875rem; } .post-format.format-image .featured-image img{ margin: 0; } /*** NAVIGATION ***/ .navigation{ padding: 2em; border: 1px solid #D4D4D4; margin-bottom: 40px; } .navigation div{ display: inline-block; width: 48%; } .navigation div span{ text-transform: uppercase; display: block; margin-bottom: 4px; font-size: 0.75rem; } .navigation div a{ font-style: italic; font-size: 0.875rem; font-weight: 700; text-decoration: none; color: #222; } .navigation .previous{ margin-right: 4%; } .navigation .next{ text-align: right; float: right; } /*** COMMENTS ***/ #comments ol, #comments ul{ list-style: none; padding-left: 0; } #comments ol li, #comments ul li{ margin: 3em 0; } #comments ol li ul li, #comments ul li ul li{ margin-left: 30px; } #comments ol li ul li article, #comments ul li ul li article{ border-left: 2px solid #222; padding-left: 30px; } #comments .comment-author img{ float: left; margin-right: 0.75em; height: 50px; width: 50px; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-radius: 50px; } #comments .comment-author span{ font-weight: 700; font-size: 0.875rem; line-height: 3.125rem; } #comments .comment-author a{ text-decoration: none; } #comments .comment-author a:hover, #comments .comment-author a:active{ border-bottom: 1px solid #D4D4D4; } #comments .comment-author a, #comments .comment-author span{ color: #222; } #comments .comment-footer{ font-size: 0.6875rem; text-transform: uppercase; } #comments .comment-footer a{ font-weight: 700; color: #222; text-decoration: none; border-bottom: 1px solid #D4D4D4; margin-left: 5px; } /*** RESPOND ***/ #respond{ margin-bottom: 40px; } #respond h3 small{ font-size: 0.7em; } #respond label{ display: block; margin-bottom: 10px; } /*** AUTHOR ***/ #author-header .bio-author{ margin-bottom: 30px; } #author-header .bio-author img{ float: left; margin-right: 1.5em; height: 80px; width: 80px; -webkit-border-radius: 80px; -moz-border-radius: 80px; border-radius: 80px; } #author-header .bio-author span{ font-weight: 700; font-size: 2.25rem; line-height: 5rem; color: #222; } #author-header .bio-content span{ display: block; font-size: 0.75rem; text-transform: uppercase; } /*** ARCHIVE ***/ #archive-header .archive-tag::before{ content: "\f292"; /* fa-hashtag */ } #archive-header .archive-category::before{ content: "\f07c"; /* fa-folder-open */ } #archive-header .archive-date::before{ content: "\f073"; /* fa-calendar */ } /*** SEARCH RESULTS ***/ #search-header h3::before{ content: "\f002"; /* fa-search */ } /*** ERROR 404 ***/ #not-found-header h3::before{ content: "\f127"; /* fa-chain-broken */ } /*** COMMON STYLES ***/ #author-header, #archive-header, #search-header, #not-found-header{ margin-bottom: 40px; } #author-header h3, #archive-header h3, #search-header h3, #not-found-header h3{ margin: 0; font-size: 1.5rem; } #archive-header h3::before, #search-header h3::before, #not-found-header h3::before{ font-family: "FontAwesome"; color: #D4D4D4; font-size: 2.5rem; margin-right: 15px; } /*** SIDEBAR ***/ #sidebar{ -webkit-box-sizing: border-box; /* Safari/Chrome/WebKit */ -moz-box-sizing: border-box; /* Firefox */ box-sizing: border-box; /* Opera/IE 8+ */ width: 30%; float: left; margin: 0; padding: 60px 30px; } /*** WIDGETS ***/ .widget{ margin-bottom: 40px; } .widget .widget-title{ margin: 0 0 20px 0; } .widget ul{ list-style: none; padding-left: 0; } .widget ul li{ font-size: 1rem; line-height: 1.7rem; } .widget ul li a{ text-decoration: none; } .widget ul li a:hover, .widget ul li a:active{ border-bottom: 1px solid #D4D4D4; } .widget ul li, .widget ul li a{ color: #747474; } .widget img{ width: 100%; height: auto; } /*** FOOTER ***/ #main-footer{ padding: 50px 50px 30px; background: #222; } #main-footer .inner-footer{ max-width: 1280px; margin: 0 auto; } #main-footer .inner-footer .footer-content{ float: left; width: 70%; margin-right: 10%; } #main-footer .inner-footer .footer-content p{ font-size: 0.875rem; } #main-footer .inner-footer .footer-navbar{ float: right; width: 20%; text-transform: uppercase; } #main-footer .inner-footer .footer-navbar ul{ list-style: none; padding-left: 0; font-size: 0.875rem; } #main-footer .inner-footer .footer-navbar ul li{ line-height: 1.5em; } #main-footer .inner-footer .footer-navbar ul li ul{ padding-left: 10px; font-size: 0.9em; } #main-footer a{ text-decoration: none; } #main-footer a:hover, #main-footer a:active{ text-decoration: underline; } #main-footer h6{ clear: both; text-align: center; font-style: italic; font-weight: 400; font-size: 0.75rem; margin: 0; } #main-footer p, #main-footer a, #main-footer h6{ color: white; } /*** MEDIA QUERIES ***/ @media only screen and ( max-width: 1204px ) { /* SIDEBAR */ #sidebar .widget{ margin-bottom: 20px; } #sidebar .widget .widget-title{ margin-bottom: 10px; font-size: 1.125rem; } #sidebar .widget ul{ margin: 0; } #sidebar .widget ul li, #sidebar .widget p{ font-size: 0.875rem; } #sidebar .widget form input{ -webkit-box-sizing: border-box; /* Safari/Chrome/WebKit */ -moz-box-sizing: border-box; /* Firefox */ box-sizing: border-box; /* Opera/IE 8+ */ width: 100%; margin-bottom: 10px; } #sidebar .widget form input[type="submit"]{ margin-bottom: 0; } } @media only screen and ( max-width: 900px ) { /* HERO */ #hero{ min-height: auto; } #hero h1{ padding-top: 40px; } #hero p{ padding-bottom: 40px; } /* MAIN */ #main{ width: 100%; float: none; padding: 30px; } /* POST */ .post{ padding: 0 40px; } /* SIDEBAR */ #sidebar{ width: 100%; float: none; border-top: 1px solid #D4D4D4; padding-top: 30px; padding-bottom: 30px; } } @media only screen and (min-width : 364px) and ( max-width: 900px ) { /* SIDEBAR */ #sidebar .widget{ margin-bottom: 40px; } #sidebar .widget .widget-title{ margin-bottom: 20px; font-size: 1.5rem; } #sidebar .widget ul li, #sidebar .widget p{ font-size: 1rem; } #sidebar .widget form input{ -webkit-box-sizing: content-box; /* Safari/Chrome/WebKit */ -moz-box-sizing: content-box; /* Firefox */ box-sizing: content-box; /* Opera/IE 8+ */ width: auto; margin: 0; } } @media only screen and ( max-width: 740px ) { /* MAIN NAVBAR */ #toggle-bar{ display: block; text-align: right; } #toggle-bar a{ background: #222; color: white; display: inline-block; padding: 20px; cursor: pointer; } #main-navbar{ display: none; } #main-navbar ul{ text-align: left; padding: 0; } #main-navbar ul li{ display: block; margin: 0; padding: 0; font-size: 0.875rem; border-top: 1px solid #D4D4D4; } #main-navbar ul li a{ display: block; padding: 10px; } #main-navbar ul li a:hover, #main-navbar ul li a:active{ border: none; background: #222; color: white; } #main-navbar ul li.current-menu-item a{ border: none; background: #222; color: white; } /* MAIN */ #main form input, #main form textarea{ -webkit-box-sizing: border-box; /* Safari/Chrome/WebKit */ -moz-box-sizing: border-box; /* Firefox */ box-sizing: border-box; /* Opera/IE 8+ */ width: 100%; margin-bottom: 10px; } #main form input[type="submit"]{ margin-bottom: 0; } /* POST */ .post{ margin-bottom: 30px; padding: 0 10px; } .post .entry-header .entry-title{ font-size: 1.5rem; line-height: 1.8rem; } .post .entry-footer p .read-more{ margin-bottom: 10px; } .post .entry-footer p span{ display: block; margin-left: 0; } /* AUTHOR */ #author-header .bio-author{ margin-bottom: 10px; } #author-header .bio-author img{ margin-right: 1em; height: 40px; width: 40px; } #author-header .bio-author span{ font-size: 1.5rem; line-height: 2.5rem; } /* OTHER STYLES */ #archive-header h3::before, #search-header h3::before, #not-found-header h3::before{ font-size: 1.5rem; margin-right: 5px; } } @media only screen and ( max-width: 545px ) { /* NAVIGATION */ .navigation{ padding: 1em; } .navigation div{ display: block; width: 100%; } .navigation .previous{ margin-right: 0; } .navigation .next{ margin-top: 20px; text-align: left; float: none; } /* COMMENTS */ #comments ol li ul li, #comments ul li ul li{ margin-left: 10px; } #comments ol li ul li article #comments ul li ul li article{ padding-left: 20px; } /* FOOTER */ #main-footer{ padding: 30px; } #main-footer .inner-footer .footer-content{ margin-right: 0; float: none; } #main-footer .inner-footer .footer-content, #main-footer .inner-footer .footer-navbar{ float: none; width: 100%; text-align: center; } }