You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
1.9 KiB
129 lines
1.9 KiB
body {
|
|
background-color: #ebebeb;
|
|
}
|
|
|
|
a {
|
|
background-color: darkgrey;
|
|
text-decoration: none;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
a:link, a:visited { color: white; }
|
|
a:hover { color: cadetblue; background-color: white; }
|
|
a:active { color: darkgrey; }
|
|
|
|
/* HEADER */
|
|
|
|
.header {
|
|
border-left: 6px solid cadetblue;
|
|
background-color: #ebebeb;
|
|
position: sticky;
|
|
top: 0px;
|
|
}
|
|
|
|
.header .title {
|
|
display: block;
|
|
}
|
|
|
|
.header h1 {
|
|
margin-left: 10px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.header img {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 124px;
|
|
}
|
|
|
|
.header nav {
|
|
background-color: cadetblue;
|
|
}
|
|
|
|
.header nav a {
|
|
background-color: cadetblue;
|
|
margin-inline: 10px;
|
|
}
|
|
|
|
.header a:hover { color: darkgrey; }
|
|
.header a:active { color: cadetblue; }
|
|
|
|
/* MAIN CONTENT */
|
|
|
|
.main-content {
|
|
border-left: 6px solid cadetblue;
|
|
border-right: 2px solid cadetblue;
|
|
margin-right: 20%;
|
|
}
|
|
|
|
.main-content section {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.main-content .articles article {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.main-content h2,h3 {
|
|
border-bottom: 6px solid cadetblue;
|
|
border-left: 6px solid darkgrey;
|
|
padding-bottom: 4px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.main-content h2 {
|
|
background-color: cadetblue;
|
|
}
|
|
|
|
.main-content h4 {
|
|
border-bottom: 2px solid cadetblue;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.main-content .actus h4 {
|
|
margin-bottom: 0;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.main-content .actus p {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ASIDE */
|
|
|
|
.links {
|
|
background-color: #ebebebca;
|
|
padding-left: 2%;
|
|
padding-right: 2%;
|
|
padding-top: 1%;
|
|
border: 6px solid cadetblue;
|
|
display: block;
|
|
position: fixed;
|
|
top: 113px;
|
|
right: 8px;
|
|
height: 400px;
|
|
}
|
|
|
|
.links h3, ul {
|
|
text-align: justify;
|
|
}
|
|
|
|
/* FOOTER */
|
|
|
|
footer {
|
|
background-color: darkgray;
|
|
padding: 0;
|
|
margin: 0;
|
|
position: sticky;
|
|
bottom: 0px;
|
|
}
|
|
|
|
footer p {
|
|
display: inline-block;
|
|
text-align: right;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|