blockquote { background-color: #3333332a; font-style: italic; padding: 1em; } /* Merci à https://tomasp.net/techdims/ pour le code et l'idée du background ! */ body { background-image: radial-gradient(4px at center,black 20%, transparent 20%), radial-gradient(4px at center,black 20%, transparent 20%); background-position: 0px 0px, 4px 3px; background-size: 8px 6px; background-color: rgb(255, 255, 255); display: grid; gap: 20px; grid-template-columns: 1fr 2fr; } footer { text-align: center; background-color: rgb(255, 255, 255); border: 3px solid black; grid-column: 1 / 3; grid-row: 3; } img { max-width : 100%; max-height : 400px; } .container { grid-column: 2; grid-row: 2; background-color: rgb(255, 255, 255); border: 3px solid black; height: fit-content; } .content { padding: 2em; } .description-site { grid-column: 2; grid-row: 2; background-color: rgb(255, 255, 255); border: 3px solid black; height: fit-content; } .header-bloc { background: #333; text-align: left; padding: 1px; font-size: 10pt; color: white; } .header-bloc h1, .header-bloc h2 { font-weight: 600; font-size: 12pt; color: white; } .main-header { text-align: left; background-color: rgb(255, 255, 255); border: 3px solid black; grid-column: 1 / 3; grid-row: 1; } .navbar ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: white; } .navbar li { float: left; } .navbar li a { display: block; color: black; text-align: center; padding: 14px 20px; text-decoration: none; } .navbar li.right { float: right; } .navbar li.right a:hover { background-color: white; cursor: default; } .navbar li a:hover { background-color: #333; color: white; } .easteregg a:hover { background-color: white; cursor: default; } .posts-list { grid-column: 1; grid-row: 2; background-color: rgb(255, 255, 255); border: 3px solid black; } .posts-list a:link, .posts-list a:visited, .content a:link, .content a:visited, footer a:link, footer a:visited { background-color: white; color: black; border: 1px dotted black; padding: 1px 2px; text-align: center; text-decoration: none; display: inline-block; } .posts-list a:hover, .posts-list a:active, .content a:hover, .content a:active, footer a:hover, footer a:active { background-color: #333; color: white; } .side { position: -webkit-sticky; position: sticky; height: fit-content; top: 0; background-color: rgb(255, 255, 255); border: 3px solid black; grid-column: 1; grid-row: 2; } .side-page.has-iframe { position: -webkit-sticky; position: sticky; height: fit-content; top: 0; border: 3px solid black; background-color: rgb(255, 255, 255); grid-column: 1; grid-row: 2; } .side-page iframe { width: 100%; height: 350px; border: 0; } .toc ul { list-style: none; } .toc a:link, .toc a:visited { text-decoration: none; color: black; } .toc a:hover, .toc a:active { text-decoration: underline; }