Skip to main content

max / makenotwork

2.4 KB · 133 lines History Blame Raw
1 /* Multithreaded, Forum Stylesheet. Adapted from Makenot.work design language */
2
3 /* FONTS */
4
5 @font-face {
6 font-family: "Young Serif";
7 src: url("/static/fonts/ysrf.woff2") format("woff2"),
8 url("/static/fonts/ysrf.ttf") format("truetype");
9 font-display: swap;
10 }
11
12 @font-face {
13 font-family: "IBM Plex Mono";
14 src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2"),
15 url("/static/fonts/IBMPlexMono-Regular.ttf") format("truetype");
16 font-weight: normal;
17 font-display: swap;
18 }
19
20 @font-face {
21 font-family: "IBM Plex Mono";
22 src: url("/static/fonts/IBMPlexMono-Bold.woff2") format("woff2"),
23 url("/static/fonts/IBMPlexMono-Bold.ttf") format("truetype");
24 font-weight: bold;
25 font-display: swap;
26 }
27
28 @font-face {
29 font-family: "Lato";
30 src: url("/static/fonts/Lato-Regular.woff2") format("woff2"),
31 url("/static/fonts/Lato-Regular.ttf") format("truetype");
32 font-weight: normal;
33 font-display: swap;
34 }
35
36 @font-face {
37 font-family: "Lato";
38 src: url("/static/fonts/Lato-Bold.woff2") format("woff2"),
39 url("/static/fonts/Lato-Bold.ttf") format("truetype");
40 font-weight: bold;
41 font-display: swap;
42 }
43
44 /* VARIABLES */
45
46 :root {
47 --background: #ede8e1;
48 --detail: #3d3530;
49 --highlight: #6c5ce7;
50 --light-background: #f4f0eb;
51
52 --surface-muted: #ddd7c5;
53 --surface-alt: #ebe7db;
54 --surface-border: #d0cbb8;
55 --border: #d0cbb8;
56 --text-muted: #8a8480;
57 --input-background: #e2dad2;
58
59 --primary-dark: #000000;
60 --primary-light: #ffffff;
61 --success: #2d5016;
62 --warning: #8b7355;
63 --danger: #d62828;
64 --error: #d62828;
65
66 --focus-ring: #6c5ce7;
67 }
68
69 /* RESET */
70
71 * {
72 margin: 0;
73 padding: 0;
74 box-sizing: border-box;
75 }
76
77 /* BASE */
78
79 body {
80 margin: 0;
81 background-color: var(--background);
82 color: var(--detail);
83 font-family: "Lato", sans-serif;
84 line-height: 1.5;
85 }
86
87 h1 {
88 font-family: "Young Serif", serif;
89 font-weight: normal;
90 color: var(--detail);
91 text-align: left;
92 font-size: 1.5rem;
93 }
94
95 h2,
96 h3 {
97 font-family: "IBM Plex Mono", monospace;
98 font-weight: normal;
99 color: var(--detail);
100 }
101
102 p {
103 font-family: "Lato", sans-serif;
104 color: var(--detail);
105 }
106
107 a {
108 color: var(--detail);
109 text-decoration: none;
110 }
111
112 a:hover {
113 text-decoration: underline;
114 }
115
116 /* The signature dot */
117 .dot {
118 color: var(--highlight);
119 }
120
121 /* LAYOUT */
122
123 .container {
124 max-width: 1200px;
125 margin: 0 auto;
126 padding: 1rem;
127 }
128
129 .padded-page {
130 padding: 1.25rem;
131 }
132
133