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.

152 lines
2.4 KiB

2 years ago
body {
background-color: #ebebeb;
margin: 0;
2 years ago
}
2 years ago
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; }
2 years ago
/* HEADER */
.header {
border-left: 10px solid cadetblue;
2 years ago
background-color: #ebebeb;
position: sticky;
top: 0px;
}
.header .title {
display: block;
}
.header h1 {
margin-left: 10px;
margin-bottom: 4px;
margin-top: 0;
2 years ago
}
.header img {
position: absolute;
right: 0;
top: 0;
width: 124px;
}
.header nav {
background-color: cadetblue;
}
.header nav a {
2 years ago
background-color: cadetblue;
2 years ago
margin-inline: 10px;
}
2 years ago
.header a:hover { color: darkgrey; }
.header a:active { color: cadetblue; }
2 years ago
/* MAIN CONTENT */
.main-content {
border-left: 10px solid cadetblue;
2 years ago
border-right: 2px solid cadetblue;
2 years ago
border-radius: 0 14px 0 0;
2 years ago
margin-right: 20%;
2 years ago
}
.main-content section {
margin-left: 10px;
2 years ago
border-bottom: 2px solid cadetblue;
}
.main-content .articles div {
height: 600px;
overflow: scroll;
}
.main-content .actus div {
height: 200px;
overflow: scroll;
2 years ago
}
2 years ago
.main-content .articles article {
margin-bottom: 50px;
}
2 years ago
.main-content h2,h3 {
border-bottom: 6px solid cadetblue;
border-left: 6px solid darkgrey;
2 years ago
border-radius: 0 14px;
2 years ago
padding-bottom: 4px;
padding-left: 10px;
}
.main-content h2 {
background-color: cadetblue;
2 years ago
border-bottom: 6px solid darkgrey;
2 years ago
margin-bottom: 3px;
2 years ago
}
2 years ago
.main-content h4 {
border-bottom: 2px solid cadetblue;
padding-bottom: 4px;
}
.main-content p, li {
padding-right: 20px;
text-align: justify;
}
2 years ago
.main-content .actus h4 {
margin-bottom: 0;
padding-bottom: 2px;
}
.main-content .actus p {
margin-top: 2px;
}
2 years ago
/* ASIDE */
.links {
background-color: #ebebebca;
2 years ago
padding-left: 2%;
padding-right: 2%;
padding-top: 1%;
2 years ago
border: 6px solid cadetblue;
2 years ago
border-radius: 0 14px;
2 years ago
display: block;
position: fixed;
2 years ago
top: 113px;
2 years ago
right: 16px;
2 years ago
height: 400px;
}
2 years ago
.links h3, ul {
text-align: justify;
}
2 years ago
/* 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;
}