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 {
|
#wrapper {
|
||||||
margin: 40px;
|
margin: 0 auto;
|
||||||
width: 600px;
|
padding: 10px;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 480px) {
|
||||||
|
#wrapper {
|
||||||
|
margin: 40px auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@ -75,6 +82,7 @@ a:hover {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#desc p {
|
#desc p {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
@ -109,12 +117,18 @@ a:hover {
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status_list .status {
|
.status {
|
||||||
width: 180px;
|
|
||||||
padding-right: 20px;
|
|
||||||
height: 70px;
|
height: 70px;
|
||||||
float: left;
|
float: left;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 480px) {
|
||||||
|
.status {
|
||||||
|
margin: 0 2% 0 0;
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status_list .status .st {
|
.status_list .status .st {
|
||||||
@ -126,7 +140,6 @@ a:hover {
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
height: 46px;
|
height: 46px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 160px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#code_references {
|
#code_references {
|
||||||
|
Loading…
Reference in New Issue
Block a user