.blog_sidebar{ width:320px; float:right; margin-top:20px; padding-bottom:150px; &.left{ //margin-left:20px; padding-right:20px; } &.right{ //margin-left:20px; //padding-left:20px; } .logo{ margin-top:15px; margin-bottom:5px; width:100px; display:none; } .blog_info{ background:white; padding:10px; text-align:center; margin-bottom:20px; } .facebook, .twitter{ background:white; margin-bottom:20px; padding:10px 0px; } .blog_categories{ background:transparent; padding:10px; text-align:left; margin-bottom:20px; ul{ list-style:none; padding:0; } } .blog_archives{ background:white; padding:10px; text-align:center; margin:20px 0; ul{ list-style:none; padding:0; } } } .blog_content{ margin-right:342px; } .blog_content_show{ margin-left:342px; } .blog_sidebar_bottom{ display:none; } @media screen and (max-width:900px) { .blog_content, .blog_content_show{ margin:0 20px; } .blog_sidebar{ margin:0 10px !important; float:none !important; border:0; width:100% !important; } .blog_sidebar_top{ display:none; } .blog_sidebar_bottom{ display:block; } } .article-1x{ display:block; background:center center no-repeat; background-size:100%; background-size:cover; min-height:400px; position:relative; margin-top:20px; margin-bottom:0; max-width:710px; h2{ font-size:1.4em; } p{ width:87%; font-size:1.2em; } .img{ position:relative; .comment, .date{ position:absolute; top:0; right:10px; min-width:25px; background:white; text-align:center; color:$orange; font-size:23px; line-height:28px; padding:10px; font-weight:bold; div{ color:black; } } .comment{ right:65px; } } .read_more{ display:inline-block; padding:6px 15px; border:1px solid rgba(255,255,255,0.8); } .overlay{ position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); opacity:0; transition-duration:0.2s; } &:hover{ .overlay{ opacity:1; } } .description{ text-align:left; color:black; h2{ margin-bottom:10px; padding-bottom:0; } .date{ opacity:0.8; margin-top:0; } } } .blog_index{ max-width:1100px; margin:auto; &.left{ .span_5{ text-align:right; } } } .article-2x{ border-sizing:border-box; display:inline-block; width:100%; max-width:330px; margin:20px auto ; margin-bottom:40px; h2{ margin-top:10px; margin:0; font-size:1em; color:black; text-align:left; min-height:2.8em; } .date{ opacity:0.8; } .description{ padding-top:8px; } .img{ margin-right:10px; display:block; height:200px; background:center center no-repeat; background-size:100%; background-size:cover; } } .article-2x-2{ .gradient{ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.5) 100%); height: 80px; position: absolute; bottom: 0; left: 0px; right: 0px; } &:hover{ .gradient{ height:auto; top:20px; } .read_more{ display:inline-block; } } text-align:center; .read_more{ position:relative; display:none; padding:6px 15px; border:1px solid rgba(255,255,255,0.8); } border-sizing:border-box; float:left; width:50%; .inner{ position:relative; margin:10px; background:center center no-repeat; background-size:100%; background-size:cover; color:rgba(255,255,255,0.9); height:200px; h2{ position:absolute; bottom:20px; left:10px; right:10px; text-align:center; font-size:18px; line-height:1.2em; padding:0; margin:0; } .date{ font-size:14px; position:absolute; top:10px; left:10px; margin:0; color:rgba(255,255,255,0.6); } .comments{ position:absolute; top:10px; right:10px; color:rgba(255,255,255,0.6); } .description{ padding:10px; } .img{ width:50%; float:left; margin-right:10px; display:block; height:200px; } } } .more_articles{ margin: 10px -20px; margin-right:-10px; } .article_top{ height:480px; text-align:center; background: black center center no-repeat; background-size:100%; background-size:cover; position:relative; h1{ position:absolute; z-index:10; left:0; right:0; bottom:50px; } .gradient{ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.5) 100%); height: 250px; position: absolute; bottom: 0; left: 0px; right: 0px; } &.with_img{ //padding-top:300px; color:white; } } .press_release_large{ h2{ font-size:1em; font-weight:900; text-transform:none; margin-bottom:-1em; padding-bottom:0; } } .article_content{ background:white; margin-top:20px; padding-bottom:50px; h1{ margin-top: 0; color: $orange; text-align: center; padding-top: 30px; font-size: 1.6em; margin-bottom:0px; } h2{ font-size:1em; font-weight:900; text-transform:none; margin-bottom:-1em; padding-bottom:0; } .date{ text-align:center; color:rgba(0,0,0,0.5); font-size:0.95; margin-top:5px; a{ color:rgba(0,0,0,0.5); } } .center{ max-width:650px; padding: 0 20px; margin:auto; } .author{ text-align:right; font-style:italic; padding-bottom:100px; } } .index_category{ margin: 40px auto; h2{ line-height:1.2em; } a{ color:#333333; } h3{ font-size:1.5em; padding-bottom:10px; text-transform:uppercase; margin-top:0; a{ color:#333333; } } .more_articles{ margin:10px -10px; margin-bottom:-10px; } .article_header{ .image{ background: black center center; background-size:100%; background-size:cover; width:65%; height:300px; float:left; } .description{ margin-left:65%; padding-left:10px; } } } .article_comments_container{ background:white; margin-top:20px; padding:20px 0px; } .search_form{ text-align:center; p{ background:#eaeaea; padding:20px; margin:1em 0; } .search_input{ font-size:1.2em; text-align:center; padding:10px; max-width:500px; width:100%; } .search_send{ border:0px; background:$orange; padding:10px 20px; color:white; font-size:1.2em; } } .article_search{ .image{ background: black center center; background-size:100%; background-size:cover; width:200px; height:200px; margin-bottom:10px !important; float:left; img{ width:200px; } } .description{ margin-left:200px; padding:5px 10px; } h3{margin:5px 0;} h2{margin:5px 0;} color:black; margin-bottom:10px !important; } .article-small{ .gradient{ background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.5) 100%); height: 80px; position: absolute; bottom: 0; left: 0px; right: 0px; } &:hover{ .gradient{ height:auto; top:20px; } .read_more{ display:inline-block; } } text-align:center; .read_more{ position:relative; display:none; padding:6px 15px; border:1px solid rgba(255,255,255,0.8); } border-sizing:border-box; float:left; width:33%; .inner{ position:relative; margin:10px; background:center center no-repeat; background-size:100%; background-size:cover; color:rgba(255,255,255,0.9); height:200px; h2{ position:absolute; bottom:20px; left:10px; right:10px; text-align:center; font-size:18px; line-height:1.2em; padding:0; margin:0; } .date{ font-size:14px; position:absolute; top:10px; left:10px; margin:0; color:rgba(255,255,255,0.6); } .comments{ position:absolute; top:10px; right:10px; color:rgba(255,255,255,0.6); } .description{ padding:10px; } .img{ width:50%; float:left; margin-right:10px; display:block; height:200px; } } } .more_articles_link{ text-align:right; float:right; //padding-top:25px; a{ color:$orange; } } @media screen and (max-width:600px){ .index_category{ .article_header{ .image{ float:none; width:auto; } .description{ margin-left:0; padding-left:0; } } } } #intro_blog{ background:url('/orange.jpg') no-repeat center center; background-size:100%; background-size:cover; padding:50px 20px ; padding-bottom:45px; color:white; text-align:center; a{color:white;} h2{ margin-top:0; margin-bottom:10px; } p{ max-width:700px; margin:auto; } .socials{ margin-top:20px; } } .blog_category{ text-align:center; padding:30px 10px; margin:20px 0; background:url('/blanc.jpg') no-repeat center center; background-size:100%; background-size:cover; .main_container{ max-width:1100px; } h3{ color:$orange; font-size:1.2em; margin-top:0; } font-size:1.3em; color:black; a{ color:black; display:inline-block; padding:7px 10px; margin:3px 5px; span{ background:$orange; color:white; text-align:center; min-width:2em; display:inline-block; border-radius:50%; } &.active{ color:white; background:$orange; } } } .index_category{ .more_articles_link{ a{ color:black; span{ background:$orange; color:white; border-radius:50%; display:inline-block; width:30px; height:30px; text-align:center; line-height:30px; } } } }