2017-10-15 21:48:26 +02:00
|
|
|
|
/* Welcome to Compass.
|
|
|
|
|
* In this file you should write your main styles. (or centralize your imports)
|
|
|
|
|
* Import this file using the following HTML or equivalent:
|
|
|
|
|
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
|
|
|
|
|
|
|
|
|
|
@import "compass/reset";
|
|
|
|
|
@import "_colors.scss";
|
|
|
|
|
|
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Bitter:400,700|Source+Sans+Pro:400,700');
|
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
$switchwidth: 600px;
|
|
|
|
|
|
2017-10-15 21:48:26 +02:00
|
|
|
|
*, *:after, *:before {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body, html {
|
2017-10-21 18:08:42 +02:00
|
|
|
|
background: desaturate(darken($cadreclair, 20%), 20%);
|
2017-10-15 21:48:26 +02:00
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
height: 100%;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
font-family: $pfont;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
font-size: 18px;
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.plain {
|
|
|
|
|
#main {
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
text-align: center;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform:translateY(-50%) translateX(-50%);
|
|
|
|
|
background: $cadreclair;
|
|
|
|
|
padding: 25px;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
background: $rouge;
|
|
|
|
|
color: $cadreclair;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 30px;
|
|
|
|
|
font: 25px $pfont;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border: 1px solid #fff;
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1, h2, h3, h4 {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
font-family: $hfont;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 1.8em;
|
|
|
|
|
text-align: center;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
border-bottom: 2px solid #000;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
margin-bottom: 0.7em;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
strong, b {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i, em {
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
color: $rouge;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
header {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
max-width: 700px;
|
|
|
|
|
margin: 0 auto;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
text-align: center;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
@media screen and (min-width:$switchwidth) {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
border-bottom: 3px solid #000;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
position: relative;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
padding-bottom: 15px;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
margin: 30px auto;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
margin-bottom: 55px;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
&:after {
|
|
|
|
|
content: " ";
|
|
|
|
|
position: absolute;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
width: 90%;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
z-index: 1;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
left: 5%;
|
|
|
|
|
bottom: -25px;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
border-bottom: 3px solid #000;
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
margin: 0 auto;
|
|
|
|
|
max-width: 1200px;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
@media screen and (min-width:$switchwidth) {
|
|
|
|
|
display: table;
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
width: 400px;
|
|
|
|
|
padding-right: 40px;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
.minimenu {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
ul.nav {
|
|
|
|
|
margin-bottom: 30px;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
li {
|
2017-10-15 21:48:26 +02:00
|
|
|
|
display: block;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
font-weight: normal;
|
|
|
|
|
margin: 7px 0;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
a {
|
2017-10-21 18:08:42 +02:00
|
|
|
|
border: 1px solid rgba($rouge, 0.5);
|
2017-10-19 15:36:19 +02:00
|
|
|
|
background: $blanc;
|
|
|
|
|
color: $rouge;
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
display: block;
|
|
|
|
|
text-align: center;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
@media screen and (min-width:$switchwidth) {
|
|
|
|
|
box-shadow: -2px 2px 0 $orange;
|
|
|
|
|
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
&:hover {
|
|
|
|
|
box-shadow: -6px 6px 0 $orange;
|
|
|
|
|
transform: translateX(2px) translateY(-2px);
|
|
|
|
|
}
|
2017-10-19 15:36:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.main {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
background: #fff;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
flex-grow: 1;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
width: 100%;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
border: 1px solid rgba($rouge, 0.7);
|
2017-10-15 21:48:26 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
.last-publication a {
|
2017-10-15 21:48:26 +02:00
|
|
|
|
display: block;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
max-width: 350px;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
margin: 15px auto;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
padding: 30px;
|
|
|
|
|
border: 1px solid #fff;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 1.5em;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
background: $rouge;
|
|
|
|
|
color: $cadreclair;
|
|
|
|
|
font-family: $hfont;
|
|
|
|
|
box-shadow: 0 0 0 rgba($rouge, 0);
|
|
|
|
|
transition: box-shadow 1s ease-out;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
&:hover {
|
|
|
|
|
box-shadow: 0 0 5px $rouge;
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.publication-list {
|
|
|
|
|
margin: 10px 5px;
|
|
|
|
|
margin-left: 30px;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
padding: 0 30px;
|
|
|
|
|
max-width: 700px;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
.publication-entry {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
border-bottom: 1px solid lighten($bleu, 20%);
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
&:first-child {
|
|
|
|
|
border-top: 1px solid lighten($bleu, 20%);
|
|
|
|
|
}
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 15:36:19 +02:00
|
|
|
|
& > span {
|
|
|
|
|
padding: 7px 5px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
.publication-date {
|
|
|
|
|
text-align: right;
|
|
|
|
|
font-weight: light;
|
|
|
|
|
font-size: 0.8em;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
width: 100px;
|
|
|
|
|
}
|
|
|
|
|
.publication-descr {
|
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
&:before {
|
|
|
|
|
content: "– ";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
a.overlay {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
2017-10-15 21:48:26 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-10-19 16:12:57 +02:00
|
|
|
|
|
2017-10-19 23:14:07 +02:00
|
|
|
|
@media screen and (max-width:$switchwidth - 1px) {
|
|
|
|
|
body {
|
|
|
|
|
padding-top: 75px;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
}
|
|
|
|
|
header, .sidebar {
|
|
|
|
|
position:fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
min-height: 60px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
header {
|
|
|
|
|
z-index: 15;
|
|
|
|
|
right: 60px;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
left: 0;
|
|
|
|
|
width: unset;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
height: 60px;
|
2017-10-21 18:08:42 +02:00
|
|
|
|
line-height: 60px;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
img {
|
2017-10-21 18:08:42 +02:00
|
|
|
|
max-height: 55px;
|
|
|
|
|
vertical-align: middle;
|
2017-10-19 16:12:57 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.sidebar {
|
|
|
|
|
z-index: 14;
|
2017-10-19 23:14:07 +02:00
|
|
|
|
background: desaturate(darken($cadreclair, 10%), 10%);
|
2017-10-19 16:12:57 +02:00
|
|
|
|
border-bottom: 3px solid $rouge;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
padding-top: 55px;
|
|
|
|
|
max-height: 100vh;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
.minimenu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 5px;
|
|
|
|
|
top: 5px;
|
|
|
|
|
display: block;
|
|
|
|
|
img {
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
ul.nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
font-size: 0.95em;
|
|
|
|
|
margin-bottom: 10px;
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
li {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
min-width: 150px;
|
|
|
|
|
margin: 5px;
|
|
|
|
|
a {
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-10-19 21:43:31 +02:00
|
|
|
|
|
2017-10-19 16:12:57 +02:00
|
|
|
|
&.collapse {
|
|
|
|
|
ul {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|