/* ===================================================================== * Keep It Simple v2.0 Layout Stylesheet * url: styleshout.com * 07-12-2014 ===================================================================== TOC: a. Default Overrides and Common Styles b. Header Styles c. Content d. Sidebar e. Entry f. Archives g. Footer ===================================================================== */ /* a. Default Overrides and Common Styles /* ------------------------------------------------------------------ */ body { background: #f6f5f5; border-top: 6px solid #ee1c25; } .page { padding-bottom: 18px; margin-bottom: 36px; } .page h2, .entry h2, .entry h2 a { font: 31px/36px "opensans-semibold", sans-serif; color: #444; margin-bottom: 0; letter-spacing: -0.5px; } .page h2 { margin-bottom: 18px; } /* b. Header Styles /* ------------------------------------------------------------------ */ header { width: 100%; height: 150px; background: #fff; } header#chattop { width: 100%; height: 30px; background: #fff; } header .header-content { background: #fff url(img/header-content-bg.png) no-repeat right bottom; height: 170px; border-bottom: 1px dashed #e8e8e8; position: relative; } /* header logo */ header h1#logo-text { margin: 0; padding: 0; /* change the values of top and left to adjust the position of the logo text */ position: absolute; top: 60px; left: 18px; } header h1#logo-text a { margin: 0; padding: 0; font: normal 75px Georgia, Serif; letter-spacing: -5px; color: #ee1c25; text-decoration: none; } header p#intro { margin: 0; padding: 0; font: 16px/24px "opensans-light", Georgia, Serif; font-weight: normal; color: #c8c8c8; width: 400px; /* change the values of top and left to adjust the position */ position: absolute; top: 140px; left: 30px; } /* primary navigation --------------------------------------------------------------------- */ #nav-wrap, #nav-wrap ul, #nav-wrap li, #nav-wrap a { margin: 0; padding: 0; border: none; outline: none; } /* nav-wrap */ #nav-wrap { font: 12px "opensans-bold", sans-serif; text-transform: uppercase; letter-spacing: 2px; background: #f5f4f3; border-bottom: 1px solid #eae8e8; width: 100%; float: left; position: absolute; top: 6px; left: 0; } /* hide toggle button */ #nav-wrap > a { display: none; } ul#nav { min-height: 50px; width: auto; margin-left: 20px; float: left; position: relative; top: 0; /* left align the menu */ text-align: left; } ul#nav li { position: relative; list-style: none; height: 50px; display: inline-block; padding-top: 10px; } /* float left to remove gaps between 1st level list items */ ul#nav > li { float: left; } /* Links */ ul#nav li a { display: inline-block; padding: 0 15px; line-height: 40px; text-decoration: none; color: #666666; -webkit-transition: color 0.2s ease-in-out; -moz-transition: color 0.2s ease-in-out; -o-transition: color 0.2s ease-in-out; -ms-transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out; } ul#nav li a:hover { color: #222; } ul#nav li a:active { background-color: transparent !important; } ul#nav li.current > a { background: #fff; padding: 0 14px; border-right: 1px solid #eae8e8; border-top: 1px solid #eae8e8; border-left: 1px solid #eae8e8; border-radius: 3px 3px 0 0; } /* sub menu */ ul#nav ul { position: absolute; top: 52px; left: 0px; padding-bottom: 12px; background: #f5f4f3; min-width: 100%; border: 1px solid #eae8e8; border-top: none; z-index: 20; border-radius: 0 0 3px 3px; /* for transition effects */ opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity 0.25s ease 0.1s; -moz-transition: opacity 0.25s ease 0.1s; -o-transition: opacity 0.25s ease 0.1s; -ms-transition: opacity 0.25s ease 0.1s; transition: opacity 0.25s ease 0.1s; } /* ul#nav ul ul { position: absolute; top: 0; left: 100%; border-radius: 0 3px 3px 0; } */ ul#nav ul li { padding: 0; display: block; text-align: left; /* for transition effects */ height: 0; overflow: hidden; -webkit-transition: height 0.25s ease 0.1s; -moz-transition: height 0.25s ease 0.1s; -o-transition: height 0.25s ease 0.1s; -ms-transition: height 0.25s ease 0.1s; transition: height 0.25s ease 0.1s; } /* on hover */ ul#nav li:hover > ul { opacity: 1; filter: alpha(opacity=100); } ul#nav li:hover > ul li { height: 42px; overflow: visible; } /* sub menu anchor links */ ul#nav ul li a { padding: 6px 20px; margin: 0; white-space: nowrap; font-size: 13px; font-family: "opensans-regular", sans-serif; text-transform: none; letter-spacing: 0; } /* c. Content --------------------------------------------------------------------- */ #content-wrap { background: #fff; padding: 42px 0 36px 0; } #content-wrap-chat { background: #fff; padding: 42px 0 36px 0; } #content-wrap #main { padding-right: 40px; } /* d. Sidebar --------------------------------------------------------------------- */ #sidebar { padding-top: 0px; padding-left: 40px; } #sidebar h3 { font: 15px/24px "opensans-bold", sans-serif; text-transform: uppercase; letter-spacing: 1px; } #sidebar .widget { margin-bottom: 18px; } #sidebar p { margin-bottom: 12px; } #sidebar hr { margin-bottom: 24px; } /* search */ #sidebar .widget_search { padding-top: 0; margin-bottom: 36px; } #sidebar .widget_search h3 { display: none; } #sidebar .widget_search form { position: relative; margin: 0; } #sidebar .widget_search .text-search { padding-right: 40px; border: none; width: 100%; min-width: 150px; border-radius: 3px; } #sidebar .widget_search .submit-search { background: url(img/search-icon.png) no-repeat; box-shadow: none; border: none; cursor: pointer; width: 18px; height: 18px; min-height: 18px; margin: -9px 0 0 0; padding: 0; position: absolute; top: 50%; right: 18px; } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { #sidebar .widget_search .submit-search { background: url(img/search-icon_@2x.png) no-repeat; background-size: 18px 18px; } } /* categories */ #sidebar .widget_categories { } #sidebar .widget_categories ul { margin-top: 12px; margin-bottom: 24px; } /* link List */ #sidebar .link-list { padding: 0; margin: 18px 0 24px 0; } #sidebar .link-list li { font: 15px/30px "merriweather-regular", sans-serif; padding: 8px 0; margin: 0; border-bottom: 1px dotted #e6e6e6; } #sidebar .link-list li:first-child { border-top: 1px dotted #e6e6e6; } #sidebar .link-list li a { color: #4a5153; } #sidebar .link-list li a:hover { color: #313131; /* color: #93B876; */ } /* tag cloud */ #sidebar .tagcloud { margin: 18px 0 24px -12px; padding: 0; font-size: 17px; } #sidebar .tagcloud a { font: 12px/24px "opensans-bold", sans-serif !important; display: inline-block; float: left; margin: 0 0 12px 12px; padding: 6px 15px; position: relative; text-transform: uppercase; letter-spacing: 0.5px; background: #e9ebee; text-decoration: none; letter-spacing: 0.5px; color: #778888; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; border-radius: 3px; } #sidebar .tagcloud a:hover { color: #fff; background: #93b876; } /* e. Entry /* ------------------------------------------------------------------ */ .entry { padding-bottom: 12px; margin-bottom: 24px; } .entry header { height: auto; } .entry .entry-meta ul { margin: 6px 0 18px; color: #b7b9bd; line-height: 24px; } .entry .entry-meta ul li { display: inline; margin: 0; padding: 0; font-size: 14px; font-family: "merriweather-regular", sans-serif; } .entry .entry-meta ul .meta-sep { } .entry .entry-meta ul li a { color: #b7b9bd; } .entry .entry-content-media { margin: 24px 0 18px; } .entry .tags { margin-top: 18px; font-family: "opensans-regular", sans-serif; color: #888; } .entry .tags a { font-family: "opensans-bold", sans-serif; } /* post-nav */ .post-nav { margin: 18px 0 6px; padding: 12px 0 0 0; font: 15px/30px "opensans-light", sans-serif; } .post-nav li { display: inline-block; margin: 0; padding: 0; width: 49%; line-height: 30px; } .post-nav li a { color: #888; } .post-nav li strong { font: 16px/30px "opensans-bold", sans-serif; text-transform: uppercase; color: #93b876; letter-spacing: 0.5px; display: block; } .post-nav li.next { float: right; text-align: right; } .post-nav li.prev { float: left; text-align: left; } /* Comments -------------------------------------------- */ #comments { padding-top: 12px; padding-bottom: 12px; } #comments h3 { font: 20px/30px "opensans-bold", sans-serif; margin-bottom: 6px; } /* Comments List */ ol.commentlist { border-top: 1px dotted #e1e5e3; margin: 29px 0 54px 0; padding: 0; } .commentlist > li { position: relative; list-style: none; margin: 0; border-bottom: 1px dotted #d9dedb; padding: 24px 0 17px 0; padding-left: 14%; } .commentlist li .avatar { position: absolute; left: 0px; display: block; height: 48px; width: 48px; } .commentlist li .avatar img { margin-top: 6px; height: 48px; width: 48px; border-radius: 100%; } .commentlist li .comment-info cite { font: 16px/30px "opensans-bold", sans-serif; color: #454545; } .commentlist li .comment-info .comment-meta { font-size: 14px; line-height: 24px; display: block; } .commentlist li .comment-info .comment-meta .reply { font-family: "opensans-bold", sans-serif; } .commentlist li .comment-info .comment-meta .sep { margin: 0 5px; color: #aeb6b7; } .commentlist li .comment-text { clear: both; margin: 18px 0 0 0; padding: 0; line-height: 30px; } /* children */ .commentlist li ul.children { margin: 0; padding: 18px 0 0 0; } .commentlist li ul.children li { padding-left: 5%; padding-top: 17px; border-top: 1px dotted #d9dedb; } /* comment form ----------------------------------------- */ #comments form { margin-top: 36px; } #comments form label { padding-left: 24px; width: 41.66667%; float: right; } #comments form div { margin: 12px 0 18px 0; } #comments form input, #comments form textarea, #comments form select { width: 58.33333%; float: left; } #comments form .message label { display: none; } #comments form textarea { width: 100%; } #comments form button.submit { text-transform: uppercase; letter-spacing: 2px; display: block; margin-top: 12px; } #comments form span.required { color: #93b876; font-size: 15px; } /* page navigation -------------------------------------- */ .pagenav { font: 18px/30px "opensans-bold", sans-serif; text-align: left; margin-top: 12px; padding-top: 18px; margin-bottom: 48px; border-top: 1px solid #e8e8e8; } .pagenav p { margin-bottom: 18px; } .pagenav span { font: 18px/30px "opensans-regular", sans-serif; color: #c0c6c9; margin: 0 15px; } .pagenav a[rel="prev"] { margin-right: 10px; padding-right: 15px; border-right: 1px dotted #cbcfd1; } .pagenav a[rel="prev"]:before { /*content: '\f053';*/ /*content: '\f104';*/ content: "\f177"; font-family: "fontawesome"; font-size: 15px; margin-right: 12px; } .pagenav a[rel="next"]:after { /*content: '\f054';*/ /*content: '\f105';*/ content: "\f178"; font-family: "fontawesome"; font-size: 15px; margin-left: 12px; } /* f. Archives /* ------------------------------------------------------------------ */ .archive-list h4 { font: 15px/24px "opensans-bold", sans-serif; text-transform: uppercase; letter-spacing: 1px; } .archive-list ul { list-style: disc; margin-left: 17px; } /* =================================================================== * # footer * * ------------------------------------------------------------------- */ .s-footer { padding-top: 4.8rem; margin-bottom: 4.2rem; font-size: 1.422rem; line-height: 2.8rem; position: relative; } .s-footer h3 { margin-top: 0; margin-bottom: 1.6rem; } .s-footer p { margin-bottom: 2.4rem; } .s-footer__list { margin: 0; padding: 0; list-style: none; } .s-footer__list li { margin: 0; padding-left: 0; line-height: 24px; } .s-footer__list li a { color: #3e3e3e; } .s-footer__list li a:hover, .s-footer__list li a:focus { color: #84be5b; } .s-footer__info { padding-right: 3.2rem; } /* ------------------------------------------------------------------- * ## footer social * ------------------------------------------------------------------- */ .s-footer__social { margin: 1.6rem auto 4.8rem; padding: 0; text-align: center; } .s-footer__social li { display: inline-block; font-size: 3.2rem; line-height: 4.8rem; padding: 0; margin: 0 1.6rem; } .s-footer__social li a { color: #3e3e3e; } .s-footer__social li a:hover, .s-footer__social li a:focus { color: #84be5b; } /* ------------------------------------------------------------------- * ## photostream * ------------------------------------------------------------------- */ .s-footer .photostream { list-style: none; margin: 1.2rem 0 2.4rem -1.6rem; padding: 0; overflow: hidden; } .s-footer .photostream li { display: inline-block; margin: 0 0 1.2rem 1.2rem; padding: 0; } .s-footer .photostream li a { display: block; height: 6rem; width: 6rem; background-color: #ffffff; padding: 0.9rem; border: 1px solid #e0e0e0; border-radius: 3px; } .s-footer .photostream li a img { vertical-align: bottom; } /* ------------------------------------------------------------------- * ## copyright * ------------------------------------------------------------------- */ .ss-copyright { font-family: "Open Sans", sans-serif; margin: 0; padding: 3.2rem 1.6rem 0.8rem 1.6rem; width: 100%; } .ss-copyright span { display: inline-block; } .ss-copyright span::after { content: "|"; display: inline-block; padding: 0 1rem 0 1.2rem; color: rgba(0, 0, 0, 0.3); } .ss-copyright span:last-child::after { display: none; } /* ------------------------------------------------------------------- * ## go top * ------------------------------------------------------------------- */ .ss-go-top { z-index: 2; opacity: 0; visibility: hidden; -webkit-transform: translate3d(0, 200%, 0); transform: translate3d(0, 200%, 0); -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1); transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1); position: fixed; bottom: 4.4rem; right: 4rem; } .ss-go-top a { text-decoration: none; border: 0 none; display: block; height: 5.6rem; width: 5.6rem; border-radius: 50%; background-color: #84be5b; -webkit-transition: all 0.3s; transition: all 0.3s; position: relative; } .ss-go-top a:hover, .ss-go-top a:focus { background-color: #000000; } .ss-go-top svg { height: 1.2rem; width: 1.2rem; position: absolute; -webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); left: 50%; top: 50%; } .ss-go-top svg path { fill: #ffffff; } .ss-go-top.link-is-visible { opacity: 1; visibility: visible; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } /* ------------------------------------------------------------------- * responsive: * footer * ------------------------------------------------------------------- */ @media screen and (max-width: 900px) { .s-footer__bottom > .column { -ms-flex: 0 0 100%; -webkit-box-flex: 0; flex: 0 0 100%; max-width: 100%; } .s-footer__info { margin-bottom: 1.6rem; } .ss-copyright { border-top: 1px solid rgba(0, 0, 0, 0.08); text-align: center; margin-top: 3.2rem; } } @media screen and (max-width: 800px) { .s-footer__social li { font-size: 2.8rem; margin: 0 1.2rem; } .s-footer-list--nav li { display: inline-block; margin-right: 1.2rem; } .s-footer-list--nav li:last-child { margin-right: 0; } .ss-go-top { right: 3.2rem; } .ss-go-top a { height: 4.8rem; width: 4.8rem; } } @media screen and (max-width: 600px) { .ss-copyright span { display: block; } .ss-copyright span::after { display: none; } } @media screen and (max-width: 400px) { .ss-go-top { right: 0rem; bottom: 0rem; } .ss-go-top a { border-radius: 4px 0 0 0; } }