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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorparsiya@gmail.com <parsiya@gmail.com>2016-04-03 01:42:27 +0300
committerparsiya@gmail.com <parsiya@gmail.com>2016-04-03 01:42:27 +0300
commitfaa4778606501c09da3bbdcba2d715ccbd42c8fb (patch)
tree031fb1c6606678266db76a26a195582ead94a056 /static
parent8c902126ea0899c7d6fe4d004233d195cd127f01 (diff)
Reduce article body heading sizes h1 and h2 and some minor css cleanup
Diffstat (limited to 'static')
-rw-r--r--static/css/hugo-octopress.css28
1 files changed, 23 insertions, 5 deletions
diff --git a/static/css/hugo-octopress.css b/static/css/hugo-octopress.css
index 84af78a..8f5bdd6 100644
--- a/static/css/hugo-octopress.css
+++ b/static/css/hugo-octopress.css
@@ -281,7 +281,7 @@ p,
article blockquote,
ul,
ol {
- margin-bottom: 1em; /* changed this from 1.5em to 1 */
+ margin-bottom: 0.8em; /* changed this from 1.5em to 0.8 */
}
ul {
list-style-type: disc
@@ -1070,9 +1070,7 @@ article header p.meta {
padding-bottom: 1em;
}
}
-article h2 {
- padding-top: 0.8em;
-}
+
.entry-content article h2:first-child,
article header+h2 {
padding-top: 0
@@ -2223,8 +2221,28 @@ div.entry-content > div.highlight {
margin-bottom: 0.4em;
}
-/* side bar code from hyde-x */
+/* decrease h1 size in article body so we can use it in the article as heading */
+div.entry-content > h1 {
+ font-size:1.7em;
+}
+
+div.entry-content > h2 {
+ font-size:1.5em;
+}
+
+/* decrease margin for article headings */
+div.entry-content >
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin-bottom: 0.5em;
+ margin-top: 0.8em;
+}
+/* side bar code from hyde-x */
/*
* Sidebar