aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorC. Lente <7017340+clente@users.noreply.github.com>2023-02-09 17:02:15 -0300
committerC. Lente <7017340+clente@users.noreply.github.com>2023-02-09 17:02:15 -0300
commit1c249d7b3f96c4b577a6474376bb756c48e4797d (patch)
tree132e6ddf3ed7196f0d28a82c82434e34aa90ebf0 /layouts
parent2ba59f18db6d5767653e3cad20d9a28da5f9aa79 (diff)
downloadhugo-bearcub-1c249d7b3f96c4b577a6474376bb756c48e4797d.tar.gz
hugo-bearcub-1c249d7b3f96c4b577a6474376bb756c48e4797d.tar.bz2
Remove style=
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/style.html177
2 files changed, 1 insertions, 178 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 67924e7..d610cf1 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,7 @@
{{ define "main" }}
<content>
{{ if .Data.Singular }}
- <h3 style="margin-bottom:0">{{ i18n "filtering-for" }} "{{ .Title }}"</h3>
+ <h3 class="blog-filter">{{ i18n "filtering-for" }} "{{ .Title }}"</h3>
{{ end }}
<ul class="blog-posts">
{{ range .Pages }}
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
deleted file mode 100644
index 6ac5bc7..0000000
--- a/layouts/partials/style.html
+++ /dev/null
@@ -1,177 +0,0 @@
-<style>
- body {
- font-family: Verdana, sans-serif;
- margin: auto;
- padding: 20px;
- max-width: 720px;
- text-align: left;
- background-color: #fff;
- word-wrap: break-word;
- overflow-wrap: break-word;
- line-height: 1.5;
- color: #444;
- }
-
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- strong,
- b {
- color: #222;
- }
-
- a {
- color: #3273dc;
- /*color: #ff5e6c;*/
- }
-
- .title {
- text-decoration: none;
- border: 0;
- }
-
- .title span {
- font-weight: 400;
- }
-
- nav a {
- margin-right: 10px;
- }
-
- textarea {
- width: 100%;
- font-size: 16px;
- }
-
- input {
- font-size: 16px;
- }
-
- content {
- line-height: 1.6;
- }
-
- table {
- width: 100%;
- }
-
- img {
- max-width: 100%;
- }
-
- code {
- padding: 2px 5px;
- background-color: #f2f2f2;
- }
-
- pre code {
- color: #222;
- display: block;
- padding: 20px;
- white-space: pre-wrap;
- font-size: 14px;
- overflow-x: auto;
- }
-
- div.highlight pre {
- background-color: initial;
- color: initial;
- }
-
- div.highlight code {
- background-color: unset;
- color: unset;
- }
-
- blockquote {
- border-left: 1px solid #999;
- color: #222;
- padding-left: 20px;
- font-style: italic;
- }
-
- footer {
- padding: 25px;
- text-align: center;
- }
-
- .helptext {
- color: #777;
- font-size: small;
- }
-
- .errorlist {
- color: #eba613;
- font-size: small;
- }
-
- /* blog posts */
- ul.blog-posts {
- list-style-type: none;
- padding: unset;
- }
-
- ul.blog-posts li {
- display: flex;
- }
-
- ul.blog-posts li span {
- flex: 0 0 130px;
- }
-
- ul.blog-posts li a:visited {
- color: #8b6fcb;
- }
-
- h3.blog-filter {
- margin-bottom: 0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background-color: #333;
- color: #ddd;
- }
-
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- strong,
- b {
- color: #eee;
- }
-
- a {
- color: #8cc2dd;
- }
-
- code {
- background-color: #777;
- }
-
- pre code {
- color: #ddd;
- }
-
- blockquote {
- color: #ccc;
- }
-
- textarea,
- input {
- background-color: #252525;
- color: #ddd;
- }
-
- .helptext {
- color: #aaa;
- }
- }
-
-</style>