mobile frenly width
This commit is contained in:
parent
bb92241af6
commit
79ca764d52
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
html {
|
html {
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
background-color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
@ -8,6 +9,11 @@ main {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 2px 32px 32px;
|
padding: 2px 32px 32px;
|
||||||
border-left: 4px solid #d39;
|
border-left: 4px solid #d3f;
|
||||||
border-right: 4px solid #d39;
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width:900px) {
|
||||||
|
main {
|
||||||
|
width: calc(100% - 82px);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue