2017-08-19 01:32: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 url('https://fonts.googleapis.com/css?family=Carter+One|Source+Sans+Pro:300,300i,700');
|
|
|
|
|
|
|
|
@import "compass/reset";
|
|
|
|
|
|
|
|
@import "_colors";
|
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
*, *:after, *:before {
|
2017-08-22 00:58:18 +02:00
|
|
|
box-sizing: border-box;
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
|
2017-08-19 01:32:26 +02:00
|
|
|
body {
|
|
|
|
background: $fond;
|
2018-01-28 19:09:56 +01:00
|
|
|
font: 17px $bodyfont;
|
2017-08-19 01:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
background: $bandeau;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2 {
|
2018-01-28 19:09:56 +01:00
|
|
|
font-family: $headfont;
|
2017-08-29 17:58:44 +02:00
|
|
|
color: $titre;
|
2017-08-19 01:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.3em;
|
|
|
|
}
|
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
h2 {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
|
2017-08-19 01:32:26 +02:00
|
|
|
a {
|
2017-08-20 00:39:19 +02:00
|
|
|
color: $lien;
|
2017-08-19 01:32:26 +02:00
|
|
|
text-decoration: none;
|
2017-08-26 18:05:20 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 a {
|
|
|
|
font-weight: inherit;
|
|
|
|
color: inherit;
|
2017-08-19 01:32:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2017-08-29 17:58:44 +02:00
|
|
|
a {
|
|
|
|
color: $headerlien;
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
section {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
&.bottom-menu {
|
|
|
|
justify-content: space-around;
|
|
|
|
text-align: center;
|
|
|
|
background: $sousbandeau;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
padding: 0 15px;
|
|
|
|
}
|
2017-08-19 01:32:26 +02:00
|
|
|
nav {
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
2017-08-20 00:39:19 +02:00
|
|
|
& > * {
|
2017-08-19 01:32:26 +02:00
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: darken($bandeau, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
|
2017-08-26 18:05:20 +02:00
|
|
|
article {
|
|
|
|
line-height: 1.4;
|
|
|
|
p, ul {
|
|
|
|
margin: 0.4em 0;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
padding-left: 20px;
|
|
|
|
li {
|
|
|
|
list-style: outside;
|
|
|
|
}
|
|
|
|
}
|
2017-10-10 11:22:02 +02:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
2017-08-26 18:05:20 +02:00
|
|
|
}
|
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
.container {
|
|
|
|
max-width: 1000px;
|
|
|
|
margin: 0 auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.aside-wrap {
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
height: 100%;
|
2018-01-28 19:09:56 +01:00
|
|
|
width: 25%;
|
|
|
|
left: 6px;
|
2017-08-20 00:39:19 +02:00
|
|
|
|
|
|
|
.aside {
|
2018-01-28 19:09:56 +01:00
|
|
|
color: #222;
|
2017-08-20 00:39:19 +02:00
|
|
|
position: fixed;
|
|
|
|
position: sticky;
|
|
|
|
top: 5px;
|
|
|
|
width: 100%;
|
|
|
|
background: $aside;
|
|
|
|
padding: 15px;
|
2018-01-28 19:09:56 +01:00
|
|
|
box-shadow: -4px 4px 1px rgba($ombres, 0.3);
|
2017-08-20 00:39:19 +02:00
|
|
|
|
2017-10-10 11:22:02 +02:00
|
|
|
h2 {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
.calendar {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
}
|
2018-01-28 19:09:56 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: darken($lien, 10%);
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
}
|
2018-01-28 19:09:56 +01:00
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
.content {
|
2018-01-28 19:09:56 +01:00
|
|
|
max-width: 900px;
|
2017-08-20 00:39:19 +02:00
|
|
|
margin-left: auto;
|
2018-01-28 19:09:56 +01:00
|
|
|
margin-right: 6px;
|
2017-08-26 18:05:20 +02:00
|
|
|
|
|
|
|
.intro {
|
|
|
|
border-bottom: 3px solid darken($fond, 50%);
|
2018-01-28 19:09:56 +01:00
|
|
|
margin: 20px 0;
|
2017-08-26 18:05:20 +02:00
|
|
|
margin-top: 5px;
|
|
|
|
padding: 15px 5px;
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
section {
|
|
|
|
article {
|
|
|
|
background: #fff;
|
2018-01-28 19:09:56 +01:00
|
|
|
padding: 20px 30px;;
|
|
|
|
box-shadow: -4px 4px 1px rgba($ombres, 0.3);
|
|
|
|
border: 1px solid rgba($ombres, 0.1);
|
|
|
|
border-radius: 2px;
|
2017-08-20 00:39:19 +02:00
|
|
|
a {
|
2017-08-29 17:58:44 +02:00
|
|
|
color: $lien;
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article + h2 {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2017-08-22 00:58:18 +02:00
|
|
|
|
2017-08-26 18:05:20 +02:00
|
|
|
article + article {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
2018-01-28 19:09:56 +01:00
|
|
|
.image {
|
|
|
|
margin: 15px 0;
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
box-shadow: -7px 7px 1px rgba($ombres, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-22 00:58:18 +02:00
|
|
|
&.directory {
|
|
|
|
article.entry {
|
|
|
|
width: 80%;
|
|
|
|
max-width: 600px;
|
|
|
|
max-height: 100%;
|
|
|
|
position: relative;
|
2018-01-28 19:09:56 +01:00
|
|
|
margin-left: 6%;
|
|
|
|
|
2017-08-22 00:58:18 +02:00
|
|
|
.entry-image {
|
|
|
|
display: block;
|
2018-01-28 19:09:56 +01:00
|
|
|
float: right;
|
2017-08-22 00:58:18 +02:00
|
|
|
width: 150px;
|
|
|
|
background: #fff;
|
2018-01-28 19:09:56 +01:00
|
|
|
box-shadow: -4px 4px 1px rgba($ombres, 0.2);
|
|
|
|
border-right: 1px solid rgba($ombres, 0.2);
|
|
|
|
border-top: 1px solid rgba($ombres, 0.2);
|
2017-08-22 00:58:18 +02:00
|
|
|
padding: 1px;
|
|
|
|
overflow: hidden;
|
2018-01-28 19:09:56 +01:00
|
|
|
margin-left: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
transform: translateX(10px);
|
2017-08-22 00:58:18 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-01-28 19:09:56 +01:00
|
|
|
|
|
|
|
ul.links {
|
|
|
|
margin-top: 10px;
|
|
|
|
border-top: 1px solid $sousbandeau;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2017-08-22 00:58:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.actuhome {
|
2017-08-26 18:05:20 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
2017-09-27 23:58:50 +02:00
|
|
|
align-items: top;
|
2017-08-26 18:05:20 +02:00
|
|
|
|
|
|
|
article + article {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-08-22 00:58:18 +02:00
|
|
|
article.actu {
|
2017-09-27 23:58:50 +02:00
|
|
|
position: relative;
|
2017-08-22 00:58:18 +02:00
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
2018-01-28 19:09:56 +01:00
|
|
|
border: none;
|
2017-08-22 00:58:18 +02:00
|
|
|
max-width: 400px;
|
2017-08-26 18:05:20 +02:00
|
|
|
min-width: 300px;
|
|
|
|
flex: 1;
|
2017-08-22 00:58:18 +02:00
|
|
|
|
|
|
|
.actu-header {
|
|
|
|
position: relative;
|
2018-01-28 19:09:56 +01:00
|
|
|
box-shadow: -4px 5px 1px rgba($ombres, 0.3);
|
|
|
|
border-right: 1px solid rgba($ombres, 0.2);
|
|
|
|
border-top: 1px solid rgba($ombres, 0.2);
|
2017-09-27 23:58:50 +02:00
|
|
|
min-height: 180px;
|
2017-08-22 00:58:18 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
2017-08-26 18:05:20 +02:00
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
2018-01-28 19:09:56 +01:00
|
|
|
background-repeat: no-repeat;
|
2017-08-22 00:58:18 +02:00
|
|
|
|
|
|
|
h2 {
|
2017-09-27 23:58:50 +02:00
|
|
|
position: absolute;
|
2017-08-22 00:58:18 +02:00
|
|
|
width: 100%;
|
2017-09-27 23:58:50 +02:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2017-08-26 18:05:20 +02:00
|
|
|
padding: 5px;
|
2018-01-28 19:09:56 +01:00
|
|
|
text-shadow: 0 0 5px rgba($ombres, 0.8);
|
2017-09-27 23:58:50 +02:00
|
|
|
background: linear-gradient(to top, rgba(#000, 0.7), rgba(#000, 0));
|
2017-08-26 18:05:20 +02:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-08-22 00:58:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actu-misc {
|
2017-08-26 18:05:20 +02:00
|
|
|
background: lighten($fond, 15%);
|
2018-01-28 19:09:56 +01:00
|
|
|
box-shadow: -2px 2px 1px rgba($ombres, 0.2);
|
|
|
|
border: 1px solid rgba($ombres, 0.2);
|
|
|
|
border-radius: 2px;
|
2017-08-26 18:05:20 +02:00
|
|
|
margin: 0 10px;
|
|
|
|
padding: 15px;
|
|
|
|
padding-top: 5px;
|
|
|
|
|
|
|
|
.actu-minical {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.actu-dates {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2017-08-22 00:58:18 +02:00
|
|
|
}
|
2017-09-27 23:58:50 +02:00
|
|
|
|
|
|
|
.actu-overlay {
|
|
|
|
display: block;
|
|
|
|
background: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 5;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2017-08-22 00:58:18 +02:00
|
|
|
}
|
|
|
|
}
|
2017-10-10 11:22:02 +02:00
|
|
|
|
|
|
|
&.actulist {
|
|
|
|
article.actu {
|
|
|
|
display:flex;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.actu-image {
|
|
|
|
width: 30%;
|
|
|
|
max-width: 200px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
.actu-infos {
|
|
|
|
padding: 15px;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
.actu-dates {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
}
|
2018-01-28 19:09:56 +01:00
|
|
|
|
|
|
|
.aside-wrap + .content {
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
2017-08-20 00:39:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.calendar {
|
|
|
|
td, th {
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: center;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
padding: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2017-08-26 18:05:20 +02:00
|
|
|
font-size: 0.8em;
|
|
|
|
width: 25px;
|
|
|
|
height: 30px;
|
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
&.out {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
&.today {
|
|
|
|
border-bottom-color: #000;
|
|
|
|
}
|
2017-08-26 18:05:20 +02:00
|
|
|
&:nth-child(7) {
|
|
|
|
background: rgba(#000, 0.3);
|
|
|
|
}
|
|
|
|
&:nth-child(6) {
|
|
|
|
background: rgba(#000, 0.2);
|
|
|
|
}
|
|
|
|
&.hasevent {
|
|
|
|
font-weight: bold;
|
2018-01-28 19:09:56 +01:00
|
|
|
color: darken($lien, 10%);
|
2017-08-26 18:05:20 +02:00
|
|
|
font-size: 1em;
|
|
|
|
}
|
2017-08-19 01:32:26 +02:00
|
|
|
}
|
|
|
|
}
|
2018-01-28 19:09:56 +01:00
|
|
|
|
|
|
|
@import "_responsive";
|