tentative de responsive

This commit is contained in:
Rick 2021-02-03 19:47:31 +01:00
parent 14d0bbd360
commit 254a7f8dee
Signed by: Rick
GPG key ID: 9570A7DB7CB2F436

View file

@ -54,10 +54,10 @@ a {
color: white; color: white;
} }
a:hover { /* a:hover {
color: #121224; color: #121224;
background-color: white; background-color: white;
} } */
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
@ -84,14 +84,14 @@ h1, h2, h3, h4, h5, h6 {
.pre-art { .pre-art {
background-color: #0E0E1B; background-color: #0E0E1B;
padding: 2%; padding: 1em;
padding-bottom: 3%; padding-bottom: 2em;
border: 1px solid darkgray; border: 1px solid darkgray;
box-shadow: 1px 1px 5px grey; box-shadow: 1px 1px 5px grey;
color: white; color: white;
margin-left: 20%; margin-left: 20%;
margin-right: 20%; margin-right: 20%;
margin-bottom: 5%; margin-bottom: 30px;
} }
.summary { .summary {
@ -394,3 +394,15 @@ pre * {
.highlight .vi { color: #000000; } .highlight .vi { color: #000000; }
.highlight .il { color: #0000cf; font-weight: bold; } .highlight .il { color: #0000cf; font-weight: bold; }
@media (max-width: 800px) {
.pre-art {
margin-left: 1em;
margin-right: 1em;
}
#article {
margin-left: 1em;
margin-right: 1em;
}
}