165 lines
3.1 KiB
CSS
165 lines
3.1 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
:root {
|
|
--font-family: "Montserrat", sans-serif;
|
|
--code-font-family: "IBM Plex Mono", monospace;
|
|
--font-size: 10;
|
|
--author-row-font-size: 12px;
|
|
--heading1-font-size: 25px;
|
|
--code-block-font-size: 10px;
|
|
--chart-modifier-height: 60px;
|
|
--article-max-width: 70%;
|
|
--content-padding: 40px;
|
|
--content-margin: 40px;
|
|
--element-padding: 20px;
|
|
--element-margin: 20px;
|
|
--article-margin: 10px;
|
|
--heading-margin: 30px;
|
|
--radius: 5px;
|
|
--line-height: 1.5;
|
|
--checkbox-width: max-content;
|
|
--checkbox-font-size: 16px;
|
|
--avatar-width: 20px;
|
|
--background-color: #181a1b;
|
|
--text-color: #e0ddd9;
|
|
--subtext-color: #6c757d;
|
|
--link-color: #60b2f1;
|
|
--hover-color: #0056b3;
|
|
--heading1-color: #fc8452;
|
|
--heading2-color: #e0ddd9;
|
|
--heading3-color: #e0ddd9;
|
|
--navbar-background-color: #181a1b;
|
|
--navbar-text-color: #e0ddd9;
|
|
--navbar-hover: #333;
|
|
--footer-background-color: #333;
|
|
--summary-container-hover-bg: #343a40;
|
|
--codeblock-bg-color: #1b1d1e;
|
|
--inline-code-bg-color: #353535;
|
|
--table-even-row-bg-color: #343a40;
|
|
--table-odd-row-bg-color: #515c66;
|
|
--table-header-bg: #212529;
|
|
--table-font-color: #e0ddd9;
|
|
--table-header-font-size: 14px;
|
|
--table-row-font-size: 12px;
|
|
--border-color: #363a3d;
|
|
--border-width: 2px;
|
|
--border-style: solid;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
:root {
|
|
--font-size: 10;
|
|
--author-row-font-size: 12px;
|
|
--heading1-font-size: 25px;
|
|
--code-block-font-size: 10px;
|
|
--avatar-width: 20px;
|
|
--article-max-width: 100%;
|
|
--table-header-font-size: 14px;
|
|
--table-row-font-size: 12px;
|
|
}
|
|
}
|
|
|
|
/* Style for WebKit browsers (Chrome, Safari, etc.) */
|
|
*::-webkit-scrollbar {
|
|
height: 5px;
|
|
border-radius: 6px;
|
|
background: #1f1f28;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
border-radius: 6px;
|
|
background: #585653;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: #454445; /* Background color on hover */
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--background-color);
|
|
font-size: var(--font-size);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--link-color);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--hover-color);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
time {
|
|
color: var(--subtext-color);
|
|
margin-bottom: var(--article-margin);
|
|
}
|
|
|
|
/* Charts */
|
|
.chart-flex-container {
|
|
display: flex;
|
|
}
|
|
|
|
.chart-flex-container article {
|
|
flex: 1;
|
|
}
|
|
|
|
#chart {
|
|
width: 100%;
|
|
height: 50vh;
|
|
}
|
|
|
|
.chart-area {
|
|
width: 60%;
|
|
margin: var(--article-margin);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background-color: var(--footer-background-color);
|
|
color: var(--text-color);
|
|
padding: 20px;
|
|
height: 10vh;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
footer a:hover {
|
|
background-color: #ddd;
|
|
color: black;
|
|
}
|
|
|
|
.author-row {
|
|
display: flex;
|
|
justify-content: left;
|
|
align-items: center;
|
|
color: var(--subtext-color);
|
|
font-size: var(--author-row-font-size);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.avatar-container {
|
|
width: var(--avatar-width);
|
|
margin-right: var(--element-margin);
|
|
}
|
|
|
|
.avatar {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.author-name {
|
|
margin: 2px;
|
|
}
|
|
|
|
.author-row time {
|
|
margin: 2px;
|
|
}
|