147 lines
2.3 KiB
CSS
147 lines
2.3 KiB
CSS
@import url('/css/fonts.css');
|
|
|
|
:root {
|
|
--bg-color: #fff;
|
|
--text-color: #2d3436;
|
|
--text-highlight: #00b894;
|
|
--text-highlight-secondary: #16a085;
|
|
--table-header: #ecf0f1;
|
|
--table-gridlines: #bdc3c7;
|
|
--table-gridlines-secondary: #000;
|
|
}
|
|
|
|
html {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
}
|
|
|
|
body {
|
|
color: var(--text-color);
|
|
background-color: var(--bg-color);
|
|
font-family: 'Noto Sans';
|
|
line-height: 1.5;
|
|
text-align: justify;
|
|
margin: 0;
|
|
width: 100%;
|
|
max-width: 768px;
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
a {
|
|
color: var(--text-highlight);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Media */
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
figure {
|
|
display: inline-block;
|
|
margin: 2rem auto;
|
|
text-align: center;
|
|
max-width: 100%;
|
|
}
|
|
|
|
figure img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
figcaption {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.95rem;
|
|
color: var(--text-highlight-secondary);
|
|
font-style: italic;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
width: fit-content;
|
|
}
|
|
|
|
/* Menubar */
|
|
|
|
nav {
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
nav > ul {
|
|
margin: 0;
|
|
padding: 0.5rem 0 0.5rem 0;
|
|
list-style: none;
|
|
display: flex;
|
|
background-color: var(--text-highlight-secondary);
|
|
}
|
|
|
|
nav > ul > li > a {
|
|
padding: 0.5rem;
|
|
border-right: var(--text-highlight-secondary) 2px solid;
|
|
background-color: var(--text-highlight);
|
|
color: var(--bg-color);
|
|
}
|
|
|
|
nav > ul > li > a:hover {
|
|
background-color: var(--text-highlight-secondary);
|
|
}
|
|
|
|
/* Code */
|
|
|
|
code { font-family: 'IBM Plex Mono', monospace; }
|
|
|
|
div.highlight pre {
|
|
padding: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Tables */
|
|
|
|
table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
border-spacing: 0;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
thead > tr > th {
|
|
background-color: var(--table-header);
|
|
border: var(--table-gridlines) 2px solid;
|
|
border-bottom: var(--table-gridlines-secondary) 2px solid;
|
|
border-top: 0;
|
|
text-align: center;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
tbody > tr > td {
|
|
border: var(--table-gridlines) 2px solid;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
td:first-child,
|
|
th:first-child {
|
|
border-left: none;
|
|
}
|
|
|
|
td:last-child,
|
|
th:last-child {
|
|
border-right: none;
|
|
}
|