/******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Main Stylesheet * *******************************************************************/ article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } audio, canvas, video { display: inline-block; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } /******************************************************************** * Base * *******************************************************************/ html { font-family: "Open Sans", sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; color: black; } body { margin: 0; } /******************************************************************** * Links * *******************************************************************/ a { text-decoration: none; background: none; color: #0099D5; } a:focus { outline: thin dotted; } a:active, a:hover { outline: 0; } /******************************************************************** * Typography * *******************************************************************/ h1 { margin: 0.67em 0; font-size: 2em; } abbr[title] { border-bottom: 1px dotted; } b, strong, .strong { font-weight: bold; } dfn, em, .em { font-style: italic; } hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } p { -webkit-hyphens: auto; -epub-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } pre { margin: 0; } code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; } pre { white-space: pre-wrap; } q { quotes: "\201C" "\201D" "\2018" "\2019"; } q:before, q:after { content: ''; content: none; } small, .small { font-size: 75%; } sub, sup { vertical-align: baseline; position: relative; line-height: 0; font-size: 75%; } sup { top: -0.5em; } sub { bottom: -0.25em; } /******************************************************************** * Lists * *******************************************************************/ dl, menu, ol, ul { margin: 1em 0; } dd { margin: 0; } menu { padding: 0 0 0 40px; } ol, ul { list-style-type: none; padding: 0; } nav ul, nav ol { list-style-image: none; list-style: none; } img { border: 0; } svg:not(:root) { overflow: hidden; } /******************************************************************** * Figures * *******************************************************************/ figure { margin: 0; } /******************************************************************** * Forms * *******************************************************************/ fieldset { padding: 0.35em 0.625em 0.75em; border: 1px solid #c0c0c0; margin: 0 2px; } legend { border: 0; padding: 0; } button, input, select, textarea { font-size: 100%; margin: 0; } button, input { line-height: normal; } 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; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="search"] { -webkit-box-sizing: content-box; -webkit-appearance: textfield; -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; } textarea { vertical-align: top; overflow: auto; } /******************************************************************** * Tables * *******************************************************************/ table { border-collapse: collapse; border-spacing: 0; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .image-replacement, .ir { white-space: nowrap; text-indent: 100%; overflow: hidden; } .clearfix, .cf, .comment-respond { zoom: 1; } .clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after { content: ""; display: table; } .clearfix:after, .cf:after, .comment-respond:after { clear: both; } span.amp { font-family: Baskerville, 'Goudy Old Style', Palatino, 'Book Antiqua', serif !important; font-style: italic; } /******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Variables * ******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Typography * *******************************************************************/ p { -ms-word-break: break-all; -ms-word-wrap: break-all; word-break: break-word; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; -webkit-hyphenate-before: 2; -webkit-hyphenate-after: 3; hyphenate-lines: 3; -webkit-font-feature-settings: "liga", "dlig"; -moz-font-feature-settings: "liga=1, dlig=1"; -ms-font-feature-settings: "liga", "dlig"; -o-font-feature-settings: "liga", "dlig"; font-feature-settings: "liga", "dlig"; } /******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Sass Functions * ******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Mixins Stylesheet * ******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Grid Stylesheet * *******************************************************************/ .last-col { padding-right: 0 !important; float: right; } @media (max-width: 767px) { .m-all { float: left; padding-right: 0.75em; width: 100%; padding-right: 0; } .m-1of2 { float: left; padding-right: 0.75em; width: 50%; } .m-1of3 { float: left; padding-right: 0.75em; width: 33.33%; } .m-2of3 { float: left; padding-right: 0.75em; width: 66.66%; } .m-1of4 { float: left; padding-right: 0.75em; width: 25%; } .m-3of4 { float: left; padding-right: 0.75em; width: 75%; } } @media (min-width: 768px) and (max-width: 1029px) { .t-all { float: left; padding-right: 0.75em; width: 100%; padding-right: 0; } .t-1of2 { float: left; padding-right: 0.75em; width: 50%; } .t-1of3 { float: left; padding-right: 0.75em; width: 33.33%; } .t-2of3 { float: left; padding-right: 0.75em; width: 66.66%; } .t-1of4 { float: left; padding-right: 0.75em; width: 25%; } .t-3of4 { float: left; padding-right: 0.75em; width: 75%; } .t-1of5 { float: left; padding-right: 0.75em; width: 20%; } .t-2of5 { float: left; padding-right: 0.75em; width: 40%; } .t-3of5 { float: left; padding-right: 0.75em; width: 60%; } .t-4of5 { float: left; padding-right: 0.75em; width: 80%; } } @media (min-width: 1030px) { .d-all { float: left; padding-right: 0.75em; width: 100%; padding-right: 0; } .d-1of2 { float: left; padding-right: 0.75em; width: 50%; } .d-1of3 { float: left; padding-right: 0.75em; width: 33.33%; } .d-2of3 { float: left; padding-right: 0.75em; width: 66.66%; } .d-1of4 { float: left; padding-right: 0.75em; width: 25%; } .d-3of4 { float: left; padding-right: 0.75em; width: 75%; } .d-1of5 { float: left; padding-right: 0.75em; width: 20%; } .d-2of5 { float: left; padding-right: 0.75em; width: 40%; } .d-3of5 { float: left; padding-right: 0.75em; width: 60%; } .d-4of5 { float: left; padding-right: 0.75em; width: 80%; } .d-1of6 { float: left; padding-right: 0.75em; width: 16.6666666667%; } .d-1of7 { float: left; padding-right: 0.75em; width: 14.2857142857%; } .d-2of7 { float: left; padding-right: 0.75em; width: 28.5714286%; } .d-3of7 { float: left; padding-right: 0.75em; width: 42.8571429%; } .d-4of7 { float: left; padding-right: 0.75em; width: 57.1428572%; } .d-5of7 { float: left; padding-right: 0.75em; width: 71.4285715%; } .d-6of7 { float: left; padding-right: 0.75em; width: 85.7142857%; } .d-1of8 { float: left; padding-right: 0.75em; width: 12.5%; } .d-1of9 { float: left; padding-right: 0.75em; width: 11.1111111111%; } .d-1of10 { float: left; padding-right: 0.75em; width: 10%; } .d-1of11 { float: left; padding-right: 0.75em; width: 9.09090909091%; } .d-1of12 { float: left; padding-right: 0.75em; width: 8.33%; } } /******************************************************************** * Site Name: BeSteurful * * Author Boudewijn Steur * * * * Stylesheet: Alert Styles * *******************************************************************/ .alert-help, .alert-info, .alert-error, .alert-success { margin: 10px; padding: 5px 18px; border: 1px solid; } .alert-help { border-color: #e8dc59; background: #ebe16f; } .alert-info { border-color: #bfe4f4; background: #d5edf8; } .alert-error { border-color: #f8cdce; background: #fbe3e4; } .alert-success { border-color: #deeaae; background: #e6efc2; } /******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Button Styles * *******************************************************************/ .blue-btn, .comment-reply-link, #submit, input[type="submit"] { -webkit-transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out; text-decoration: none; font-weight: normal; line-height: 34px; font-size: 0.9em; color: white; display: inline-block; border-radius: 3px; border: 0px none; position: relative; padding: 0 24px; cursor: pointer; } .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus, input[type="submit"]:hover,, input[type="submit"]:focus { color: white; text-decoration: none; } .blue-btn:active, .comment-reply-link:active, #submit:active, input[type="submit"]:active { top: 1px; } .blue-btn, .comment-reply-link, #submit, input[type="submit"] { background-color: #0099D5; } .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus, input[type="submit"]:hover, input[type="submit"]:focus { background-color: #0074A2; } .blue-btn:active, .comment-reply-link:active, #submit:active, input[type="submit"]:active { background-color: #0074A2; } /******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Form Styles * *******************************************************************/ input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .field { -webkit-transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out; background-color: #E5E5E5; vertical-align: middle; margin-bottom: 14px; border-radius: 3px; line-height: 40px; box-shadow: none; padding: 0 12px; font-size: 1em; display: block; height: 40px; width: 100%; border: 0; } input[type="text"]:focus, input[type="text"]:active, input[type="password"]:focus, input[type="password"]:active, input[type="datetime"]:focus, input[type="datetime"]:active, input[type="datetime-local"]:focus, input[type="datetime-local"]:active, input[type="date"]:focus, input[type="date"]:active, input[type="month"]:focus, input[type="month"]:active, input[type="time"]:focus, input[type="time"]:active, input[type="week"]:focus, input[type="week"]:active, input[type="number"]:focus, input[type="number"]:active, input[type="email"]:focus, input[type="email"]:active, input[type="url"]:focus, input[type="url"]:active, input[type="search"]:focus, input[type="search"]:active, input[type="tel"]:focus, input[type="tel"]:active, input[type="color"]:focus, input[type="color"]:active, select:focus, select:active, textarea:focus, textarea:active, .field:focus, .field:active { background-color: #F5F5F5; } input[type="text"].error, input[type="text"].is-invalid, input[type="password"].error, input[type="password"].is-invalid, input[type="datetime"].error, input[type="datetime"].is-invalid, input[type="datetime-local"].error, input[type="datetime-local"].is-invalid, input[type="date"].error, input[type="date"].is-invalid, input[type="month"].error, input[type="month"].is-invalid, input[type="time"].error, input[type="time"].is-invalid, input[type="week"].error, input[type="week"].is-invalid, input[type="number"].error, input[type="number"].is-invalid, input[type="email"].error, input[type="email"].is-invalid, input[type="url"].error, input[type="url"].is-invalid, input[type="search"].error, input[type="search"].is-invalid, input[type="tel"].error, input[type="tel"].is-invalid, input[type="color"].error, input[type="color"].is-invalid, select.error, select.is-invalid, textarea.error, textarea.is-invalid, .field.error, .field.is-invalid { background-position: 99% center; background-repeat: no-repeat; background-color: white; outline-color: #EB432C; border-color: #EB432C; color: #EB432C; } input[type="text"].success, input[type="text"].is-valid, input[type="password"].success, input[type="password"].is-valid, input[type="datetime"].success, input[type="datetime"].is-valid, input[type="datetime-local"].success, input[type="datetime-local"].is-valid, input[type="date"].success, input[type="date"].is-valid, input[type="month"].success, input[type="month"].is-valid, input[type="time"].success, input[type="time"].is-valid, input[type="week"].success, input[type="week"].is-valid, input[type="number"].success, input[type="number"].is-valid, input[type="email"].success, input[type="email"].is-valid, input[type="url"].success, input[type="url"].is-valid, input[type="search"].success, input[type="search"].is-valid, input[type="tel"].success, input[type="tel"].is-valid, input[type="color"].success, input[type="color"].is-valid, select.success, select.is-valid, textarea.success, textarea.is-valid, .field.success, .field.is-valid { background-position: 99% center; background-repeat: no-repeat; background-color: white; outline-color: #0099D5; border-color: #0099D5; color: #0099D5; } input[type="text"][disabled], input[type="text"].is-disabled, input[type="password"][disabled], input[type="password"].is-disabled, input[type="datetime"][disabled], input[type="datetime"].is-disabled, input[type="datetime-local"][disabled], input[type="datetime-local"].is-disabled, input[type="date"][disabled], input[type="date"].is-disabled, input[type="month"][disabled], input[type="month"].is-disabled, input[type="time"][disabled], input[type="time"].is-disabled, input[type="week"][disabled], input[type="week"].is-disabled, input[type="number"][disabled], input[type="number"].is-disabled, input[type="email"][disabled], input[type="email"].is-disabled, input[type="url"][disabled], input[type="url"].is-disabled, input[type="search"][disabled], input[type="search"].is-disabled, input[type="tel"][disabled], input[type="tel"].is-disabled, input[type="color"][disabled], input[type="color"].is-disabled, select[disabled], select.is-disabled, textarea[disabled], textarea.is-disabled, .field[disabled], .field.is-disabled { cursor: not-allowed; border-color: #E5E5E5; opacity: 0.6; } input[type="text"][disabled]:focus, input[type="text"][disabled]:active, input[type="text"].is-disabled:focus, input[type="text"].is-disabled:active, input[type="password"][disabled]:focus, input[type="password"][disabled]:active, input[type="password"].is-disabled:focus, input[type="password"].is-disabled:active, input[type="datetime"][disabled]:focus, input[type="datetime"][disabled]:active, input[type="datetime"].is-disabled:focus, input[type="datetime"].is-disabled:active, input[type="datetime-local"][disabled]:focus, input[type="datetime-local"][disabled]:active, input[type="datetime-local"].is-disabled:focus, input[type="datetime-local"].is-disabled:active, input[type="date"][disabled]:focus, input[type="date"][disabled]:active, input[type="date"].is-disabled:focus, input[type="date"].is-disabled:active, input[type="month"][disabled]:focus, input[type="month"][disabled]:active, input[type="month"].is-disabled:focus, input[type="month"].is-disabled:active, input[type="time"][disabled]:focus, input[type="time"][disabled]:active, input[type="time"].is-disabled:focus, input[type="time"].is-disabled:active, input[type="week"][disabled]:focus, input[type="week"][disabled]:active, input[type="week"].is-disabled:focus, input[type="week"].is-disabled:active, input[type="number"][disabled]:focus, input[type="number"][disabled]:active, input[type="number"].is-disabled:focus, input[type="number"].is-disabled:active, input[type="email"][disabled]:focus, input[type="email"][disabled]:active, input[type="email"].is-disabled:focus, input[type="email"].is-disabled:active, input[type="url"][disabled]:focus, input[type="url"][disabled]:active, input[type="url"].is-disabled:focus, input[type="url"].is-disabled:active, input[type="search"][disabled]:focus, input[type="search"][disabled]:active, input[type="search"].is-disabled:focus, input[type="search"].is-disabled:active, input[type="tel"][disabled]:focus, input[type="tel"][disabled]:active, input[type="tel"].is-disabled:focus, input[type="tel"].is-disabled:active, input[type="color"][disabled]:focus, input[type="color"][disabled]:active, input[type="color"].is-disabled:focus, input[type="color"].is-disabled:active, select[disabled]:focus, select[disabled]:active, select.is-disabled:focus, select.is-disabled:active, textarea[disabled]:focus, textarea[disabled]:active, textarea.is-disabled:focus, textarea.is-disabled:active, .field[disabled]:focus, .field[disabled]:active, .field.is-disabled:focus, .field.is-disabled:active { background-color: #0074A2; } input[type="password"] { letter-spacing: 0.3em; } textarea { line-height: 1.5em; min-height: 120px; max-width: 100%; } select { background-position: 97.5% center; background-repeat: no-repeat; -webkit-appearance: none; } /******************************************************************** * Site Name: BeSteurful * * Author: Boudewijn Steur * * * * Stylesheet: Base Mobile Stylesheet * *******************************************************************/ body { -webkit-font-smoothing: antialiased; line-height: 1.5; font-size: 100%; color: black; } body.front { background-attachment: fixed; background-repeat: no-repeat; background-size: 100%; } .wrap { margin: 0 auto; width: 96%; } /******************************************************************** * Link Styles * *******************************************************************/ a, a:visited { color: #0099D5; } a:hover, a:focus, a:visited:hover, a:visited:focus { color: #0074A2; } a:link, a:visited:link { -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); } /******************************************************************** * h1, h2, h3, h4, h5 Styles * *******************************************************************/ h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 { text-rendering: optimizelegibility; font-weight: 500; } h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a { text-decoration: none; } h1, .h1 { line-height: 1.333em; font-size: 2.5em; } h2, .h2 { margin-bottom: 0.375em; line-height: 1.4em; font-size: 1.75em; } h3, .h3 { font-size: 1.125em; } h4, .h4 { font-weight: 700; font-size: 1.1em; } h5, .h5 { text-transform: uppercase; letter-spacing: 2px; line-height: 2.09em; font-size: 0.846em; } /******************************************************************** * Header Styles * *******************************************************************/ .header { position: fixed; z-index: 97; width: 100%; height: 48px; top: 0; } @media only screen and (max-width: 782px) { body.admin-bar .header { top: 46px; } html { padding-top: 46px !important; } } @media only screen and (min-width: 783px) { body.admin-bar .header { top: 32px;padding-bottom: 33px; } html { margin-top: 32px !important; } } @media only screen and (max-width: 768px){ #header-shadow { padding-top: 43px; } } .inner-header { background-color: #E5E5E5; } #logo { margin: 0.75em 0; } #logo a { color: #0099D5; } /******************************************************************** * Navigation Styles * *******************************************************************/ .nav { border-bottom: 0; margin: 0; } .nav li {} .nav li a { text-decoration: none; padding: 0.75em; display: block; color: #333; } .social { height: 48px; width: 48px; } .social a { height: 48px; width: 48px; } .mi-mail a { background-image: url("../images/social/email.png") !important; } .mi-rss a { background-image: url("../images/social/rss.png") !important; } .mi-youtube a { background-image: url("../images/social/youtube.png") !important; } .mi-linkedin a { background-image: url("../images/social/linkedin.png") !important; } .mi-facebook a { background-image: url("../images/social/facebook.png") !important; } .nav li ul.sub-menu li a, .nav li ul.children li a { padding-left: 30px; } /******************************************************************** * Posts & Content Styles * *******************************************************************/ #content { background-color: white; (content: "";) } .hentry footer p { margin: 0; } .single-title, .page-title, .entry-title { display: inline-block; padding: 7px; margin: 0; } .single-title a#blog-name, .single-title a#blog-name:visited, .single-title a#blog-name:hover, .single-title a#blog-name:focus, .single-title a#blog-name:visited:hover, .single-title a#blog-name:visited:focus, .page-title a#blog-name, .page-title a#blog-name:visited, .page-title a#blog-name:hover, .page-title a#blog-name:focus, .page-title a#blog-name:visited:hover, .page-title a#blog-name:visited:focus, .entry-title a#blog-name, .entry-title a#blog-name:visited, .entry-title a#blog-name:hover, .entry-title a#blog-name:focus, .entry-title a#blog-name:visited:hover, .entry-title a#blog-name:visited:focus { color: #EB432C; } .byline { font-style: italic; margin: 0; } .entry-content { padding: 1.5em 1.5em 0; } .entry-content p { margin: 0 0 1.5em; } .entry-content table { border: 1px solid #ccc; margin-bottom: 1.5em; width: 100%; } .entry-content table caption { margin: 0 0 7px; font-size: 0.75em; text-transform: uppercase; letter-spacing: 1px; } .entry-content tr { border-bottom: 1px solid #ccc; } .entry-content tr:nth-child(even) { background-color: #DEDEDE; } .entry-content td { border-right: 1px solid #ccc; padding: 7px; } .entry-content td:last-child { border-right: 0; } .entry-content th { border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; background-color: #D6D6D6; } .entry-content th:last-child { border-right: 0; } .entry-content blockquote { border-left: 3px solid #ccc; margin: 0 0 1.5em 0.75em; padding: 0 0 0 0.75em; font-style: italic; } .entry-content dd { margin-bottom: 1.5em; font-size: 0.9em; margin-left: 0; } .entry-content img { margin: 0 0 1.5em 0; max-width: 100%; height: auto; } .entry-content .size-auto, .entry-content .size-full, .entry-content .size-large, .entry-content .size-medium, .entry-content .size-thumbnail { max-width: 100%; height: auto; } .entry-content pre { border-radius: 3px; margin: 0 0 1.5em; font-size: 0.9em; padding: 1.5em; } .wp-caption { background: #E5E5E5; max-width: 100%; padding: 5px; } .wp-caption img { margin-bottom: 0; max-width: 100%; width: 100%; } .wp-caption p.wp-caption-text { text-align: center; font-size: 0.85em; margin: 4px 0 7px; } .tags { margin: 0; } /******************************************************************** * Page Navigation Styles * *******************************************************************/ .pagination, .wp-prev-next { margin: 1.5em 0; } .pagination { text-align: center; } .pagination ul { background-color: white; display: inline-block; white-space: nowrap; border-radius: 3px; clear: both; padding: 0; } .pagination li { border-right: 1px solid #ccc; overflow: hidden; display: inline; float: left; padding: 0; margin: 0; } .pagination a, .pagination span { margin: 0; text-decoration: none; padding: 0; line-height: 1em; font-size: 1em; font-weight: normal; padding: 0.75em; min-width: 1em; display: block; color: #0099D5; } .pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus { background-color: red; color: #0074A2; } .pagination .current { cursor: default; color: #5c6b80; } .pagination .current:hover, .pagination .current:focus { background-color: white; color: #5c6b80; } /* end .besteurful_page_navi */ /* fallback previous & next links */ .wp-prev-next .prev-link { float: left; } .wp-prev-next .next-link { float: right; } /* end .wp-prev-next */ /****************************************************************** COMMENT STYLES ******************************************************************/ /* h3 comment title */ #comments-title { padding: 0.75em; margin: 0; border-top: 1px solid #f8f9fa; /* number of comments span */ } .commentlist { margin: 0; list-style-type: none; } .comment { position: relative; clear: both; overflow: hidden; padding: 1.5em; border-bottom: 1px solid #f8f9fa; /* vcard */ /* end .commentlist .vcard */ /* end children */ /* general comment classes */ } .comment .comment-author { padding: 7px; border: 0; } .comment .vcard { margin-left: 50px; } .comment .vcard cite.fn { font-weight: 700; font-style: normal; } .comment .vcard time { display: block; font-size: 0.9em; font-style: italic; } .comment .vcard time a { color: #9fa6b4; text-decoration: none; } .comment .vcard time a:hover { text-decoration: underline; } .comment .vcard .avatar { position: absolute; left: 16px; border-radius: 50%; } .comment:last-child { margin-bottom: 0; } .comment .children { margin: 0; /* variations */ /* change number for different depth */ } .comment[class*=depth-] { margin-top: 1.1em; } .comment.depth-1 { margin-left: 0; margin-top: 0; } .comment:not(.depth-1) { margin-top: 0; margin-left: 7px; padding: 7px; } .comment.odd { background-color: white; } .comment.even { background: #E5E5E5; } .required { color: #EB432C; float: right; }.comment-notes .required{float: none;} /* comment meta */ /* comment content */ .comment_content p { margin: 0.7335em 0 1.5em; font-size: 1em; line-height: 1.5em; } /* end .commentlist .comment_content */ /* comment reply link */ .comment-reply-link { font-size: 0.9em; float: right; } /* end .commentlist .comment-reply-link */ /* edit comment link */ .comment-edit-link { font-style: italic; margin: 0 7px; text-decoration: none; font-size: 0.9em; } /****************************************************************** COMMENT FORM STYLES ******************************************************************/ .comment-respond { padding: 1.5em; border-top: 1px solid #f8f9fa; } #reply-title { margin: 0; } .logged-in-as { color: #9fa6b4; font-style: italic; margin: 0; } .logged-in-as a { color: #5c6b80; } .comment-form-comment { margin: 1.5em 0 0.75em; } .form-allowed-tags { padding: 1.5em; background-color: #f8f9fa; font-size: 0.9em; } /* comment submit button */ #submit { float: right; font-size: 1em; } /* comment form title */ #comment-form-title { margin: 0 0 1.1em; } /* cancel comment reply link */ /* logged in comments */ /* allowed tags */ #allowed_tags { margin: 1.5em 10px 0.7335em 0; } /* no comments */ .nocomments { margin: 0 20px 1.1em; } /********************* SIDEBARS & ASIDES *********************/ .widget ul li { /* deep nesting */ } .no-widgets { background-color: white; padding: 1.5em; text-align: center; border: 1px solid #cccccc; border-radius: 2px; margin-bottom: 1.5em; } /********************* FOOTER STYLES *********************/ .footer { clear: both; background-color: #E5E5E5; } /* if you checked out the link above: http://www.alistapart.com/articles/organizing-mobile/ you'll want to style the footer nav a bit more in-depth. Remember to keep it simple because you'll have to override these styles for the desktop view. */ /* end .footer-links */ /********************* LARGER MOBILE DEVICES This is for devices like the Galaxy Note or something that's larger than an iPhone but smaller than a tablet. Let's call them tweeners. *********************/ @media only screen and (min-width: 481px) { /****************************************************************** Site Name: Author: Stylesheet: 481px and Up Stylesheet This stylesheet is loaded for larger devices. It's set to 481px because at 480px it would load on a landscaped iPhone. This isn't ideal because then you would be loading all those extra styles on that same mobile connection. A word of warning. This size COULD be a larger mobile device, so you still want to keep it pretty light and simply expand upon your base.scss styles. ******************************************************************/ /* IMPORTANT NOTE ABOUT SASS 3.3 & UP You can't use @extend within media queries anymore, so just be aware that if you drop them in here, they won't work. */ /********************* NAVIGATION STYLES *********************/ /* .menu is clearfixed inside mixins.scss */ .menu { /* end .menu ul */ } .menu ul { /* end .menu ul li */ /* highlight current page */ /* end current highlighters */ } .menu ul li { /* plan your menus and drop-downs wisely. */ } .menu ul li a { /* you can use hover styles here even though this size has the possibility of being a mobile device. */ } /* end .menu */ /********************* POSTS & CONTENT STYLES *********************/ /* entry content */ .entry-content { /* at this larger size, we can start to align images */ } .entry-content .alignleft, .entry-content img.alignleft { margin-right: 1.5em; display: inline; float: left; } .entry-content .alignright, .entry-content img.alignright { margin-left: 1.5em; display: inline; float: right; } .entry-content .aligncenter, .entry-content img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; } /* end .entry-content */ /********************* FOOTER STYLES *********************/ /* check your menus here. do they look good? do they need tweaking? */ /* end .footer-links */ } /********************* TABLET & SMALLER LAPTOPS This is the average viewing window. So Desktops, Laptops, and in general anyone not viewing on a mobile device. Here's where you can add resource intensive styles. *********************/ @media only screen and (min-width: 768px) { /****************************************************************** Site Name: Author: Stylesheet: Tablet & Small Desktop Stylesheet Here's where you can start getting into the good stuff. This size will work on iPads, other tablets, and desktops. So you can start working with more styles, background images, and other resources. You'll also notice the grid starts to come into play. Have fun! ******************************************************************/ /********************* GENERAL STYLES *********************/ /********************* LAYOUT & GRID STYLES *********************/ .wrap { width: 760px; } /********************* HEADER STYLES *********************/ /********************* NAVIGATION STYLES *********************/ .nav { border: 0; } .nav ul { background: #323944; margin-top: 0; } .nav li { float: left; position: relative; } .nav li a { transition: all 0.5s; border-bottom: 0; } .nav li a:hover, .nav li a:focus { background: none repeat scroll 0% 0% #FFF; color: #45BBE6; } .nav li ul.sub-menu, .nav li ul.children { margin-top: 0; border: 1px solid #ccc; border-top: 0; position: absolute; visibility: hidden; z-index: 8999; } .nav li ul.sub-menu li, .nav li ul.children li { } .nav li ul.sub-menu li a, .nav li ul.children li a { padding-left: 10px; border-right: 0; display: block; width: 180px; border-bottom: 1px solid #ccc; } .nav li ul.sub-menu li:last-child a, .nav li ul.children li:last-child a { border-bottom: 0; } .nav li ul.sub-menu li ul, .nav li ul.children li ul { top: 0; left: 100%; } .nav li:hover > ul { top: auto; visibility: visible; } /* end .nav */ /********************* SIDEBARS & ASIDES *********************/ .sidebar-footer { max-width: 1220px; text-align: left; overflow: hidden; margin: 0px auto; } .widgettitle { color: #EB432C; text-align: center; } .widget, .widget-footer { padding: 0 10px; margin-bottom: 2.2em; } .widget-footer {max-width: 25%; box-sizing: border-box; width: calc(23% + 9px); display: inline-block; vertical-align: top; padding-left: 5px; padding: 15px; margin: 5px;} .widget ul li, widget-footer ul li { margin-bottom: 0.75em; /* deep nesting */ } .widget ul li ul, .widget-footer ul li ul { margin-top: 0.75em; padding-left: 1em; } /* links widget */ /* meta widget */ /* pages widget */ /* recent-posts widget */ /* archives widget */ /* tag-cloud widget */ /* calendar widget */ /* category widget */ /* recent-comments widget */ /* search widget */ /* text widget */ /********************* FOOTER STYLES *********************/ /* you'll probably need to do quite a bit of overriding here if you styled them for mobile. Make sure to double check these! */ .footer-links ul li { /* be careful with the depth of your menus. it's very rare to have multi-depth menus in the footer. */ } /* end .footer-links */ } /********************* DESKTOP This is the average viewing window. So Desktops, Laptops, and in general anyone not viewing on a mobile device. Here's where you can add resource intensive styles. *********************/ @media only screen and (min-width: 1030px) { /****************************************************************** Site Name: Author: Stylesheet: Desktop Stylsheet This is the desktop size. It's larger than an iPad so it will only be seen on the Desktop. ******************************************************************/ .wrap { width: 1040px; } } /********************* LARGE VIEWING SIZE This is for the larger monitors and possibly full screen viewers. *********************/ @media only screen and (min-width: 1240px) { .wrap { width: 1250px; } /****************************************************************** Site Name: Author: Stylesheet: Super Large Monitor Stylesheet You can add some advanced styles here if you like. This kicks in on larger screens. ******************************************************************/ } /********************* RETINA (2x RESOLUTION DEVICES) This applies to the retina iPhone (4s) and iPad (2,3) along with other displays with a 2x resolution. You can also create a media query for retina AND a certain size if you want. Go Nuts. *********************/ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { /****************************************************************** Site Name: Author: Stylesheet: Retina Screens & Devices Stylesheet When handling retina screens you need to make adjustments, especially if you're not using font icons. Here you can add them in one neat place. ******************************************************************/ /* EXAMPLE Let's say you have an image and you need to make sure it looks ok on retina screens. Let's say we have an icon which dimension are 24px x 24px. In your regular stylesheets, it would look something like this: .icon { width: 24px; height: 24px; background: url(img/test.png) no-repeat; } For retina screens, we have to make some adjustments, so that image doesn't look blurry. So, taking into account the image above and the dimensions, this is what we would put in our retina stylesheet: .icon { background: url(img/test@2x.png) no-repeat; background-size: 24px 24px; } So, you would create the same icon, but at double the resolution, meaning it would be 48px x 48px. You'd name it the same, but with a @2x at the end (this is pretty standard practice). Set the background image so it matches the original dimensions and you are good to go. */ } /********************* PRINT STYLESHEET Feel free to customize this. Remember to add things that won't make sense to print at the bottom. Things like nav, ads, and forms should be set to display none. *********************/ @media print { /****************************************************************** Site Name: Author: Stylesheet: Print Stylesheet This is the print stylesheet. There's probably not a lot of reasons to edit this stylesheet. If you want to though, go for it. ******************************************************************/ * { background: transparent !important; color: black !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; } a, a:visited { color: #444 !important; text-decoration: underline; } a:after, a:visited:after { content: " (" attr(href) ")"; } a abbr[title]:after, a:visited abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } .sidebar, .page-navigation, .wp-prev-next, .respond-form, nav { display: none; } } /* Shadow */ .shadow-bottom { box-shadow: 0px -2px 10px 5px #E5E5E5 } .shadow-top {} .edit-link { font-size: 10px; } .post-edit-link { color: #0099D5; } /* Featured Image */ img.attachment-post-thumbnail { height: 60px; float: right; width: auto; } /* Featured Post */ .featured { padding: 15px; border: 1px solid #CCC; }