163 lines
2.8 KiB
SCSS
163 lines
2.8 KiB
SCSS
/*NE PAS MODIFIER LE FICHIER .CSS, MAIS PLUTÔT LE
|
|
FICHIER .SCSS */
|
|
@import 'variables';
|
|
@import 'messages';
|
|
@import 'header';
|
|
@import 'forms';
|
|
|
|
/* SURCHARGE DE LA GRILLE */
|
|
.container {
|
|
padding-right: 15px;
|
|
padding-left: 15px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
|
|
@media (min-width: 768px) {
|
|
width: 750px;
|
|
}
|
|
@media (min-width: 992px) {
|
|
width: 970px;
|
|
}
|
|
@media (min-width: 1200px) {
|
|
width: 1170px;
|
|
}
|
|
/* On rajoute une taille pour les
|
|
* très grand écrans */
|
|
@media (min-width: 1500px) {
|
|
width: 1470px;
|
|
}
|
|
}
|
|
|
|
/* MISE EN FORME GÉNÉRALE */
|
|
html {
|
|
height : 100% ;
|
|
background-color: $background_color;
|
|
}
|
|
|
|
body {
|
|
font-family: $font_normal;
|
|
font-size: 15px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
header, footer {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
#principal {
|
|
background-color: $background_color;
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
/*shadow*/
|
|
.shadow {
|
|
box-shadow: -10px 10px $shadow_color;
|
|
padding: 15px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin:0px;
|
|
}
|
|
}
|
|
|
|
/*MAIN*/
|
|
main {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
padding-left: 0px!important;
|
|
padding-right: 0px!important;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top:0px;
|
|
padding-left: 7px!important;
|
|
padding-right: 7px!important;
|
|
}
|
|
|
|
.shadow {
|
|
background-color:white;
|
|
|
|
a {
|
|
color: $main_bold_color;
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
color : $main_bold_color;
|
|
}
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
border-bottom : 7px solid $second_bold_color;
|
|
padding-bottom : 5px ;
|
|
font-family: $font_bold;
|
|
font-weight: 600;
|
|
}
|
|
h2 {
|
|
border-bottom : 2px solid $main_bold_color;
|
|
color: $main_bold_color;
|
|
padding-bottom : 5px ;
|
|
font-family: $font_bold;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
/*ASIDE*/
|
|
aside {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
padding-left: 0px!important;
|
|
padding-right: 0px!important;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top:0px;
|
|
padding-left: 7px!important;
|
|
padding-right: 7px!important;
|
|
}
|
|
|
|
.shadow {
|
|
background-color:$second_soft_color;
|
|
color: white;
|
|
|
|
a {
|
|
color: $main_white_color;
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
color : $main_white_color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
main {
|
|
margin-top:20px;
|
|
}
|
|
aside {
|
|
margin-top:20px;
|
|
}
|
|
}
|
|
|
|
hr {
|
|
border-top : 1px solid $second_bold_color ;
|
|
}
|
|
|
|
|
|
.box-sm {
|
|
margin: 3px;
|
|
}
|
|
|
|
|
|
|
|
/* COULD BE USERFULL LATER
|
|
|
|
.row-eq-height {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
}
|
|
*/
|