site/src/css/global.css

195 lines
3.9 KiB
CSS
Raw Normal View History

2024-06-19 20:21:44 -04:00
/* IMPORTS ================================================================= */
2024-06-19 02:24:06 -04:00
.markup {
2024-06-12 19:35:59 -04:00
word-wrap: break-word;
2024-06-19 02:24:06 -04:00
line-height: 1.7;
2024-06-12 21:53:46 -04:00
padding: 0 1.5em;
}
2024-06-19 02:24:06 -04:00
.markup p,
.markup blockquote,
.markup ul,
.markup ol,
.markup dl,
.markup table,
.markup pre {
margin: 1em 0;
}
2024-06-19 02:24:06 -04:00
.markup ul,
.markup ol {
2024-06-12 19:35:59 -04:00
all: revert;
padding-left: 30px;
}
2024-06-19 02:24:06 -04:00
.markup h1 {
2024-06-12 19:35:59 -04:00
font-size: 2.5em;
}
2024-06-19 02:24:06 -04:00
.markup h2 {
2024-06-12 19:35:59 -04:00
font-size: 2em;
}
2024-06-19 02:24:06 -04:00
.markup h3 {
2024-06-12 19:35:59 -04:00
font-size: 1.5em;
}
2024-06-19 02:24:06 -04:00
.markup h4 {
2024-06-12 19:35:59 -04:00
font-size: 1.2em;
}
2024-06-19 02:24:06 -04:00
.markup h5 {
2024-06-12 19:35:59 -04:00
font-size: 1em;
}
2024-06-19 02:24:06 -04:00
.markup h6 {
2024-06-12 19:35:59 -04:00
font-size: 1em;
}
2024-06-19 02:24:06 -04:00
.markup h1,
.markup h2,
.markup h3,
.markup h4,
.markup h5,
.markup h6 {
2024-06-12 19:35:59 -04:00
margin: 0.5em 0 0.25em 0;
}
2024-06-19 02:24:06 -04:00
.markup h1 + p,
.markup h2 + p,
.markup h3 + p {
2024-06-12 19:35:59 -04:00
margin-top: 0.5em;
}
2024-06-19 02:24:06 -04:00
.markup img {
2024-06-12 19:35:59 -04:00
max-width: 100%;
}
2024-06-19 02:24:06 -04:00
.markup code,
.markup pre {
2024-06-12 19:35:59 -04:00
background-color: #f8f8f8;
border-radius: 3px;
border: 1px solid #ddd;
font-family: monospace;
font-size: 12px;
margin: 0 2px;
padding: 0 5px;
white-space: pre;
2023-10-24 01:40:23 -04:00
}
2024-06-19 02:24:06 -04:00
.markup pre code {
2024-06-12 19:35:59 -04:00
border: none;
margin: 0;
padding: 0;
white-space: pre;
2023-10-25 01:34:15 -04:00
}
2023-10-24 01:40:23 -04:00
2024-06-19 20:39:27 -04:00
/* ============================================================================
GLOBAL VARIABLES
2024-06-19 02:24:06 -04:00
============================================================================ */
2024-06-19 20:39:27 -04:00
/* Media breakpoints ------------------------------------------------------- */
/* Spacing ----------------------------------------------------------------- */
/* Typography -------------------------------------------------------------- */
/* -- Font ----------------------------------------------------------------- */
/* ============================================================================
FONT SOURCES
============================================================================ */
/* Linux Libertine ------------------------------------------------------------
2024-06-19 20:21:44 -04:00
2024-06-19 20:39:27 -04:00
Licensed under GPL and OFL 1.1
2024-06-19 20:21:44 -04:00
2024-06-19 20:39:27 -04:00
Full license texts:
2024-06-19 20:21:44 -04:00
- https://gils.nexus/font/GPL.txt
- https://gils.nexus/font/OFL-1.1.txt
2024-06-19 20:39:27 -04:00
---------------------------------------------------------------------------- */
2024-06-19 20:21:44 -04:00
@font-face {
font-family: "Linux Libertine";
font-style: normal;
src: local("Linux Libertine"), url("../font/LinLibertine_Rah.ttf");
}
@font-face {
font-family: "Linux Libertine";
font-style: normal;
font-weight: 600;
src: local("Linux Libertine Semibold"), url("../font/LinLibertine_RZah.ttf");
}
@font-face {
font-family: "Linux Libertine";
font-style: normal;
font-weight: 700;
src: local("Linux Libertine Bold"), url("../font/LinLibertine_RBah.ttf");
}
@font-face {
font-family: "Linux Libertine";
font-style: italic;
src: local("Linux Libertine Italic"), url("../font/LinLibertine_RIah.ttf");
}
@font-face {
font-family: "Linux Libertine";
font-style: italic;
font-weight: 600;
src: local("Linux Libertine Semibold Italic"), url("../font/LinLibertine_RZIah.ttf");
}
@font-face {
font-family: "Linux Libertine";
font-style: italic;
font-weight: 700;
src: local("Linux Libertine Bold Italic"), url("../font/LinLibertine_RBIah.ttf");
}
2024-06-19 02:24:06 -04:00
html {
font-size: 12pt;
font-family: "Linux Libertine", "Times New Roman", Times, serif;
2023-10-24 01:40:23 -04:00
}
2024-06-19 02:24:06 -04:00
body {
display: grid;
padding: 2em;
2024-05-25 17:36:34 -04:00
}
2024-06-19 20:21:44 -04:00
@media (min-width: 769px) {
2024-06-19 02:24:06 -04:00
body {
grid-template-columns: 2fr 3fr 2fr;
height: 100%;
padding: 2em 0;
}
body > header {
grid-row: 1;
grid-column: 2;
}
body > footer {
grid-row: 3;
grid-column: 2;
}
2024-05-25 17:36:34 -04:00
}
2024-06-19 02:24:06 -04:00
main,
article {
font-size: 1rem;
2024-05-25 20:14:37 -04:00
}
2024-06-19 20:21:44 -04:00
@media (min-width: 769px) {
2024-06-19 02:24:06 -04:00
main,
article {
grid-row: 2;
grid-column: 2;
}
}
main .gba-portrait,
article .gba-portrait {
2024-05-25 22:08:40 -04:00
margin: auto;
margin-bottom: 1em;
width: 100%;
height: auto;
2024-06-19 02:24:06 -04:00
max-width: 192px;
2024-05-25 22:01:34 -04:00
}
2024-06-19 20:21:44 -04:00
@media (min-width: 769px) {
2024-06-19 02:24:06 -04:00
main .gba-portrait,
article .gba-portrait {
2024-05-25 22:01:34 -04:00
float: right;
margin: 1em;
2024-05-25 22:01:34 -04:00
}
}
2024-06-19 02:24:06 -04:00
header.banner {
text-align: center;
2024-06-12 19:35:59 -04:00
}
2024-06-19 02:24:06 -04:00
nav.navbar {
margin-bottom: 1em;
}
nav.navbar li {
display: inline-flex;
}
footer.footer-main {
margin: 2em 1em 1em 1em;
text-align: center;
2024-06-12 19:35:59 -04:00
}
2023-10-24 01:40:23 -04:00
/*# sourceMappingURL=global.css.map */