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.
153 lines
2.4 KiB
153 lines
2.4 KiB
body {
|
|
background-color: #ebebeb;
|
|
margin: 0;
|
|
}
|
|
|
|
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: 10px solid cadetblue;
|
|
background-image: linear-gradient(to right, #ebebeb, cadetblue);
|
|
position: sticky;
|
|
top: 0px;
|
|
}
|
|
|
|
.header .title {
|
|
display: block;
|
|
}
|
|
|
|
.header h1 {
|
|
margin-left: 10px;
|
|
margin-bottom: 4px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.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: 10px solid cadetblue;
|
|
border-right: 2px solid cadetblue;
|
|
border-radius: 0 14px 0 0;
|
|
margin-right: 20%;
|
|
}
|
|
|
|
.main-content section {
|
|
margin-left: 10px;
|
|
border-bottom: 2px solid cadetblue;
|
|
}
|
|
|
|
.main-content .articles div {
|
|
height: 600px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.main-content .actus div {
|
|
height: 200px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.main-content .articles article {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.main-content h2,h3 {
|
|
border-bottom: 6px solid cadetblue;
|
|
border-left: 6px solid darkgrey;
|
|
border-radius: 0 14px;
|
|
padding-bottom: 4px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.main-content h2 {
|
|
background-color: cadetblue;
|
|
border-bottom: 6px solid darkgrey;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.main-content h4 {
|
|
border-bottom: 2px solid cadetblue;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.main-content p, li {
|
|
padding-right: 20px;
|
|
text-align: justify;
|
|
}
|
|
|
|
.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;
|
|
border-radius: 0 14px;
|
|
position: fixed;
|
|
top: 113px;
|
|
right: 1%;
|
|
left: 80%;
|
|
height: 400px;
|
|
margin-left: 1%;
|
|
}
|
|
|
|
.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;
|
|
}
|