2019-10-09 12:21:50 +02:00
|
|
|
/*
|
|
|
|
* 1. Cards and containers
|
|
|
|
* All elements that are supposed to contain other stuff
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
@mixin li-no-margin() {
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-05 21:06:19 +01:00
|
|
|
@mixin container-big() {
|
|
|
|
padding-left: 3*1.5rem;
|
|
|
|
padding-right: 3*1.5rem;
|
2019-10-09 12:21:50 +02:00
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
.no-pills {
|
|
|
|
list-style:none;
|
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
.align {
|
|
|
|
&-center {text-align: center;}
|
|
|
|
&-left {text-align: left;}
|
|
|
|
&-right {text-align: right;}
|
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
/* ------------------ HEADERS ------------------- */
|
|
|
|
|
|
|
|
#page-header {
|
2019-12-07 10:29:36 +01:00
|
|
|
background: $color-turquoise url('img/background.png') center bottom repeat-x;
|
2019-10-17 15:52:38 +02:00
|
|
|
height:10*1.5rem;
|
2019-10-09 12:21:50 +02:00
|
|
|
border-top: 6px solid $color-dark2;
|
2019-11-05 21:06:19 +01:00
|
|
|
@include container-big();
|
2019-10-09 12:21:50 +02:00
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
header h1 {
|
|
|
|
border-style:none !important;
|
|
|
|
color: $color-light;
|
2019-10-18 09:57:05 +02:00
|
|
|
font-weight: $fontweight_hyper;
|
2019-10-09 12:21:50 +02:00
|
|
|
font-size:5.4em;
|
|
|
|
font-style:oblique;
|
|
|
|
padding-bottom:0px;
|
|
|
|
line-height: 1.5em;
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-11-05 21:06:19 +01:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin-top:0.75rem;
|
|
|
|
}
|
2019-10-09 12:21:50 +02:00
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
.navbar {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
2019-10-17 14:04:20 +02:00
|
|
|
padding: 0.75rem;
|
2019-10-09 12:21:50 +02:00
|
|
|
color: $color-light;
|
|
|
|
a {
|
|
|
|
color: $color-light;
|
|
|
|
}
|
|
|
|
@include li-no-margin();
|
|
|
|
}
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
.dropdown-menu {
|
|
|
|
box-shadow: $narrow-shadow, $inset-shadow;
|
|
|
|
}
|
2019-10-17 14:04:20 +02:00
|
|
|
/* ------------------ CONTAINERS ------------------- */
|
|
|
|
|
|
|
|
.container-big {
|
2019-10-18 13:41:02 +02:00
|
|
|
@include container-big();
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-blog {
|
|
|
|
@include container-big();
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 360px;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
row-gap: 1.5rem;
|
|
|
|
column-gap: 3rem;
|
|
|
|
|
|
|
|
grid-template-areas: "main sidebar";
|
|
|
|
}
|
|
|
|
|
|
|
|
main.mainpane {
|
|
|
|
grid-area: main;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.sidebar {
|
|
|
|
grid-area: sidebar;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-preview {
|
|
|
|
@include container-big();
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 360px auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
row-gap: 1.5rem;
|
|
|
|
column-gap: 3rem;
|
|
|
|
|
|
|
|
grid-template-areas: "sidebar main";
|
|
|
|
}
|
|
|
|
|
|
|
|
.container-onecolumn {
|
|
|
|
max-width:1280px;
|
|
|
|
margin: auto;
|
|
|
|
padding-bottom: 1.5rem;
|
2019-10-17 14:04:20 +02:00
|
|
|
}
|
|
|
|
|
2019-10-18 14:56:08 +02:00
|
|
|
.container-personnage {
|
|
|
|
@include container-big();
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(6, 1fr);
|
|
|
|
grid-template-rows: auto;
|
|
|
|
row-gap: 3rem;
|
|
|
|
column-gap: 3rem;
|
|
|
|
|
2019-12-07 10:29:36 +01:00
|
|
|
grid-template-areas:
|
2019-10-18 14:56:08 +02:00
|
|
|
"nomp nomp nomp nomp nomp nomp"
|
|
|
|
"info info info info meta meta"
|
|
|
|
"goss goss look look look look"
|
|
|
|
"aime aime aime dete dete dete"
|
|
|
|
"hist hist hist hist hist hist";
|
|
|
|
|
|
|
|
.card {
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
padding:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.personnage {
|
|
|
|
&-nomp {grid-area: nomp;}
|
|
|
|
&-info {grid-area: info;}
|
|
|
|
&-meta {grid-area: meta;}
|
|
|
|
&-goss {grid-area: goss;}
|
|
|
|
&-look {grid-area: look;}
|
|
|
|
&-aime {grid-area: aime;}
|
|
|
|
&-dete {grid-area: dete;}
|
|
|
|
&-hist {grid-area: hist;}
|
|
|
|
}
|
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
/* ------------------ PAGE ------------------- */
|
|
|
|
|
|
|
|
#wrapper {
|
|
|
|
background-color: $color-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ------------------ FOOTER ------------------- */
|
2019-12-07 10:29:36 +01:00
|
|
|
|
2019-10-09 12:21:50 +02:00
|
|
|
$color-footer-back: $color-dark2;
|
|
|
|
$color-footer-text: $color-light;
|
|
|
|
|
|
|
|
body {
|
|
|
|
// On colorise le background de la page complete de la même
|
|
|
|
// couleur que le fond du footer.
|
|
|
|
background-color: $color-footer-back;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
color: $color-footer-text;
|
|
|
|
margin-top:1.5em;
|
2019-11-05 21:06:19 +01:00
|
|
|
@include container-big();
|
|
|
|
font-size: 0.8rem!important;
|
2019-10-09 12:21:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* social media */
|
|
|
|
|
|
|
|
ul.social {
|
|
|
|
font-size:1.5em;
|
|
|
|
padding-bottom:1.5em;
|
|
|
|
margin:auto;
|
|
|
|
text-align:center;
|
|
|
|
li {
|
|
|
|
margin:0;
|
|
|
|
list-style: none;
|
|
|
|
display: inline;
|
|
|
|
a {
|
|
|
|
color: $color-footer-back;
|
|
|
|
background-color: $color-footer-text;
|
|
|
|
padding:0.3em;
|
|
|
|
padding-left:0.36em;
|
|
|
|
padding-right:0.36em;
|
|
|
|
vertical-align:middle;
|
|
|
|
border-radius:100%;
|
|
|
|
&:hover {
|
|
|
|
color:$color-footer-text;
|
|
|
|
background-color: $color-footer-back;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-11-05 21:06:19 +01:00
|
|
|
}
|