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');
|
|
|
|
|
|
|
|
|
|
*, *:after, *:before {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body, html {
|
2017-10-19 15:36:19 +02:00
|
|
|
|
background: $cadreclair;
|
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 15:36:19 +02:00
|
|
|
|
border-bottom: 3px solid #000;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
position: relative;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
padding-bottom: 30px;
|
|
|
|
|
margin: 30px auto;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
content: " ";
|
|
|
|
|
position: absolute;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
width: 110%;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
z-index: 1;
|
2017-10-19 15:36:19 +02:00
|
|
|
|
left: -5%;
|
2017-10-15 21:48:26 +02:00
|
|
|
|
bottom: 25px;
|
2017-10-19 15:36:19 +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-15 21:48:26 +02:00
|
|
|
|
display: table;
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
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 15:36:19 +02:00
|
|
|
|
ul.nav {
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
border: 1px solid $rouge;
|
|
|
|
|
background: $blanc;
|
|
|
|
|
color: $rouge;
|
|
|
|
|
box-shadow: -2px 2px 0 $orange;
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
display: block;
|
|
|
|
|
text-align: center;
|
|
|
|
|
// background: linear-gradient(to bottom, rgba($cadreclair, 0) 60%, $cadreclair 60%) no-repeat
|
|
|
|
|
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
box-shadow: -6px 6px 0 $orange;
|
|
|
|
|
transform: translateX(2px) translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
}
|
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-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;
|
|
|
|
|
|
|
|
|
|
&: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;
|
|
|
|
|
|
|
|
|
|
.publication-entry {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
border-bottom: 1px solid lighten($bleu, 20%);
|
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
border-top: 1px solid lighten($bleu, 20%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& > 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
|
|
|
|
}
|
|
|
|
|
}
|