diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-20 07:27:36 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-20 07:27:36 +0100 |
| commit | 9c187fa375197907408a8d905d53d7514bbeb9a0 (patch) | |
| tree | 681ee6164d4ba746730e5509786635f6732736f4 | |
| parent | ac3666f65bd81f48c8d88099310070eeff46fbd7 (diff) | |
Moves sectioning theming to theme.css
| -rw-r--r-- | public/css/base/theme.css | 4 | ||||
| -rw-r--r-- | public/main.css | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/css/base/theme.css b/public/css/base/theme.css index 5ee8b4b..f5d178c 100644 --- a/public/css/base/theme.css +++ b/public/css/base/theme.css @@ -6,4 +6,8 @@ :is(main, article) { color: var(--text-color); background-color: var(--background-color); +} + +:is(main, article) > section:not(:is(section, header) :is(section, header)) { + background-color: var(--background-color); }
\ No newline at end of file diff --git a/public/main.css b/public/main.css index a65396a..1ff4cf2 100644 --- a/public/main.css +++ b/public/main.css @@ -18,10 +18,6 @@ padding-block-end: var(--margin-block-md); } -:is(main, article) > section:nth-child(even):not(:is(section, header) :is(section, header)) { - background-color: var(--background-color); -} - footer { padding-block-start: var(--margin-block-md); padding-block-end: var(--margin-block-lg); |
