Made use of :is() to reduce code. Changed align of service status indicators.

This commit is contained in:
Alexander Andreev 2022-10-19 21:19:03 +04:00
parent f7380cd3a5
commit f6fc77495b
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -32,8 +32,7 @@ button {
text-decoration: none;
word-wrap: break-word; }
a:hover,
button:hover {
:is(a, button):hover {
color: var(--secondary-color);
text-decoration: underline dotted;
cursor: pointer;
@ -78,11 +77,10 @@ h3.service-up::after { content: '●'; }
h3.service-down::after { content: '○'; }
h3.service-up::after,
h3.service-down::after {
font-size: .7rem;
h3:is(.service-up, .service-down)::after {
font-size: 1rem;
margin-right: -.9rem;
vertical-align: super;
vertical-align: text-top;
padding-left: .2rem; }
small,
@ -100,13 +98,11 @@ table {
border-collapse: collapse;
margin-bottom: .5rem; }
tr th,
tr td {
tr :is(th, td) {
text-align: left;
vertical-align: top; }
tr td:not(:last-child),
tr th:not(:last-child) { padding-right: .5rem; }
tr :is(th, td):not(:last-child) { padding-right: .5rem; }
#banners figure img { width: auto; }