Made use of :is() to reduce code. Changed align of service status indicators.
This commit is contained in:
parent
f7380cd3a5
commit
f6fc77495b
@ -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; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user