// main: style.scss /*-------------------------------------------------------------- # Structure --------------------------------------------------------------*/ .container { max-width: 1120px; margin: 0 auto; padding: 0 40px; clear: both; @include media-breakpoint-down(md) { padding: 0 20px; } } .site { position: relative; overflow: hidden; } .site-topbar { background: #e3e3e3; .site-topbar-left { float: left; } .site-topbar-right{ float: right; text-align: right; } } .site-header { padding: 30px 0; position: relative; @include media-breakpoint-down(md) { padding: 20px 0; } .site-title { font-size: 45px; font-weight: bold; line-height: 35px; text-decoration: none; margin: 0; font-family: $font__main; a { text-decoration: none; font-weight: bold; } } p { margin-bottom: 0; margin-top: 7px; color: #888888; font-size: 16px; } .site-logo { .customize-partial-edit-shortcut { display: none; } } &.site-identity-center { .site-branding { float: none; text-align: center; display: block; } .site-header-sidebar { display: block; float: none; text-align: center; margin-top: 30px; } } &.site-identity-right { .site-branding { float: right; @include media-breakpoint-down(md) { float: none; } } .site-header-sidebar { float: left; @include media-breakpoint-down(md) { float: none; } } } } .site-branding { float: left; @include media-breakpoint-down(md) { float: none; text-align: center; margin-top: 0; } } .site-header-sidebar { float: right; @include media-breakpoint-down(md) { float: none; text-align: center; margin-top: 20px; } } .social-menu { float: right; margin-top: 13px; @include media-breakpoint-down(md) { float: none; text-align: center; margin-top: 30px; } } .site-content { clear: both; padding: 30px 0 50px; @include media-breakpoint-down(md){ padding: 20px 0 35px; } } .full-width { .content-area { width: 100%; } } .content-area { float: left; width: 65%; @include media-breakpoint-down(md){ width: 100%; } } .sidebar { float: right; width: 30%; @include media-breakpoint-down(md){ width: 100%; margin-top: 40px; } } .header-breaking { padding: 10px 15px; border: 1px solid #e6e6e6; border-top: none; clear: both; @include media-breakpoint-down(md) { border-top: 1px solid #e6e6e6; } .breaking_text { font-size: 15px; font-weight: normal; line-height: 1.4; margin: 0; float: left; strong { color: $color__primary; font-weight: bold; font-style: italic; text-transform: uppercase; span { @include media-breakpoint-down(md) { display: none; } } } } .trending_slider_wrapper { display: block; overflow: hidden; position: relative; height: 22px; padding-left: 10px; .entry-breaking { h4 { font-size: 16px; font-weight: normal; line-height: 1.4; margin: 0; float: left; @include media-breakpoint-down(sm) { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 11em; } } a { font-weight: normal; color: #222; font-size: 16px; text-decoration: none; &:hover { color: $color__primary; } } } } } /* Home post layout */ .post-grid { width: 100%; border-bottom: none; @include media-breakpoint-up(sm) { width: 47.5%; } .featured-image img { width: 100%; height: auto; } } .post-list { padding-bottom: 15px; border-bottom: 1px solid #e6e6e6; .featured-image { float: left; width: 260px; margin-right: 30px; @include media-breakpoint-down(sm) { float: none; width: 100%; } } .post-right { margin-left: 290px; overflow: hidden; @include media-breakpoint-down(sm) { margin-left: 0; } } .entry-meta { margin-bottom: 5px; } .entry-title { font-size: 24px; line-height: 1.3; margin-bottom: 15px; } } .homepage-default { .post-grid:nth-of-type(odd) { float: left; clear: both;; } .post-grid:nth-of-type(even) { float: right; } } .featured-posts { .widget-inner { margin: 0 -10px; } .home-sidebar-2, .home-sidebar-3 { float: left; width: 100%; @include media-breakpoint-up(sm) { width: 50%; } padding: 0 10px; margin: 0; } } /* Post Navigation */ .navigation { clear: both; font-size: 22px; text-align: center; margin-bottom: 20px; a { color: #888; margin-right: 5px; text-decoration: none; &:hover{ color: #111; text-decoration: underline; } } .current { color: #111; font-size: 32px; margin-right: 5px; } } .single-post { .navigation { .nav-links { font-size: 16px; color: #999; .nav-previous { float: left; width: 45%; text-align: left; } .nav-next { float: right; width: 45%; text-align: right; } span { font-size: 13px; } h5 { margin: 0; font-weight: 400; a { color: #444; } } } } } /* search form */ .navigation-wrapper { position: relative; .nav-search { z-index: 50; position: absolute; top: 0px; right: 0px; bottom: 0px; background: rgba(255,255,255,0.2); @include media-breakpoint-down(md) { display: none; } .search-icon { cursor: pointer; color: #fff; font-size: 18px; font-weight: 500; text-decoration: none; text-transform: uppercase; padding: 16px 20px 18px; i { display: block; margin-top: 1px; } } .dropdown-search { display: none; position: absolute; right: 0px; padding: 20px; background: #FFFFFF; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); color: #494949; min-width: 300px; line-height: 0; z-index: 50; } &:hover { .dropdown-search { display: block; } } .search-form .search-submit i { position: relative; top: -2px; } } } .search-form { position: relative; .search-submit { position: absolute; top: 4px; right: 4px; width: auto; border-radius: 3px; font-size: 15px; padding: 0.5em 1em; } .search-field { margin-bottom: 0; &:focus { border-color: $color__border-input; } } } /* Footer */ .site-footer { background: #000000; .footer-row { margin: 0 -15px; @include media-breakpoint-down(md) { margin: 0; } } } .footer-widgets { background: #171717; margin: 0; padding: 50px 0 35px; color: rgba(255,255,255,0.9); .widget_pages li a, .widget_categories li a, .widget_archive li a, .widget_meta li a, .widget_nav_menu li a, .widget_rss li a { border-color: rgba(255,255,255,0.1); } .widget_pages li::before, .widget_categories li::before, .widget_archive li::before, .widget_meta li::before, .widget_nav_menu li::before, .widget_rss li::before { color: rgba(255,255,255,0.1); } .widget { box-sizing: border-box; margin-bottom: 20px; padding: 0; width: 100%; a { color: rgba(255,255,255,0.9); &:hover { color: $color__primary; } } li { border: none; margin-bottom: 3px; padding-bottom: 3px; text-align: left; } .widget-title { color: #d9d9d9; border-top: none; } table { border-color: rgba(255,255,255,0.1); border-collapse: collapse; th, td, tr { border-color: rgba(255,255,255,0.1); } tfoot { border-top: 1px solid rgba(255,255,255,0.1); } } } } .site-info { color: #c3c3c3; padding: 20px 0; margin: 0; font-size: 13px; text-align: center; .site-copyright { float: right; a { color: #c3c3c3; text-decoration: none; &:hover { color: #FFF; } } @include media-breakpoint-down(sm) { float: none; clear: both; text-align: center; margin-top: 10px; } } }