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-color: #ebebeb; 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; display: block; position: fixed; top: 113px; right: 16px; 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; }