331 lines
6.6 KiB
SCSS
331 lines
6.6 KiB
SCSS
@import "compass/reset";
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Dosis:300,500,700|Podkova:700');
|
|
|
|
$fond: #E80051;
|
|
$barre: $fond * 0.7;
|
|
$compl: #28BF8A;
|
|
$jaune: #FCEB26;
|
|
$vert: #27E35F;
|
|
$rouge: #C21B26;
|
|
|
|
body {
|
|
background: $fond;
|
|
font-family: 'Dosis', sans-serif;
|
|
line-height: 1.4;
|
|
font-size: 19px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-family: Podkova;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.3em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
b {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.beta {
|
|
opacity: 0.5;
|
|
font-size: 0.7em;
|
|
display: inline-block;
|
|
transform: translate(-1em, 0.6em) rotate(-15deg);
|
|
}
|
|
|
|
a {
|
|
font-weight: bold;
|
|
color: $compl * 0.9;
|
|
text-decoration: none;
|
|
}
|
|
|
|
header {
|
|
background: $barre;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
nav ul {
|
|
display: inline-flex;
|
|
|
|
li {
|
|
display: inline-table;
|
|
|
|
a {
|
|
text-align: center;
|
|
display: table-cell;
|
|
padding: 0 20px;
|
|
height: 90px;
|
|
vertical-align: middle;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background: $barre * 0.6;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
padding: 15px;
|
|
word-wrap: none;
|
|
}
|
|
}
|
|
|
|
p {
|
|
|
|
}
|
|
|
|
.content {
|
|
background: #efefef;
|
|
max-width: 900px;
|
|
padding: 30px;
|
|
margin: 15px auto;
|
|
|
|
p {
|
|
margin: 0.5em 0;
|
|
}
|
|
}
|
|
|
|
// Index
|
|
|
|
.homeh1 {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 1.2em;
|
|
padding-bottom: 10px;
|
|
border-bottom: 3px solid #000;
|
|
margin-bottom: 15px;
|
|
|
|
& > * {
|
|
display: inline-block;
|
|
}
|
|
|
|
}
|
|
|
|
// Liste des stages
|
|
|
|
.stagelist {
|
|
|
|
li {
|
|
display: table;
|
|
width: 100%;
|
|
//border: 1px solid $fond * 1.3;
|
|
background: #fff;
|
|
margin: 12px;
|
|
|
|
& > *, &:before {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
padding: 15px;
|
|
}
|
|
a {
|
|
width: auto;
|
|
&:hover {
|
|
background: #ccc;
|
|
}
|
|
}
|
|
&:before {
|
|
content: " ";
|
|
text-align: right;
|
|
width: 150px;
|
|
opacity: 0.8;
|
|
color: #fff;
|
|
}
|
|
&.stage-brouillon:before {
|
|
content: "Brouillon";
|
|
background: $rouge;
|
|
}
|
|
&.stage-publie:before {
|
|
content: "Publié";
|
|
background: $vert;
|
|
}
|
|
&.stage-ajout:before {
|
|
content:"+";
|
|
color: #000;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Les stages
|
|
|
|
article.stage {
|
|
font-weight: normal;
|
|
|
|
h2 {
|
|
background: desaturate($jaune * 1.6, 40%);
|
|
padding: 10px 20px;
|
|
margin: -20px;
|
|
margin-bottom: 25px;
|
|
text-shadow: -3px 3px 0 rgba(#000, 0.3);
|
|
}
|
|
h3 {
|
|
border-bottom: 2px solid desaturate($compl, 40%);
|
|
margin-left: -25px;
|
|
margin-top: 30px;
|
|
padding: 5px;
|
|
padding-left: 20px;
|
|
color: #000;
|
|
text-shadow: -3px 3px 0 rgba(#000, 0.1);
|
|
//margin-right: 25px;
|
|
}
|
|
section {
|
|
background: #eee;
|
|
padding: 14px;
|
|
max-width: 600px;
|
|
margin: 30px auto;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
h3 {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
&.misc {
|
|
padding-top: 0;
|
|
ul.infos {
|
|
margin: 0 -3px;
|
|
|
|
li {
|
|
display: inline-block;
|
|
padding: 5px;
|
|
margin: 3px;
|
|
font-weight: normal;
|
|
color: #fff;
|
|
font-size: 0.9em;
|
|
border-radius: 4px;
|
|
|
|
&.thematique {
|
|
background-color: $compl;
|
|
}
|
|
&.matiere {
|
|
background-color: $fond;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.chapo, .avis-texte {
|
|
margin-bottom: 15px;
|
|
background: #fff;
|
|
padding: 20px;
|
|
}
|
|
.chapo {
|
|
font-size: 1.1em;
|
|
font-weight: 500;
|
|
font-variant: small-caps;
|
|
}
|
|
.avis-texte {
|
|
border-left: 1px solid #ccc;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.plusmoins {
|
|
max-width: 600px;
|
|
margin: 15px auto;
|
|
|
|
& > div {
|
|
display: table;
|
|
width: 100%;
|
|
|
|
&:before {
|
|
content: " ";
|
|
width: 100px;
|
|
font-size: 1.8em;
|
|
font-weight: bold;
|
|
text-align: right;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
& > *, &:before {
|
|
display:table-cell;
|
|
}
|
|
|
|
& > div {
|
|
padding: 15px;
|
|
color: #fff;
|
|
h4 {
|
|
font-weight: normal;
|
|
margin-left: -5px;
|
|
font-size: 0.9em;
|
|
opacity: 0.9;
|
|
}
|
|
p {
|
|
font-weight: bold;
|
|
margin: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.plus {
|
|
& > div {
|
|
background: $vert * 0.9;
|
|
}
|
|
&:before {
|
|
content: "Les +";
|
|
vertical-align: bottom;
|
|
color: $vert * 0.7;
|
|
}
|
|
}
|
|
.moins {
|
|
& > div {
|
|
background: $rouge * 0.9;
|
|
}
|
|
&:before {
|
|
content: "Les -";
|
|
vertical-align: top;
|
|
color: $rouge * 0.7;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.article-wrapper {
|
|
display: table;
|
|
.toc-wrapper, article {
|
|
display: table-cell;
|
|
vertical-align: top;
|
|
}
|
|
.toc-wrapper {
|
|
max-width: 250px;
|
|
width: 25%;
|
|
}
|
|
.toc {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
a {
|
|
color: inherit;
|
|
font-weight: normal;
|
|
}
|
|
.toc-h1 {
|
|
|
|
}
|
|
.toc-h3 a {
|
|
font-weight: 300;
|
|
}
|
|
.toc-active a {
|
|
color: $fond;
|
|
}
|
|
}
|
|
|
|
}
|