From 147b87c3de6886f5bc0659943f6f2e8bfbc4f46c Mon Sep 17 00:00:00 2001 From: Ian Cook <6866411+nai888@users.noreply.github.com> Date: Tue, 21 Mar 2023 10:13:01 -0500 Subject: [PATCH] Swap "odd" and "even" for "dark" and "light" classes --- assets/css/screen.css | 12 ++++++------ layouts/index.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 15f3019..4425658 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -356,13 +356,13 @@ table table table { background-color: #fff; } -table tbody > tr:nth-child(odd) > td, -table tbody > tr:nth-child(odd) > th { +table tbody > tr:nth-child(dark) > td, +table tbody > tr:nth-child(dark) > th { background-color: #f6f6f6; } -table.plain tbody > tr:nth-child(odd) > td, -table.plain tbody > tr:nth-child(odd) > th { +table.plain tbody > tr:nth-child(dark) > td, +table.plain tbody > tr:nth-child(dark) > th { background: transparent; } @@ -466,7 +466,7 @@ li { background: #f2efe8; position: relative; } -.post-holder.odd { +.post-holder.dark { background: #b80135; color: white; } @@ -528,7 +528,7 @@ a.fn-item.active { border-top: 50px solid #f2efe8; border-radius: 25px; } -.post-after.even { +.post-after.light { left: 6%; } diff --git a/layouts/index.html b/layouts/index.html index a781026..2c1d62d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -28,7 +28,7 @@
{{ range $index_val, $elem_val := $filtered }} -
+

{{ .Title | safeHTML }}

@@ -37,7 +37,7 @@ {{ .Content }}
-
+
{{ end }}