113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
:root {
|
|
--color-text: #000;
|
|
--color-background: #EEE;
|
|
|
|
--color-brand-ul-red: #e03127;
|
|
--color-brand-ul-light-grey: #E6E7E8;
|
|
--color-brand-ul-medium-grey: #A7A8AA;
|
|
--color-brand-ul-dark-grey: #58595b;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
color: var(--color-text);
|
|
background: var(--color-background);
|
|
transition:
|
|
color 0.5s,
|
|
background-color 0.5s;
|
|
line-height: 1.6;
|
|
font-family: "Noto Sans", sans-serif;
|
|
font-size: 17px;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
|
|
* {
|
|
user-select: none;
|
|
}
|
|
html, body {
|
|
touch-action: manipulation;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: bold;
|
|
font-size: 1.5em;
|
|
color: #58595b;
|
|
}
|
|
|
|
|
|
a,
|
|
.green {
|
|
text-decoration: none;
|
|
color: hsla(160, 100%, 37%, 1);
|
|
transition: 0.4s;
|
|
padding: 3px;
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
a:hover {
|
|
background-color: hsla(160, 100%, 37%, 0.2);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
body {
|
|
display: flex;
|
|
place-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
.mstatus {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
button {
|
|
--bg-default: #ffffff;
|
|
--bg-active: lightgray;
|
|
background: var(--bg-default);
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
button {
|
|
margin: .1rem;
|
|
border: 1px solid #000000;
|
|
border-radius: 3px;
|
|
background: #ffffff;
|
|
box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
|
|
}
|
|
|
|
/* The last touched button keeps focus, so we shoudln't highlight that */
|
|
button:focus:not(:active) {
|
|
background: var(--bg-default);
|
|
}
|
|
|
|
button:active {
|
|
background: var(--bg-active);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
h3 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.currentlyActive {
|
|
background-color: orange !important
|
|
}
|