Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-11-03 08:38:29 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-11-03 08:38:29 +0300
commit5a151c4e4e3a5a3f25d87aa48c2963dfffbc1f9c (patch)
tree005d32d887cf4d9e72b09a31a5f6344cfc070326
parent4edc82d67d5ddcb14017adb8b7948514a34fa705 (diff)
Add minor style changes
-rw-r--r--assets/css/site.css15
-rw-r--r--layouts/_default/single.html2
2 files changed, 11 insertions, 6 deletions
diff --git a/assets/css/site.css b/assets/css/site.css
index 5c89cc8..987983f 100644
--- a/assets/css/site.css
+++ b/assets/css/site.css
@@ -159,7 +159,14 @@ html {
.article ul:not(.list-none) {
@apply ml-1;
@apply list-inside;
- list-style-type: initial;
+}
+
+.article ul:not(.list-none) {
+ @apply list-disc;
+}
+
+.article ol:not(.list-none) {
+ @apply list-decimal;
}
.article blockquote {
@@ -178,8 +185,6 @@ html {
.article blockquote small {
display: inline-block;
margin: 0.8em 0 0.8em 1.5em;
- font-size: 0.9em;
- color: #CCC;
}
.article blockquote small:before {
@@ -187,11 +192,11 @@ html {
}
.article blockquote cite {
- font-weight: 700;
+ @apply font-bold;
}
.article blockquote cite a {
- font-weight: normal;
+ @apply font-normal;
}
.article code, tt {
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 42ebd9f..065f472 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,7 @@
<div id="reading-progress-bar" role="presentation" class="fixed z-10 top-0 left-0 h-1 bg-gray-700"></div>
<article class="article">
- <h1><a href="{{.Permalink}}" class="no-underline">{{ .Title }}</a></h1>
+ <h1><a href="{{.Permalink}}" class="no-underline text-black">{{ .Title }}</a></h1>
{{if not .Params.hideMetadata }}
<header class="text-right pb-6">