summaryrefslogtreecommitdiff
path: root/static/styles.css
diff options
context:
space:
mode:
authorNikolas <nikolas@boutalas.com>2024-11-16 18:51:15 +0000
committerNikolas <nikolas@boutalas.com>2024-11-16 18:52:29 +0000
commit49285301aca568d045fdbd3c3f9f03f9ec176843 (patch)
tree422fdc1e72a65af94edc47ec35aa2f48887b091c /static/styles.css
parentb876019d63c5aa940add10d1bb853c9a6dac66bd (diff)
simplify css
Diffstat (limited to 'static/styles.css')
-rw-r--r--static/styles.css73
1 files changed, 73 insertions, 0 deletions
diff --git a/static/styles.css b/static/styles.css
new file mode 100644
index 0000000..5fa959e
--- /dev/null
+++ b/static/styles.css
@@ -0,0 +1,73 @@
+html {
+ --lesslight: #efefef;
+ --dark: #404040;
+ --moredark: #000;
+ line-height: 1.4em;
+ font-family: sans-serif;
+ font-size: 16px;
+ color: var(--dark);
+}
+
+pre {
+ background-color: var(--lesslight);
+ margin: 0.5em 0 0.5em 0;
+ padding: 0.5em;
+ overflow: auto;
+}
+
+code {
+ background-color: var(--lesslight);
+}
+
+body {
+ margin: 0;
+ max-width: 800px;
+ padding: 0 20px 20px 20px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+a {
+ outline: none;
+ color: var(--moredark);
+}
+
+img {
+ max-width: 100%;
+ height: auto;
+ max-height: 40rem;
+}
+
+.center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+}
+
+
+/* Desktop sizes */
+@media (min-width: 600px) {
+ ol.twocol {
+ column-count: 2;
+ }
+
+ .row {
+ display: flex;
+ flex-direction: row;
+ padding: 0;
+ width: 100%;
+ }
+
+ /* Make everything in a row a column */
+ .row > * {
+ display: block;
+ flex: 1 1 auto;
+ max-width: 100%;
+ width: 100%;
+ }
+
+ .row > *:not(:last-child) {
+ margin-right: 10px;
+ }
+} \ No newline at end of file