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

github.com/matcornic/hugo-theme-learn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/css/hugo-theme.css51
1 files changed, 51 insertions, 0 deletions
diff --git a/static/css/hugo-theme.css b/static/css/hugo-theme.css
index 2aabaa7..d412d4b 100644
--- a/static/css/hugo-theme.css
+++ b/static/css/hugo-theme.css
@@ -33,6 +33,11 @@
display: none;
}
+body {
+ font-size: 16px !important;
+ color: #323232 !important;
+}
+
#body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
text-decoration: none;
outline: none;
@@ -151,3 +156,49 @@
h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor {
visibility:visible;
}
+
+/* Redfines headers style */
+
+h2, h3, h4, h5, h6 {
+ font-weight: 400;
+ line-height: 1.1;
+}
+
+h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+ font-weight: inherit;
+}
+
+h2 {
+ font-size: 2.5rem;
+ line-height: 110% !important;
+ margin: 2.5rem 0 1.5rem 0;
+ text-transform: capitalize;
+}
+
+h3 {
+ font-size: 2rem;
+ line-height: 110% !important;
+ margin: 2rem 0 1rem 0;
+}
+
+h4 {
+ font-size: 1.5rem;
+ line-height: 110% !important;
+ margin: 1.5rem 0 0.75rem 0;
+}
+
+h5 {
+ font-size: 1;
+ line-height: 110% !important;
+ margin: 1rem 0 0.2rem 0;
+}
+
+h6 {
+ font-size: 0.5rem;
+ line-height: 110% !important;
+ margin: 0.5rem 0 0.2rem 0;
+}
+
+p {
+ margin: 1rem 0;
+}