@import "constant.less"; @import "nav.less"; *,*::before,*::after{ box-sizing: border-box; margin:0;padding:0; } /* Typographie */ body{ background-color: @c-main; color:@c-font; font-family: 'Raleway', sans-serif; font-weight: 200; } section{ padding:100px 0; &:nth-child(odd){ background-color: darken(@c-main, 5%); } } ul{ list-style: none; a{ text-decoration: none; color:inherit; &:hover{ text-decoration: none; } } } a:hover{ cursor: pointer; } h3{ text-transform: uppercase; font-size: 3.5em; text-align: center; margin-bottom: 50px; font-family: 'Raleway', sans-serif; font-weight: normal; } /* slider */ #slider{ width: 100%; padding:0; margin:0; background-color: #ccc; } /* Portfolio */ .portfolio-nav{ list-style: none; padding: 10px 0; font-size: 1.15em; border-bottom: 2px solid lighten(@c-main, 10%); li{ display: inline-block; margin:0 20px; font-size: 1.15em; &:first-child{ margin: 0 20px 0 0; } } } @media (max-width: 768px){ .portfolio-nav{ text-align: center; li{ display: block; margin:0; font-size: 1em; &:first-child{ margin: 0; } } } } .portfolio-block{ text-align: center; padding: 10px; a{ background-color: @c-third; display: block; transition: .5s; &:hover{ box-shadow: 0 0 30px #000; } } h4{ font-size: 1.5em; padding: 15px 0; color:@c-font; } } #portfolio{ img{ width: 100%; } } /* contact */ #contact{ text-align: center; font-size: 2.3em; font-weight: 200; a{ color:inherit; } i{ font-size: 5em; display: block; padding:20px; } } /* footer */ footer{ background-color: @c-third; padding: 100px 0; text-align: center; font-weight: 550; font-size: 1.7em; letter-spacing: .15em; }