// main: ../../../css/styles.scss .slick-preload-state { display: none; } .slick-preload-state.slick-initialized { display: block; } hr { display : block; margin-bottom : 20px; margin-top : 0; border-color : $accent-color; border-top-width: 0; } .section-heading { margin-bottom: 2em; border-bottom: 1px solid var(--grey-20-color ); padding-bottom: 1em; .title { position : relative; display: inline-block; float: left; margin : 0; font-size : 2.8rem; line-height : 3rem; font-family : 'Oswald', sans-serif; text-transform: uppercase; } .cat-link { position : relative; display: inline-block; float: right; font-size : 1.2rem; line-height : 3rem; color: var(--grey-60-color ); font-weight: 600; a { color: inherit; } } &:after { content: ''; display: block; clear: both; width: 100%; } } #breaking_news_wrapper { margin-bottom: 20px; .breaking-news { background-color: var(--breaking-news-bkg-color); display : flex; font-size : 1.4rem; display: flex; flex-direction: column; @media (min-width: 40em) { flex-direction: row; } .breaking-news-title { color : $secondary-color; background-color: $accent-color; padding : 10px; text-transform : uppercase; text-align: center; line-height: 1.4; font-weight : 700; flex: 100% 0 0; box-sizing: border-box; @media (min-width: 40em) { flex: 150px 0 0; } } .content-area { border-left: 3px solid $accent-color; @media (min-width: 40em) { flex: 100% 1 1; border-left: none; } color : #fff; padding: 10px; .title { color: var(--breaking-news-color); } } } } #latest_headlines_wrapper { margin-bottom: 20px; .section-title { text-transform: uppercase; font-size : 1.3rem; line-height: 1.3; letter-spacing: .2em; } article { margin-bottom: 0; padding-right: 10px; border: none !important; .article-image { flex: 25% 0 0; } .article-content { flex: 75% 0 0; padding: 0 0 0 10px !important; h2 { font-size: 1.8rem; line-height: 1.3; @media (min-width: 60em) { font-size: 1.3rem; } } } } } #sidebar { .sidebar-item { display : block; margin-bottom: 20px; } } .featured-article-container { position: relative; height : 100%; } .more-articles { border : 1px solid $accent-color; color : $accent-color; padding : 10px; text-align : center; font-family : 'Oswald', sans-serif; font-size : 2rem; line-height : 2rem; text-transform: uppercase; width : 100%; display : block; box-sizing : border-box; margin-top: 20px; } #search_page_search_box_container { background-color: $light-grey-color; } .search-form { position: relative; @media (min-width: 1200px) { position : relative; z-index : 999; width : 100%; max-width: 100%; } label { display: block; } input { margin-bottom: 0 !important; } input[type=search] { padding : 10px 15px; border-radius: 0; border : 1px solid #ccc; width : 100%; @media (min-width: 1200px) { height: 41px !important; } } input[type=submit] { position : absolute; right : 0; top : 0; padding : 10px 15px; border-radius : 0; border : 1px solid #ccc; text-transform : uppercase; font-weight : 600; background-color: $secondary-color; color : #fff; @media (min-width: 1200px) { height: 41px !important; } } }