From b7fb86b9ea1664c06c1af2f247fc8263e41329e5 Mon Sep 17 00:00:00 2001 From: Cynthia Lin Date: Sun, 20 Aug 2017 22:27:42 -0700 Subject: [PATCH] user docs: Modify sidebar and index page styling. --- static/styles/portico.css | 48 +++++++++++++-------------------- templates/zerver/help/main.html | 2 +- 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/static/styles/portico.css b/static/styles/portico.css index 614886eb02..a7e0c2bed1 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -146,11 +146,19 @@ body { .help .sidebar h2 { font-size: 1.2em; font-weight: 400; - margin-bottom: 0px; - line-height: 100%; + margin-bottom: 5px; + line-height: 105%; cursor: pointer; } +.help .sidebar h1 { + font-size: 1.25em; +} + +.help .sidebar h1:not(:first-of-type) { + margin-top: 20px; +} + .help .sidebar.slide h2::before { display: inline-block; font: normal normal normal 14px/1 FontAwesome; @@ -165,34 +173,8 @@ body { opacity: 0.5; } -.help .sidebar h2.no-arrow::before { - content: ""; -} - -.help .sidebar.slide h2.no-arrow { - margin-left: 12px; -} - -.help .sidebar:not(.slide) h2 { - margin-left: 0px; -} - -.help .sidebar h2.no-arrow a { - color: inherit; -} - -.help .sidebar h3 { - font-size: 1em; - font-weight: 400; - text-transform: uppercase; - color: #badcd6; - - line-height: 1; - margin: 10px 0 5px 10px; -} - .help .sidebar ul { - margin: 10px 0px 10px 12px; + margin: 5px 0px 10px 12px; } .help .sidebar.slide ul { @@ -1560,6 +1542,14 @@ input.new-organization-button { margin-bottom: 15px; } +.markdown h1#using-zulip, +.markdown h1#zulip-administration { + font-size: 1.75em; + padding: 10px 0; + margin-bottom: 0px; + line-height: 100%; +} + .markdown h2, .why-page h2 { font-size: 1.4em; diff --git a/templates/zerver/help/main.html b/templates/zerver/help/main.html index 8eefc416c8..b07e9da67f 100644 --- a/templates/zerver/help/main.html +++ b/templates/zerver/help/main.html @@ -5,7 +5,7 @@ {% block portico_content %}