better support for smol screens
This commit is contained in:
parent
b4f78df890
commit
fa2434b832
1 changed files with 9 additions and 3 deletions
12
style.css
12
style.css
|
@ -6,18 +6,24 @@ body {
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: #777;
|
color: #777;
|
||||||
text-decoration: none;
|
text-decoration-style: dotted;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration-style: solid;
|
||||||
}
|
}
|
||||||
article, footer {
|
article, footer {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
min-width: 400px;
|
min-width: 500px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
}
|
}
|
||||||
|
@media only screen and (max-width:550px){
|
||||||
|
article, footer {
|
||||||
|
min-width:0;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
h1 {
|
h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
|
|
Loading…
Reference in a new issue