paceboard/css/style.css

98 lines
1.7 KiB
CSS
Raw Permalink Normal View History

2021-06-23 16:47:42 +01:00
@font-face {
font-family: "Fira Code";
src: url("../assets/fonts/FiraCode.ttf");
}
@font-face {
font-family: "Lexend";
src: url("../assets/fonts/Lexend.ttf");
}
2021-06-29 01:30:28 +01:00
:root {
--color-text-primary: #352B38;
--color-text-link: #306662;
--color-background-primary: #EDF1EA;
--color-background-secondary: #D9DED4;
--color-background-tertiary: #EBE1E9;
}
2021-06-23 16:47:42 +01:00
body {
2021-06-29 01:30:28 +01:00
color: var(--color-text-primary);
background-color: var(--color-background-primary);
2021-06-23 16:47:42 +01:00
font-family: "Fira Code", "Courier New", Courier, monospace;
font-style: normal;
font-weight: 300;
margin: auto;
margin-top: 50px;
margin-bottom: 10vmin;
2021-06-29 01:30:28 +01:00
max-width: min(98%, 45em);
2021-06-23 16:47:42 +01:00
overflow-wrap: break-word;
overflow-y: scroll;
}
h1, h2 {
font-family: "Lexend", "Arial", Arial, sans-serif;
text-align: center;
}
2021-06-29 01:30:28 +01:00
h2 {
margin-bottom: 16px;
}
p {
padding-left: 0.6em;
padding-right: 0.6em;
}
a {
color: var(--color-text-link)
}
table, tr, th, td {
border-collapse: collapse;
}
td:first-child {
padding-left: 0.6em;
}
td:last-child {
padding-right: 0.6em;
}
.reduceTopMargin {
margin-top: -0.75em;
}
2021-06-26 04:05:19 +01:00
.centerHoriz {
margin: auto;
2021-06-29 01:30:28 +01:00
width: min(100%, 45em);
2021-06-26 04:05:19 +01:00
}
.categoryLink {
2021-06-29 01:30:28 +01:00
padding-top: 1em;
display: block;
2021-06-26 04:05:19 +01:00
}
.categoryBoard {
2021-06-29 01:30:28 +01:00
background-color: var(--color-background-secondary);
2021-06-26 04:05:19 +01:00
text-align: left;
2021-06-29 01:30:28 +01:00
}
.categoryBoard tr td:nth-child(3) {
text-align: center;
}
.categoryBoard tr td:nth-child(4) {
text-align: right;
}
.categoryBoard tr:nth-child(even) {
background-color: var(--color-background-tertiary);
}
.runContainer {
text-align: center;
padding-bottom: 3%;
padding-top: 3%
2021-06-23 16:47:42 +01:00
}