2lcc/assets/css/main.css

90 lines
1.2 KiB
CSS
Raw Normal View History

2025-02-19 11:21:38 +00:00
@font-face {
font-family: 'atkinson';
src: url('/fonts/AtkinsonHyperlegibleNext-Regular.otf') format('opentype');
}
:root {
--highlight-color: oklch(46.11% 0.198 298.4);
}
body {
color: #222;
font-family: atkinson, sans-serif;
line-height: 1.5;
margin-inline: auto;
2025-02-19 20:46:58 +00:00
max-width: 400px;
2025-02-19 11:21:38 +00:00
width: auto;
2025-02-19 20:46:58 +00:00
font-size: 1.1rem;
2025-02-19 11:21:38 +00:00
}
h1 {
color: var(--highlight-color);
}
header {
text-align: center;
}
footer {
font-size: 0.9rem;
color: #777;
}
div.filter {
text-align: center;
margin-block-end: 20px;
}
input {
font-size: 1.2rem;
}
table {
margin-inline: auto;
border-collapse: collapse;
table-layout: fixed;
2025-02-19 20:46:58 +00:00
width: 100%;
2025-02-19 11:21:38 +00:00
}
table thead {
color: var(--highlight-color);
}
table thead th:nth-child(1) {
2025-02-19 20:46:58 +00:00
width: 3em;
2025-02-19 11:21:38 +00:00
}
table tbody td {
padding: 2px 8px;
}
table tbody td:nth-child(1) {
background-color: oklch(94.1% 0.046 305.24);
text-align: center;
}
table thead th {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
table {
border-bottom: 1px solid #222;
}
footer {
text-align: center;
}
a {
color: #00e;
text-decoration: none;
}
.hidden {
display: none;
}
table tbody tr.exact td {
background: oklch(95% 0.07 92.39);
}