site/src/css/global.css

272 lines
5.2 KiB
CSS
Raw Normal View History

2023-10-24 01:40:23 -04:00
/*
2024-06-11 02:50:50 -04:00
COLORS
===============================================================================
*/
/*
2023-10-24 01:40:23 -04:00
Flexoki (https://stephango.com/flexoki)
MIT License
Copyright (c) 2023 Steph Ango
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*
FONT: LINUX LIBERTINE
===============================================================================
License: GPL and OFL 1.1
For license text, see:
- https://gils.nexus/font/GPL.txt
- https://gils.nexus/font/OFL-1.1.txt
2023-10-24 01:40:23 -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");
2023-10-24 01:40:23 -04:00
}
/*
2024-06-10 01:41:31 -04:00
VARIABLES
===============================================================================
*/
/*
COLORS
===============================================================================
2023-10-24 01:40:23 -04:00
*/
html {
font-size: 20px;
font-family: "Linux Libertine", "Times New Roman", Times, serif;
}
2023-10-18 13:32:43 -04:00
body {
2024-06-10 04:06:12 -04:00
background-color: #141013;
2024-05-25 20:14:37 -04:00
color: rgb(255, 252, 240);
2023-10-24 01:40:23 -04:00
}
::selection {
background: rgba(160, 47, 111, 0.25);
}
2024-05-25 22:01:34 -04:00
main,
article {
font-size: 1rem;
2024-06-12 19:35:59 -04:00
word-wrap: break-word;
line-height: 1.5;
2024-06-12 21:53:46 -04:00
padding: 0 1.5em;
}
main.page,
article.page {
border: 32px solid transparent;
border-image: url(/img/nine-patch.png) 32 round;
-webkit-border-image: url(/img/nine-patch.png) 32 round;
2024-05-25 20:14:37 -04:00
background-color: rgb(255, 252, 240);
2024-06-10 04:06:12 -04:00
color: #802659;
box-shadow: 0 8px rgb(52, 51, 49);
2023-10-24 01:40:23 -04:00
}
2024-05-25 22:01:34 -04:00
@media screen and (min-width: 600px) {
main,
article {
max-width: 900px;
width: 90%;
margin: 0 auto;
box-shadow: 8px 8px rgb(52, 51, 49);
2024-05-25 22:01:34 -04:00
}
}
2024-06-12 19:35:59 -04:00
main p,
main blockquote,
main ul,
2024-06-12 19:35:59 -04:00
main ol,
main dl,
main table,
main pre,
article p,
article blockquote,
article ul,
article ol,
2024-06-12 19:35:59 -04:00
article dl,
article table,
article pre {
margin: 1em 0;
}
2024-06-12 19:35:59 -04:00
main ul,
main ol,
article ul,
article ol {
all: revert;
padding-left: 30px;
}
main h1,
article h1 {
font-size: 2.5em;
}
main h2,
article h2 {
font-size: 2em;
}
main h3,
article h3 {
font-size: 1.5em;
}
main h4,
article h4 {
font-size: 1.2em;
}
main h5,
article h5 {
font-size: 1em;
}
main h6,
article h6 {
font-size: 1em;
}
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
2024-06-12 19:35:59 -04:00
margin: 0.5em 0 0.25em 0;
}
2024-06-12 19:35:59 -04:00
main h1 + p,
main h2 + p,
main h3 + p,
article h1 + p,
article h2 + p,
article h3 + p {
margin-top: 0.5em;
}
2024-06-12 19:35:59 -04:00
main img,
article img {
max-width: 100%;
}
2024-06-12 19:35:59 -04:00
main code,
main pre,
article code,
article pre {
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-12 19:35:59 -04:00
main pre code,
article pre code {
border: none;
margin: 0;
padding: 0;
white-space: pre;
2023-10-25 01:34:15 -04:00
}
2024-06-12 19:35:59 -04:00
main a,
article a {
color: #9ec611;
text-decoration: underline #9ec611 2px;
2023-10-24 01:40:23 -04:00
}
2024-06-12 19:35:59 -04:00
main a:hover,
article a:hover {
color: #beec1f;
2023-10-24 01:40:23 -04:00
}
2024-06-12 19:35:59 -04:00
header.banner {
text-align: center;
2023-10-24 01:40:23 -04:00
}
nav.navbar {
margin-bottom: 1em;
2024-05-25 17:36:34 -04:00
}
nav.navbar li {
display: inline-flex;
2024-05-25 17:36:34 -04:00
}
footer.footer-main {
margin: 2em 1em 1em 1em;
2024-05-25 20:14:37 -04:00
text-align: center;
}
2024-05-26 20:29:21 -04:00
.gba-portrait {
2024-05-25 22:08:40 -04:00
margin: auto;
margin-bottom: 1em;
transform: rotate(2deg);
background: white;
box-shadow: 4px 4px 0px rgb(183, 181, 172);
2024-05-25 22:08:40 -04:00
width: 100%;
height: auto;
max-width: 288px;
2024-05-25 22:01:34 -04:00
}
2024-05-25 22:08:40 -04:00
@media screen and (min-width: 768px) {
2024-05-26 20:29:21 -04:00
.gba-portrait {
2024-05-25 22:01:34 -04:00
float: right;
margin: 1em;
2024-05-25 22:01:34 -04:00
}
}
2024-06-12 19:35:59 -04:00
a {
color: #9ec611;
text-decoration: underline #9ec611 2px;
}
a:hover {
color: #beec1f;
}
2023-10-24 01:40:23 -04:00
/*# sourceMappingURL=global.css.map */