mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-15 14:02:37 +02:00
Add basic responsive styles.
This commit is contained in:
parent
a697be9a21
commit
83f5d53ce1
@ -25,8 +25,15 @@ a:hover {
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
margin: 40px;
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 10px;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
#wrapper {
|
||||
margin: 40px auto;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
@ -75,6 +82,7 @@ a:hover {
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#desc p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@ -109,12 +117,18 @@ a:hover {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.status_list .status {
|
||||
width: 180px;
|
||||
padding-right: 20px;
|
||||
.status {
|
||||
height: 70px;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 480px) {
|
||||
.status {
|
||||
margin: 0 2% 0 0;
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
.status_list .status .st {
|
||||
@ -126,7 +140,6 @@ a:hover {
|
||||
font-size: 11px;
|
||||
height: 46px;
|
||||
overflow: hidden;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
#code_references {
|
||||
|
Loading…
Reference in New Issue
Block a user