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