@font-face { font-family: 'Bagnard'; src: url('/fonts/Bagnard.otf') format('otf'); } @font-face { font-family: 'TeX Gyre Heros'; src: url('/fonts/texgyreheroscn-regular.otf') format('otf'); } @font-face { font-family: 'TeX Gyre Heros Bold'; src: url('/fonts/texgyreheroscn-bold.otf') format('otf'); } @font-face { font-family: 'TeX Gyre Heros Italic'; src: url('/fonts/texgyreheroscn-italic.otf') format('otf'); } @font-face { font-family: 'TeX Gyre Heros Bold Italic'; src: url('/fonts/texgyreheroscn-bolditalic') format('otf'); } 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, 254, 235); display: grid; gap: 20px; grid-template-columns: 1fr 2fr; font-family: 'TeX Gyre Heros'; font-size: 1em; } em { font-family: 'TeX Gyre Heros Italic'; } footer { text-align: center; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; grid-column: 1 / 3; grid-row: 3; } h1, h2, h3, h4, h5, h6 { font-family: 'Bagnard'; margin-top: 0; } img { max-width : 100%; max-height : 400px; } strong { font-family: 'TeX Gyre Heros Bold'; } strong > em { font-family: 'TeX Gyre Heros Bold Italic'; } .container { grid-column: 2; grid-row: 2; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; height: fit-content; } .content { padding: 1em 4em; font-size: 1.3em; color: #1a1818; } .content h2, .content h3, .content h4, .content h5, .content h6 { margin: 0; } .content h2 { font-size: 2.5em; } .content h2 + p, .content h3 + p, .content h4 + p, .content h5 + p, .content h6 + p { margin-top: 0; } .description-site { grid-column: 2; grid-row: 2; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; height: fit-content; } .header-bloc { background: #1a1818; text-align: left; padding-left: 1em; font-size: 1em; color: rgb(255, 254, 235); } .header-bloc h1, .header-bloc h2 { font-weight: 600; font-size: 2em; color: rgb(255, 254, 235); margin: 0; } .main-header { text-align: left; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; grid-column: 1 / 3; grid-row: 1; } .navbar ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: rgb(255, 254, 235); } .navbar li { float: left; } .navbar li a { display: block; color: #1a1818; text-align: center; padding: 14px 20px; text-decoration: none; } .navbar li.right { float: right; } .navbar li.right a:hover { background-color: rgb(255, 254, 235); cursor: default; } .navbar li a:hover { background-color: #1a1818; color: rgb(255, 254, 235); } .easteregg a:hover { background-color: rgb(255, 254, 235); cursor: default; } .posts-list { grid-column: 1; grid-row: 2; height: fit-content; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; } .posts-list a:link, .posts-list a:visited, .content a:link, .content a:visited, footer a:link, footer a:visited { background-color: rgb(255, 254, 235); color: #1a1818; 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: #1a1818; color: rgb(255, 254, 235); } .side { position: -webkit-sticky; position: sticky; height: fit-content; top: 0; background-color: rgb(255, 254, 235); border: 3px solid #1a1818; grid-column: 1; grid-row: 2; } .side-page.has-iframe { position: -webkit-sticky; position: sticky; height: fit-content; top: 0; border: 3px solid #1a1818; background-color: rgb(255, 254, 235); 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: #1a1818; } .toc a:hover, .toc a:active { text-decoration: underline; } .load-content { font-size: 0.8em; } .smaller-content { font-size: 0.6em; }