bye bye dual column
This commit is contained in:
parent
6d26b5ca84
commit
fae05665ac
|
@ -83,18 +83,13 @@ body {
|
|||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
padding-bottom: 30px;
|
||||
max-width: 1280px;
|
||||
max-width: 832px;
|
||||
border: 1px solid #111;
|
||||
background-color: #eee;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
main {
|
||||
column-count: 2;
|
||||
column-gap: 2em;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
@ -147,12 +142,8 @@ code {
|
|||
|
||||
@media print {
|
||||
body { background-color:white; max-width:100%;}
|
||||
main { column-count:1; }
|
||||
}
|
||||
|
||||
@media screen and (max-width:1000px) {
|
||||
main { column-count: 1; }
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { color: #ccc; background-color: #222; }
|
||||
html { background-color: black; }
|
||||
|
|
Loading…
Reference in New Issue