xonecas.io
7517
Cd

clanker-and-the-dev / files

clanker-and-the-dev / assets / css / main.scss

1.6 KB
1---
2---
3
4:root { color-scheme: dark; }
5
6@font-face {
7  font-family: 'VT323';
8  font-style: normal;
9  font-weight: 400;
10  font-display: swap;
11  src: url('../fonts/VT323-Regular.ttf') format('truetype');
12}
13
14html,
15body {
16  overflow-x: hidden;
17}
18
19body {
20  font-family: 'VT323', 'Courier New', monospace;
21}
22
23.scanlines::before {
24  content: '';
25  pointer-events: none;
26  position: fixed;
27  inset: 0;
28  z-index: 50;
29  background: repeating-linear-gradient(
30    to bottom,
31    rgba(255, 255, 255, 0.03),
32    rgba(255, 255, 255, 0.03) 1px,
33    transparent 1px,
34    transparent 4px
35  );
36  mix-blend-mode: screen;
37}
38
39.post-content h1 {
40  font-size: 2.25rem;
41  line-height: 1;
42  margin-bottom: 1rem;
43  color: #86efac;
44}
45
46.post-content h2 {
47  font-size: 1.75rem;
48  margin-top: 1.5rem;
49  color: #bbf7d0;
50}
51
52.post-content p {
53  margin: 1rem 0;
54}
55
56.post-content a {
57  color: #22c55e;
58  text-decoration: underline;
59}
60
61.post-content img,
62.post-content svg {
63  border: 1px solid #166534;
64  background: #020617;
65  padding: 0.5rem;
66  max-width: 100%;
67  height: auto;
68}
69
70.image-comic {
71  display: flex;
72  justify-content: center;
73  margin: 1rem 0;
74}
75
76.image-comic img {
77  display: block;
78  width: 100%;
79  max-width: 1200px;
80}
81
82.comic-credit {
83  color: #86efac;
84  opacity: 0.8;
85  text-align: right;
86}
87
88.post-content svg {
89  display: block;
90  margin: 0 auto;
91  min-width: 46rem;
92}
93
94@media (min-width: 768px) {
95  .post-content svg {
96    min-width: 0;
97  }
98}
99
100.post-content pre {
101  border: 1px solid #14532d;
102  padding: 1rem;
103  overflow-x: auto;
104  background: #020617;
105}
106
107.markdown-panel > *:first-child {
108  margin-top: 0;
109}
110
111.markdown-panel > *:last-child {
112  margin-bottom: 0;
113}