diff --git a/themes/hugo-w2ng/assets/css/styles.css b/themes/hugo-w2ng/assets/css/styles.css index 7fa9bbf..6b0dad9 100644 --- a/themes/hugo-w2ng/assets/css/styles.css +++ b/themes/hugo-w2ng/assets/css/styles.css @@ -24,17 +24,15 @@ h4 { } blockquote { - border-left: 5px solid #ccc; - @apply bg-gray-100 p-3 mx-3 my-2; + @apply bg-gray-100 p-3 mx-3 my-2 border-l-4 border-gray-400; } table { - @apply m-auto; - border-top: 1px solid #666; - border-bottom: 1px solid #666; + @apply m-auto border-t border-b border-gray-800 border-solid; + } table thead th { - border-bottom: 1px solid #ddd; + @apply border-b border-solid border-gray-700 } th, td { @@ -47,9 +45,8 @@ tr:nth-child(even) { } pre { - border: 1px solid #ddd; box-shadow: 5px 5px 5px #eee; - @apply overflow-x-auto p-4; + @apply overflow-x-auto p-4 border-2 border-solid border-gray-100; } code { @apply bg-gray-200; @@ -67,5 +64,5 @@ ol { } kbd { - @apply text-xs inline-block rounded border px-1 py-5 align-middle font-normal font-mono shadow; + @apply text-xs inline-block bg-gray-100 rounded border p-1 align-middle font-normal font-mono shadow; } diff --git a/themes/hugo-w2ng/layouts/_default/baseof.html b/themes/hugo-w2ng/layouts/_default/baseof.html index acc5bd7..1a3a6b1 100644 --- a/themes/hugo-w2ng/layouts/_default/baseof.html +++ b/themes/hugo-w2ng/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head.html" . -}} {{- partial "header.html" . -}} -
+
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} diff --git a/themes/hugo-w2ng/layouts/_default/single.html b/themes/hugo-w2ng/layouts/_default/single.html index 9861add..14b281f 100644 --- a/themes/hugo-w2ng/layouts/_default/single.html +++ b/themes/hugo-w2ng/layouts/_default/single.html @@ -1,6 +1,29 @@ {{ define "main" }} -
-

{{ .Title }}

- {{ .Content }} -
+
+
+ +
+
+ +
+
+

{{ .Title }}

+ {{ .Content }} +
+
{{ end }} \ No newline at end of file diff --git a/themes/hugo-w2ng/package.json b/themes/hugo-w2ng/package.json index a08ca31..76f4d16 100644 --- a/themes/hugo-w2ng/package.json +++ b/themes/hugo-w2ng/package.json @@ -6,6 +6,7 @@ "dependencies": {}, "devDependencies": { "@fullhuman/postcss-purgecss": "^1.3.0", + "postcss-import": "^12.0.1", "postcss-reporter": "^6.0.1", "tailwindcss": "^1.1.4" },