mirror of
https://github.com/wahyd4/upptime.git
synced 2026-08-19 01:56:29 +10:00
69 lines
1014 B
SCSS
69 lines
1014 B
SCSS
body {
|
|
max-width: 800px;
|
|
margin: 2.5rem auto;
|
|
padding: 0 2rem;
|
|
background-color: #f0f7f7;
|
|
}
|
|
|
|
section {
|
|
margin-top: 2.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
section > div a {
|
|
display: block;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
article {
|
|
border: 1px solid #ddd;
|
|
background-color: #fff;
|
|
border-radius: 0.2rem;
|
|
position: relative;
|
|
padding: 1rem;
|
|
}
|
|
h3 {
|
|
font-size: 110%;
|
|
}
|
|
|
|
.down {
|
|
border-left: 0.2rem solid #e74c3c;
|
|
}
|
|
.up {
|
|
border-left: 0.2rem solid #2ecc71;
|
|
}
|
|
|
|
#current-incidents article {
|
|
color: #721c24;
|
|
background-color: #f8d7da;
|
|
border-color: #f5c6cb;
|
|
}
|
|
|
|
#live-status > div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
#live-status article {
|
|
width: 355px;
|
|
}
|
|
#live-status article img.graph {
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
bottom: 0;
|
|
height: 3rem;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
#live-status > div {
|
|
display: block;
|
|
}
|
|
#live-status article {
|
|
width: 100%;
|
|
}
|
|
}
|