aboutsummaryrefslogtreecommitdiff
path: root/interactive/glsl-layout-calculator/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'interactive/glsl-layout-calculator/style.css')
-rw-r--r--interactive/glsl-layout-calculator/style.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/interactive/glsl-layout-calculator/style.css b/interactive/glsl-layout-calculator/style.css
new file mode 100644
index 0000000..778a34f
--- /dev/null
+++ b/interactive/glsl-layout-calculator/style.css
@@ -0,0 +1,23 @@
+html {
+ color-scheme: dark;
+}
+
+body {
+ margin: 3vw auto;
+ max-width: 55rem;
+ line-height: 1.3;
+ font-size: 1.2rem;
+ padding: 0 2rem;
+
+ background-color: $background;
+ color: $foreground;
+ font-family: monospace;
+}
+
+h1, h2, h3, h4 {
+ margin-bottom: 0.2rem;
+}
+
+p {
+ margin-top: 0.1rem;
+}