aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-12-29 16:28:05 -0500
committerThedro Neely <thedroneely@gmail.com>2019-12-29 16:28:05 -0500
commit0cda6b9d1987c86c1dd16ac7bfcfb94116e05605 (patch)
tree41fa18515cd4f3b5792a1289a8f76e4bc264092d
parent75d40a2b50f6320c61f58729d22613899b192d73 (diff)
downloadthedroneely.com-0cda6b9d1987c86c1dd16ac7bfcfb94116e05605.tar.gz
thedroneely.com-0cda6b9d1987c86c1dd16ac7bfcfb94116e05605.tar.bz2
thedroneely.com-0cda6b9d1987c86c1dd16ac7bfcfb94116e05605.zip
public/css/tdro: Alignment
-rw-r--r--generators/hugo/themes/tdro/layouts/_default/archive.html2
-rw-r--r--public/css/tdro.css3
2 files changed, 3 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/archive.html b/generators/hugo/themes/tdro/layouts/_default/archive.html
index 7f3d877..152de19 100644
--- a/generators/hugo/themes/tdro/layouts/_default/archive.html
+++ b/generators/hugo/themes/tdro/layouts/_default/archive.html
@@ -13,7 +13,7 @@
{{ range (where .Pages "Type" $type) }}
{{ if (eq ($.Scratch.Get "count") 1) }}
{{ $.Scratch.Set "count" 0 }}
- <h1 class="title is-4 has-text-weight-normal">{{ .Date.Format "2006" }}</h1>
+ <h1 class="title is-4 has-text-weight-normal has-padding-left-md has-margin-bottom-lg">{{ .Date.Format "2006" }}</h1>
{{ end }}
{{ end }}
diff --git a/public/css/tdro.css b/public/css/tdro.css
index 1969f7b..9a6322a 100644
--- a/public/css/tdro.css
+++ b/public/css/tdro.css
@@ -4382,6 +4382,7 @@ figcaption { font-size: 0.9em; margin-top: 1.5em; }
/* custom helpers */
.has-padding-none { padding: 0 !important; }
+.has-padding-left-md { padding-left: 0.5em !important; }
.has-margin-none { margin: 0 !important; }
.has-margin-bottom-none { margin-bottom: 0 !important; }
.has-margin-bottom-sm { margin-bottom: 0.25em !important; }
@@ -4394,7 +4395,7 @@ figcaption { font-size: 0.9em; margin-top: 1.5em; }
details summary { cursor: pointer;}
nav#TableOfContents li:hover { background-color: #f1f1f1; }
-nav#TableOfContents ul { margin: 0; }
+nav#TableOfContents ul { margin-left: -0.5em; }
nav#TableOfContents a { display: block; color: #222; padding-left: 0.5rem; font-size: 0.9rem; }
/* tufte css */