Merge pull request #719 from ae-utbm/page-fix

Fix markdown style for code
This commit is contained in:
thomas girod 2024-07-18 15:08:21 +02:00 committed by GitHub
commit 588a82426e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,8 +20,12 @@
code { code {
overflow: auto; overflow: auto;
max-width: 100%; max-width: 100%;
font-family: Consolas; font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
"Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
"Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier,
monospace;
font-size: 14px; font-size: 14px;
tab-size: 4;
border-radius: 4px; border-radius: 4px;
border: 1px solid var(--border-lightgrey); border: 1px solid var(--border-lightgrey);
background-color: var(--bg-lightgrey); background-color: var(--bg-lightgrey);
@ -34,7 +38,6 @@
padding: 10px; padding: 10px;
display: block; display: block;
border-radius: 5px; border-radius: 5px;
font-size: 1em;
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
margin: 10px 0; margin: 10px 0;
@ -43,7 +46,6 @@
blockquote { blockquote {
background-color: var(--bg-lightgrey); background-color: var(--bg-lightgrey);
border: unset;
border-left: 5px solid #ccc; border-left: 5px solid #ccc;
border-radius: 4px; border-radius: 4px;
margin: 15px; margin: 15px;