/* Theme Name: Accent Theme URI: http://ovidiunicolae.com/themes/accent/ Author: Ovidiu Nicolae Author URI: http://ovidiunicolae.com Description: Accent is a clean, fast, responsive and easy to setup WordPress theme for bloggers. Designed with the reader in mind, it features great typography and includes some of the best open-source web fonts. It features custom header images, custom colors, logo and custom Google fonts via the Theme Customizer. When it comes to WordPress themes, less is definitely more, so with Accent you get just the right amount of options and a clean design, letting your awesome content do the talking. That means no image sliders or crazy amounts of settings and options. Just simple design done right. Version: 1.1.2 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: accent Domain Path: /languages/ Tags: light, responsive-layout, two-columns, custom-header, full-width-template, post-formats, sticky-post, editor-style, custom-colors, threaded-comments, translation-ready */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 Reset 2.0 Structure 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 10.4 Footer 11.0 Infinite scroll 12.0 Media 12.1 Captions 12.2 Galleries 13.0 Media Queries 13.1 Header 13.2 Structure and Type 13.3 Navigation 13.4 Footer 13.5 Alignments --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 Reset --------------------------------------------------------------*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } html { font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */ -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ } *, *:before, *:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */ -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */ -moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */ box-sizing: border-box; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } article, aside, details, figcaption, figure, footer, header, main, nav, section { display: block; } ol, ul { list-style: none; } table { /* tables still need 'cellspacing="0"' in the markup */ border-collapse: separate; border-spacing: 0; } caption, th, td { font-weight: normal; text-align: left; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } a:focus { outline: none; } a:hover, a:active { outline: 0; } a img { /*hier kann die Logoposition bearbeitet werden border: 0; position: absolute !important; /*margin-bottom: 250 px; margin-right: 2000px;*/ } /*-------------------------------------------------------------- 2.0 Structure --------------------------------------------------------------*/ .inner-wrapper { margin: 0 auto; max-width: 1300px; padding: 0 5%; } #content { margin-top: 80px; } #primary, #secondary, #primary-full-width { margin-bottom: 60px; } #secondary { display: none; } /*-------------------------------------------------------------- 2.1 Header --------------------------------------------------------------*/ #masthead { background: #2B2F3E; } .header-image { position: relative; top: 0px; /*mit top und left ist das Headerbild zu verschieben. Positiv und negativ möglich*/ left: 0px; height: 250px; } /*Hilfspunkt um das Logo unabhängig vom Header auszurichten*/ .anchor{ position: absolute !important; margin-left 70%; } .site-branding { /*das ist das Logo*/ color: #fff; /*Für Ecke als Logo (-anchor wegnehmen)*/ position: absolute !important; margin-top: -126px !important; margin-left: -150px !important; /*Position für Wort-iBildmarke position: relative !important; top: 50px !important; /*Position des Logos mit top, left und größe mit width änderbar*/ left: 50px !important; width: 700px !important;*/ /*height: auto;*/ text-align: center; text-shadow: 0px 1px 0px #999; top: 50%; float: left; /*-ms-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%);*/ } h1.site-title a { color: #fff; font-size: 50px; } h1.site-title a:hover { text-decoration: none; } .site-description { font-size: 18px; font-weight: 300; } /*-------------------------------------------------------------- 2.0 Typography --------------------------------------------------------------*/ @font-face { font-family: 'secca_kjg'; src: url('/fonts/seccakjg-rg.eot'); src: url('/fonts/seccakjg-rg.eot?#iefix') format('embedded-opentype'), url('/fonts/seccakjg-rg.woff2') format('woff2'), url('/fonts/seccakjg-rg.woff') format('woff'), url('/fonts/seccakjg-rg.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'secca_kjg'; src: url('/fonts/seccakjg-it.eot'); src: url('/fonts/seccakjg-it.eot?#iefix') format('embedded-opentype'), url('/fonts/seccakjg-it.woff2') format('woff2'), url('/fonts/seccakjg-it.woff') format('woff'), url('/fonts/seccakjg-it.ttf') format('truetype'); font-weight: normal; font-style: italic; } @font-face { font-family: 'secca_kjg'; src: url('/fonts/seccakjg-bd.eot'); src: url('/fonts/seccakjg-bd.eot?#iefix') format('embedded-opentype'), url('/fonts/seccakjg-bd.woff2') format('woff2'), url('/fonts/seccakjg-bd.woff') format('woff'), url('/fonts/seccakjg-bd.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'secca_kjg'; src: url('/fonts/seccakjg-bd-it.eot'); src: url('/fonts/seccakjg-bd-it.eot?#iefix') format('embedded-opentype'), url('/fonts/seccakjg-bd-it.woff2') format('woff2'), url('/fonts/seccakjg-bd-it.woff') format('woff'), url('/fonts/seccakjg-bd-it.ttf') format('truetype'); font-weight: bold; font-style: italic; } body, button, input, select, textarea { color: #333; font-family: 'secca_kjg', sans-serif !important; font-size: 16px; font-size: 1.8rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; font-family: 'secca_kjg', sans-serif !important; line-height: 1.2; margin-bottom: 4%; } h1 { font-size: 30px; } .entry-title { font-size: 20px !important; /*Schriftgröße von der Überschrift ändern*/ font-weight: bold; -ms-word-wrap: break-word; word-wrap: break-word; } h2 { font-size: 26px; } .widget-title { font-size: 18px; /*Schriftgröße von der rechten Seite ändern*/ font-weight: bold; letter-spacing: 1px; margin-bottom: 7%; text-transform: uppercase; } h3 { font-size: 24px; } h4 { font-size: 22px; } h5 { font-size: 20px; } h6 { font-size: 18px; font-weight: bold; } p { font-size: 16px; margin-bottom: 1.5em; } b, strong { font-weight: bold; } dfn, cite, em, i { font-style: italic; } blockquote { background: #F5F5F5; color: #aaa; font-style: italic; font-weight: 300; margin: 1.2em 0 1.5em 0; padding: 6% 7%; position: relative; } blockquote > p { margin-bottom: 0; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: 'secca_kjg', "Courier 10 Pitch", Courier, monospace !important; font-size: 15px; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } sup, sub { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; } sup { bottom: 1ex; } sub { top: .5ex; } small { font-size: 75%; } big { font-size: 125%; } .highlight { background: #FFF09B; } /*-------------------------------------------------------------- 3.0 Elements --------------------------------------------------------------*/ hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } .post li { margin-bottom: 0.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. */ } img-small { height: auto !important; width: 30% !important; } figure { margin: 0; } /* Tables */ table { font-size: 16px; margin: 0 0 1.5em; padding: 0; width: 100%; } thead { background: #f5f5f5; } th { font-weight: bold; } td, th { padding: 12px; width: 100px; } table tr:last-child td { border-bottom: none; } table tr:nth-child(even) { /*background: #f5f5f5;*/ } /*-------------------------------------------------------------- 4.0 Forms --------------------------------------------------------------*/ button, input, select, textarea { font-size: 100%; /* Corrects font size not being inherited in all browsers */ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ vertical-align: baseline; /* Improves appearance and consistency in all browsers */ } button, input[type="button"], input[type="reset"], input[type="submit"] { border: none; -webkit-border-radius: 3px; border-radius: 3px; background: #2B2F3E; color: #fff; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ font-size: 16px; font-size: 1.6rem; line-height: 1; padding: 15px 18px; } .hentry button, .hentry input[type="button"], .hentry input[type="reset"], .hentry input[type="submit"] { padding: 12px 18px; } .more-link { /*position: absolute !important;*/ /* left: 395px !important;*/ border: none; -webkit-border-radius: 3px; border-radius: 3px; background: #2B2F3E; color: #fff; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ display: inline-block; font-size: 16px; font-size: 1.6rem; line-height: 1; padding: 10px 15px; /*margin-top: 25px;*/ float: right !important; clear: left !important; } button:visited, input[type="button"]:visited, input[type="reset"]:visited, input[type="submit"]:visited, .more-link:visited { color: #fff; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .more-link:hover { background: #48A3A6; text-decoration: none; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .more-link:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active, .more-link:active { background: #48A3A6; } input[type="checkbox"], input[type="radio"]{ padding: 0; /* Addresses excess padding in IE8/9 */ } span.wpcf7-list-item { display: block; } input[type="search"] { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ border: 0; padding: 0; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { background: #efefef; border: 1px solid #ccc; border-radius: 3px; color: #666; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { background: #fff; border: 1px solid #48A3A6; color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px; } textarea { overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ padding-left: 3px; vertical-align: top; /* Improves readability and alignment in all browsers */ width: 100%; } /*-------------------------------------------------------------- 5.0 Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- 5.1 Links --------------------------------------------------------------*/ a { color: #FFFFFF; text-decoration: none; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } a:visited { color: #48A3A6; } a:hover, a:focus, a:active { text-decoration: underline; } .entry-title a { color: #006D84; } .entry-title a:visited { color: #333; } .entry-title a:hover { color: #006D84; text-decoration: none; } /*-------------------------------------------------------------- 5.2 Menus --------------------------------------------------------------*/ .main-navigation { display: block; width: 100%; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation li { border-top: 1px solid rgba(255,255,255,0.1); } .main-navigation a { color: #FFFFFF; display: block; font-size: 17px; /*Hier kann man die Schriftgröße von der Meüleiste ändern*/ font-weight: bold; letter-spacing: 1px; padding: 20px 0 10px!important; text-decoration: none; text-transform: uppercase; } .main-navigation a:hover { color: #006D84; } .main-navigation ul ul { display: block; } .main-navigation ul ul li , .main-navigation ul ul ul li { padding-left: 30px; } .main-navigation ul li:hover > ul { left: auto; } .main-navigation ul ul li:hover > ul { left: 100%; } .main-navigation .current_page_item a, .main-navigation .current-menu-item a { color: #006D84; } /*Search button*/ a.search-button { float: right; display: inline-block; margin-right: 0; } /* Small menu */ .main-navigation ul { display: none; } .menu-toggle { float: left; padding: 18px 0; } button, .menu-toggle, .main-navigation.toggled .nav-menu { color: #d2d2d2; display: block; z-index: 100; position: relative; } .menu-toggle:before { content: "\f0c9"; font-family: "FontAwesome"; font-size: 32px; z-index: 100; postion: relative; } .menu-toggle:hover{ background: #2B2F3E; color: #d2d2d2; } .toggled .menu-toggle { color: #48A3A6 } .menu-toggle:focus, .menu-toggle:active { background: #2B2F3E; } .site-main .comment-navigation, .site-main .paging-navigation, .site-main .post-navigation { line-height: 1.2; margin: 0 0 3em; overflow: hidden; } .comment-navigation .nav-previous, .paging-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .paging-navigation, .comment-navigation { letter-spacing: 1px; text-transform: uppercase; } .comment-navigation .nav-next, .paging-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } /* Mobile search form */ .mobile-search { background: #2B2F3E; display: none; height: 100%; opacity: 0.9; position: relative; width: 100%; z-index: 9999; } .mobile-search form { left: 50%; margin-right: 0; padding: 0 5%; position: absolute; text-align: center; top: 50%; -ms-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 100%; } .mobile-search form .search-field { margin-right: 0; padding-right: 0; width: 100%; } .mobile-search-close { color: #fff; position: absolute; right: 5%; top: 5%; } .mobile-search-close:hover { cursor: pointer; } .mobile-search .search-submit { display: none; } /*-------------------------------------------------------------- 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-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: 0 auto; } img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.5em; } /*-------------------------------------------------------------- 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 3em; } /* Make sure select elements fit in widgets */ .widget select { max-width: 100%; } /* Search widget */ .widget_search .search-submit { display: none; } .widget li { margin-bottom: 10px; font-size: 18px; } .widget { font-size: 18px; } /*-------------------------------------------------------------- 10.0 Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- 10.1 Posts and pages --------------------------------------------------------------*/ .post { margin-bottom: 10%; } .post:last-child, .post:last-of-type { margin-bottom: 8% } .sticky { display: block; } .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-summary { /*margin: 4% 0 0;*/ display: inline-block; float: left; } .entry-content { /*Text auf der Startseite vor Readmore-Tag*/ /*margin: 4% 0 0;*/ display: block; float: left; } .featured-image { /* margin-bottom: 5px;*/ margin-right: 10px; display: inline-block; width: 216px !important; float: left; } .featured-image-page { margin-bottom: 4%; display: inline-block; width: 100% !important; } .page-links { clear: both; margin: 0 0 1.5em; } .entry-meta, .entry-footer { color: #aaa; font-size: 12px; /*letter-spacing: 1px;*/ text-transform: uppercase; } .entry-meta .edit-link { font-size: 18px !important; float: right; } .entry-footer { margin: 6% 0 6% 0; } .entry-footer span { display: block; margin-bottom: 10px; } .cat-links:before, .tags-links:before, .edit-link:before { font-family: 'FontAwesome'; } .cat-links:before { content: "\f0ca"; } .tags-links:before { content: "\f02c"; } .edit-link { font-size: 18px !important; text-align: right; } .edit-link:before { content: "\f044"; margin-right: 3px; } .page-links { color: #aaa; letter-spacing: 1px; text-transform: uppercase; } .post-navigation { border-top: 2px solid #f5f5f5; border-bottom: 2px solid #f5f5f5; color: #333; font-size: 18px; padding: 6% 0; } .post-navigation a { color: #333; } .post-navigation a:visited { color: #333; } .nav-previous .fa-long-arrow-left { margin-right: 3px; } .nav-next .fa-long-arrow-right { margin-left: 3px; } /* Sticky posts */ .sticky { position: relative; } .sticky-post { background: #2B2F3E; color: #fff; font-size: 16px; letter-spacing: 1px; line-height: 1; padding: 8px 10px; position: absolute; right: 0; text-transform: uppercase; top: 12px; } .archive .sticky-post { display: none; } /*-------------------------------------------------------------- 10.2 Asides --------------------------------------------------------------*/ .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } aside ul { list-style-type: none; margin-left: 0; } /*-------------------------------------------------------------- 10.3 Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } .comment-content p { font-size: 16px; font-size: 1.6rem; } .bypostauthor { display: block; } .comment-list, .children { list-style-type: none; margin-left: 0; } .comment-body { background: #F5F5F5; margin: 7% 0; padding: 6% 7%; } .children .comment { margin-left: 10%; } .comment { -ms-word-wrap: break-word; word-wrap: break-word; } .comment-metadata, .comments-area .edit-link { font-size: 14px; font-size: 1.4rem; letter-spacing: 1px; text-transform: uppercase; } .comment-metadata { margin-top: 5px; } .comment-meta { margin-bottom: 5%; } .comment-author a { color: #333; font-size: 24px; } .bypostauthor .comment-body { border-left: 6px solid #48A3A6; } .comment-author .fn { margin-left: 5px; } .says { display: none; } .avatar { -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; vertical-align: middle; } .comment-meta .edit-link, .edit-link { color: #aaa; float: right; } .comment-form-author, .comment-form-email, .comment-form-url { display: inline-block; width: 100%; } .comment-form label { color: #aaa; display: inline-block; font-size: 16px; font-weight: bold; letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase } .comment-form input { width: 100% } .comment-form #submit { width: auto; } #respond { margin-top: 10%; } .comment-reply-link { letter-spacing: 1px; text-transform: uppercase; } .no-comments { color: #aaa; letter-spacing: 1px; text-transform: uppercase; } /*-------------------------------------------------------------- 10.4 Footer --------------------------------------------------------------*/ .site-footer { background: #f5f5f5; font-size: 18px; padding: 5% 0 0 0; } .site-info { background: #2B2F3E; color: #d2d2d2; font-size: 16px; padding: 34px 0; } /*-------------------------------------------------------------- 10.5 Archives --------------------------------------------------------------*/ .archive-title { color: #aaa; font-size: 24px; font-weight: 300; letter-spacing: 1px; text-transform: uppercase; } /*-------------------------------------------------------------- 11.0 Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .paging-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 img.wp-smiley, .entry-content img.wp-smiley, .comment-content img.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 { color: #aaa; font-size: 16px; font-style: italic; margin: 0.8075em 0; } /*-------------------------------------------------------------- 12.2 Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; margin-bottom: 1em; margin-top: 10px; 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 { color: #aaa; display: block; font-size: 16px; } /*-------------------------------------------------------------- 13.0 Media Queries --------------------------------------------------------------*/ @media all and (min-width: 800px) { /*-------------------------------------------------------------- 13.1 Header --------------------------------------------------------------*/ .header-image { height: 250px; } .site-description { font-size: 24px; } h1.site-title a { font-size: 60px; } /*-------------------------------------------------------------- 13.2 Footer --------------------------------------------------------------*/ .footer-widget-wrapper { float: left; margin-right: 4%; width: 30%; } #footer-widgets .footer-widget-wrapper:last-child { margin-right: 0; } } @media all and (min-width: 1025px) { /*-------------------------------------------------------------- 13.3 Structure and Type --------------------------------------------------------------*/ #primary { float: left; width: 65%; } #secondary { display: block; float: right; width: 28%; } .header-image { height: 250px; } h1 { font-size: 30px; } h2 { font-size: 28px; } body, button, input, select, textarea { font-size: 14px; font-size: 2rem; line-height: 1.6; } /*-------------------------------------------------------------- 13.4 Navigation --------------------------------------------------------------*/ .main-navigation { clear: both; display: block; float: left; width: 100%; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation li { border-top: none; float: left; position: relative; } .main-navigation li.menu-item-has-children > a:after { color: #FFFFFF; content: "\f107"; font-family: 'FontAwesome'; margin-left: 6px; } .main-navigation li.menu-item-has-children > a:hover:after { color: #fff; } .main-navigation a { margin-right: 26px; padding: 18px 0; color: #FFFFFF; } .main-navigation .search-button { margin-right: 0; } .main-navigation ul ul { background: #2B2F3E; float: left; left: -999em; position: absolute; z-index: 99999; } .main-navigation ul ul li.menu-item-has-children > a:after { color: #FFFFFF; content: "\f105"; font-family: 'FontAwesome'; margin-left: 6px; } .main-navigation ul ul li.menu-item-has-children > a:hover:after { color: #fff; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul li { border-top: 1px solid rgba(255,255,255,0.1); margin: 0 20px; padding-left: 0; width: 250px; } .main-navigation ul ul ul li { padding-left: 0; width: 250px; } .main-navigation ul ul li:first-child { border-top: none; } .main-navigation ul li:hover > ul { left: auto; } .main-navigation ul ul li:hover > ul { left: 100%; } .main-navigation .current_page_item a, .main-navigation .current-menu-item a { color: #006D84; } /*Small menu*/ .menu-toggle { display: none; } .main-navigation ul { display: block; } a.search-button { } .clear.clear-mobile-menu { display: none; } .mobile-search { display: none; } .mobile-search form .search-field { max-width: 800px; } /*Typography*/ h1 { font-size: 50px; } } @media all and (max-width: 800px) { /*-------------------------------------------------------------- 13.5 Alignments --------------------------------------------------------------*/ .alignleft, .alignright, .aligncenter { float: none; margin: 0 auto 1.5em auto; width: auto; } img.alignleft, img.alignright { display: block; float: none; margin: 1.5em auto; } .header-image { background: #00b6be !important; } .site-branding{ margin-left: -100px !important } }