diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 04082d4..23a5db2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,16 +15,17 @@ {{ end }} - + + {{ if .IsHome }} - + {{ end }} {{ if and .IsPage (not site.Params.disableHLJS) }} - + {{ end }} diff --git a/static/highlight.min.js b/static/scripts/highlight.min.js similarity index 100% rename from static/highlight.min.js rename to static/scripts/highlight.min.js diff --git a/static/an-old-hope.min.css b/static/styles/an-old-hope.min.css similarity index 100% rename from static/an-old-hope.min.css rename to static/styles/an-old-hope.min.css diff --git a/static/app.css b/static/styles/app.css similarity index 92% rename from static/app.css rename to static/styles/app.css index b3e8b81..edb0e47 100644 --- a/static/app.css +++ b/static/styles/app.css @@ -1,9 +1,10 @@ -/* - * Paper - * A simple, clean, flexible Hugo theme - * https://github.com/nanxiaobei/hugo-paper +/* app.css + * + * Paper * Designed by 南小北 (https://lee.so/) * Updated in 2021.8.24 + * + * Modified by Eryn Wells */ /* Theme @@ -101,75 +102,6 @@ body > * { } } -/* Reset --------------------------------------------------- */ - -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0; - font-size: inherit; - font-weight: 700; - line-height: 1.2; -} - -p { - margin: 0; -} - -strong, -b { - font-weight: 500; -} - -ul, -ol { - padding: 0; - margin: 0; -} - -a { - color: inherit; - text-decoration: none; -} - -table { - width: 100%; - border-spacing: 0; - border-collapse: collapse; -} - -button, -input, -textarea { - padding: 0; - font: inherit; - background: transparent; - border: 0; - outline: 0; - -webkit-appearance: none; -} - -button, -input[type='button'], -input[type='submit'] { - cursor: pointer; -} - -input, -textarea { - padding: 0; - border: 0; -} - -input:-webkit-autofill, -textarea:-webkit-autofill { - box-shadow: 0 0 0 6rem var(--white) inset; -} - /* Header -------------------------------------------------- */ .header { @@ -709,6 +641,14 @@ img { max-width: 100%; } +div.twitter-tweet { + text-align: center; +} + +.twitter-tweet + p, +.twitter-tweet + script + p { + margin-top: 3rem; +} /* 404 -------------------------------------------------- */ diff --git a/static/home.css b/static/styles/home.css similarity index 89% rename from static/home.css rename to static/styles/home.css index 9bfe9ec..e858d6b 100644 --- a/static/home.css +++ b/static/styles/home.css @@ -1,4 +1,6 @@ -/* home.css */ +/* home.css + * Eryn Wells + */ .main h1, .main h2, diff --git a/static/styles/reset.css b/static/styles/reset.css new file mode 100644 index 0000000..31de873 --- /dev/null +++ b/static/styles/reset.css @@ -0,0 +1,69 @@ +/* reset.css + * Eryn Wells + */ + +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; + font-size: inherit; + font-weight: 700; + line-height: 1.2; +} + +p { + margin: 0; +} + +strong, +b { + font-weight: 500; +} + +ul, +ol { + padding: 0; + margin: 0; +} + +a { + color: inherit; + text-decoration: none; +} + +table { + width: 100%; + border-spacing: 0; + border-collapse: collapse; +} + +button, +input, +textarea { + padding: 0; + font: inherit; + background: transparent; + border: 0; + outline: 0; + -webkit-appearance: none; +} + +button, +input[type='button'], +input[type='submit'] { + cursor: pointer; +} + +input, +textarea { + padding: 0; + border: 0; +} + +input:-webkit-autofill, +textarea:-webkit-autofill { + box-shadow: 0 0 0 6rem var(--white) inset; +} diff --git a/static/theme.png b/static/theme.png deleted file mode 100644 index 265ac1f..0000000 Binary files a/static/theme.png and /dev/null differ