aboutsummaryrefslogtreecommitdiffstats
path: root/view/css
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-04 12:51:23 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-04 12:51:23 +0100
commitb12d4c03cbc2627774b279f17a413860d868e854 (patch)
tree10acf01c398ad51bbf51e8f41ea4bda64963f122 /view/css
parent792527d456a031696f93015fb4fc91e60dee151b (diff)
downloadvolse-hubzilla-b12d4c03cbc2627774b279f17a413860d868e854.tar.gz
volse-hubzilla-b12d4c03cbc2627774b279f17a413860d868e854.tar.bz2
volse-hubzilla-b12d4c03cbc2627774b279f17a413860d868e854.zip
fixes for toc bbcode and bbcode wiki toc
Diffstat (limited to 'view/css')
-rw-r--r--view/css/conversation.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 0b6674b15..aec457302 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -336,6 +336,19 @@ a.wall-item-name-link {
/* bb-code */
+/* prevent [toc] bbcode links to scroll the titles behind the navbar */
+.section-content-wrapper h1,
+.section-content-wrapper h2,
+.section-content-wrapper h3,
+.section-content-wrapper h4 {
+ padding-top: 60px;
+ margin-top: -40px;
+}
+
+.toc {
+ margin-top: 1em;
+}
+
code {
font-family: Courier, monospace;
font-size: 1em;