2024-05-07 00:45:13 +00:00
|
|
|
/*/
|
|
|
|
Type: file
|
|
|
|
Content-Type: text/css
|
|
|
|
Title: Stylesheet
|
|
|
|
Location: /styles.css
|
|
|
|
/**/
|
|
|
|
|
2024-05-08 05:43:47 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@100..900&family=Courgette&family=Noto+Color+Emoji&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
|
2024-05-07 00:45:13 +00:00
|
|
|
@import url('https://static.omg.lol/type/font-md-io.css');
|
|
|
|
@import url('https://static.omg.lol/type/fontawesome-free/css/all.css');
|
|
|
|
@import url('https://static.omg.lol/profiles/icons/omg.lol-icons.css');
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--foreground: #f9f8fa;
|
|
|
|
--background: #242129;
|
|
|
|
--card-bg: #242129;
|
|
|
|
--link: #aa55fe;
|
|
|
|
--accent: #845e9e;
|
|
|
|
|
|
|
|
--font-main: 'Rubik', sans-serif, 'Noto Color Emoji';
|
2024-05-08 05:43:47 +00:00
|
|
|
--font-head: 'Grenze Gotisch', sans-serif, 'Noto Color Emoji';
|
2024-05-07 00:45:13 +00:00
|
|
|
--font-code: 'MD IO 0.4', monospace, 'Noto Color Emoji';
|
2024-05-07 05:30:46 +00:00
|
|
|
--font-em: 'Courgette', cursive;
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-08 05:43:47 +00:00
|
|
|
--font-main-weight: 400;
|
|
|
|
--font-head-weight: 400;
|
|
|
|
--font-code-weight: 400;
|
|
|
|
--font-em-weight: 400;
|
|
|
|
|
2024-05-07 00:45:13 +00:00
|
|
|
--paper-texture-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='.4' numOctaves='3' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeDropShadow dx='0' dy='0' flood-color='%23888' flood-opacity='.5' stdDeviation='1'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
|
|
|
|
--shadow: 1px 2px 0.5em 1px rgba(17,17,17,0.2)
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
html {
|
|
|
|
filter: invert(1) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
img,svg,video {
|
|
|
|
filter: invert(1) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: var(--font-main);
|
2024-05-08 05:43:47 +00:00
|
|
|
font-weight: var(--font-main-weight);
|
2024-05-07 00:45:13 +00:00
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-size: 120%;
|
|
|
|
color: var(--foreground);
|
|
|
|
background: var(--background);
|
|
|
|
}
|
|
|
|
|
2024-05-07 04:51:55 +00:00
|
|
|
article, main.page {
|
2024-05-07 00:45:13 +00:00
|
|
|
display: block;
|
|
|
|
max-width: 42em;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin: 3em auto;
|
|
|
|
padding: 2em;
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
background-image: var(--paper-texture-svg);
|
2024-05-08 06:35:06 +00:00
|
|
|
background-repeat: repeat;
|
2024-05-07 00:45:13 +00:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
2024-05-08 06:35:06 +00:00
|
|
|
flex-direction: column;
|
2024-05-07 00:45:13 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: start;
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
}
|
|
|
|
|
2024-05-07 01:34:40 +00:00
|
|
|
.post-info {
|
2024-05-08 06:30:25 +00:00
|
|
|
margin-top: -1rem;
|
|
|
|
margin-right: -1rem;
|
2024-05-08 06:28:51 +00:00
|
|
|
width:100%;
|
2024-05-07 01:34:40 +00:00
|
|
|
}
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 01:57:07 +00:00
|
|
|
.post-info+h1 {
|
2024-05-08 06:26:49 +00:00
|
|
|
/*max-width: calc(100% - 4rem - 2em);*/
|
2024-05-07 01:57:07 +00:00
|
|
|
}
|
|
|
|
|
2024-05-07 01:34:40 +00:00
|
|
|
.post-info, .post-tags {
|
|
|
|
font-size: 85%;
|
|
|
|
color: var(--accent);
|
|
|
|
text-align: right;
|
|
|
|
}
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 01:34:40 +00:00
|
|
|
.post-info i:nth-child(2) {
|
|
|
|
margin-left: .75em;
|
|
|
|
}
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 06:11:03 +00:00
|
|
|
article p {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-05-07 02:00:38 +00:00
|
|
|
article p:has(img) {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 05:30:46 +00:00
|
|
|
em {
|
|
|
|
font-family: var(--font-em);
|
2024-05-08 05:43:47 +00:00
|
|
|
font-weight: var(--font-em-weight);
|
2024-05-07 05:30:46 +00:00
|
|
|
font-style: normal;
|
|
|
|
color: color-mix(in lch, var(--link), var(--foreground));
|
|
|
|
}
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 06:06:04 +00:00
|
|
|
iframe {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.caption {
|
|
|
|
text-align: center;
|
2024-05-07 06:11:03 +00:00
|
|
|
margin-block-start: 0.5em;
|
|
|
|
font-size: smaller;
|
|
|
|
color: var(--accent);
|
|
|
|
font-family: var(--font-em);
|
2024-05-08 05:43:47 +00:00
|
|
|
font-weight: var(--font-em-weight);
|
2024-05-07 06:06:04 +00:00
|
|
|
}
|
|
|
|
|
2024-05-08 05:43:47 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: var(--font-head);
|
|
|
|
font-weight: var(--font-head-weight);
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
|
2024-05-08 06:21:57 +00:00
|
|
|
h1 { font-size: 3em; line-height: 1em; }
|
2024-05-08 06:18:26 +00:00
|
|
|
h2 { font-size: 2em; }
|
|
|
|
h3 { font-size: 1.5em; }
|
|
|
|
h4 { font-size: 1.17em; }
|
|
|
|
h5 { font-size: 1em; }
|
|
|
|
h6 { font-size: .83em; }
|
|
|
|
|
2024-05-08 06:09:45 +00:00
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-05-09 10:15:02 +00:00
|
|
|
i[emoji]::before {
|
|
|
|
content: attr('emoji');
|
|
|
|
}
|
|
|
|
|
|
|
|
i[emoji='{emoji}'] {
|
|
|
|
display:none;
|
|
|
|
}
|
2024-05-08 05:43:47 +00:00
|
|
|
|
|
|
|
|
2024-05-07 06:06:04 +00:00
|
|
|
|
2024-05-07 00:45:13 +00:00
|
|
|
|
2024-05-07 06:11:03 +00:00
|
|
|
|
2024-05-07 00:45:13 +00:00
|
|
|
header nav ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
header nav li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
header nav li a {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p, li {
|
|
|
|
line-height: 160%;
|
|
|
|
}
|
|
|
|
|
|
|
|
header, main, footer {
|
|
|
|
max-width: 60em;
|
|
|
|
margin: 2em auto;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin-top: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer p {
|
|
|
|
margin-top: 5em;
|
|
|
|
font-size: 90%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:link { color: var(--link); }
|
|
|
|
a:visited { color: var(--link); }
|
|
|
|
a:hover { color: var(--link); }
|
|
|
|
a:active { color: var(--link); }
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
background: var(--accent);
|
|
|
|
color: var(--background) !important;
|
|
|
|
padding: .3em .4em;
|
|
|
|
margin: .8em 0 0 .4em;
|
|
|
|
border-radius: .5em;
|
|
|
|
text-decoration: none;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
height: 1px;
|
|
|
|
background: #333;
|
|
|
|
margin: 2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: .2em .3em;
|
|
|
|
border: 1px solid var(--accent);
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
font-family: var(--font-code);
|
2024-05-08 05:43:47 +00:00
|
|
|
font-weight: var(--font-code-weight);
|
2024-05-07 00:45:13 +00:00
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
background: #000;
|
|
|
|
color: #eee;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1em;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
padding: .75em;
|
|
|
|
text-align: left;
|
|
|
|
border: 1px solid var(--accent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.weblog-title a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--foreground);
|
|
|
|
}
|