From 979cd1bbcb0532d64b819dd7acd5761eefafc112 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 25 Sep 2022 08:47:02 -0700 Subject: [PATCH] Move CSS helper classes to root.css --- static/styles/main.css | 13 ------------- static/styles/root.css | 7 +++++++ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/static/styles/main.css b/static/styles/main.css index 67a4e9f..0662cba 100644 --- a/static/styles/main.css +++ b/static/styles/main.css @@ -56,10 +56,6 @@ figure.bordered { border: 2px solid #eee; } -.centered { - text-align: center; -} - h1, h2, h3, @@ -331,12 +327,3 @@ pre { font-size: 7px; } } - -/* - * Helpers - */ - -/* For s that shouldn't break. */ -.nobreak { - white-space: nowrap; -} diff --git a/static/styles/root.css b/static/styles/root.css index 51f6bfc..806218e 100644 --- a/static/styles/root.css +++ b/static/styles/root.css @@ -281,9 +281,16 @@ nav.bulleted li::before { p { margin-block-end: 1em; } p:last-child { margin-block-end: 0; } +/** HELPER CLASSES **/ + +.centered { text-align: center; } +.nobreak { white-space: nowrap; } + .platter { background: var(--background-color); border: 1px solid var(--header-border-color); border-radius: 12px; box-shadow: 4px 5px 5px var(--header-box-shadow-color); } + +.visible { visibility: visible; }