summaryrefslogtreecommitdiffstats
path: root/src/css
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-02-09 18:22:00 -0700
committerDan Allen <dan@opendevise.com>2018-02-09 18:22:00 -0700
commit545531819b964f453df103cd9caf8a40ccb11359 (patch)
tree791d031892ab883b74d6ad97fad9be1117902813 /src/css
parent6695d4885003ff5e7518bb752135f1442f49fa5b (diff)
downloadalpine-antora-theme-545531819b964f453df103cd9caf8a40ccb11359.tar.bz2
alpine-antora-theme-545531819b964f453df103cd9caf8a40ccb11359.tar.xz
update header styles for Antora docs
- adjust weight of bold elements in base.css - set color for nested links in brand - add padding to separator - style menu list divider - size icon in navbar
Diffstat (limited to 'src/css')
-rw-r--r--src/css/base.css7
-rw-r--r--src/css/doc.css7
-rw-r--r--src/css/header.css19
3 files changed, 25 insertions, 8 deletions
diff --git a/src/css/base.css b/src/css/base.css
index 3cb8e38..51a3cbb 100644
--- a/src/css/base.css
+++ b/src/css/base.css
@@ -48,6 +48,13 @@ pre {
font-family: 'Roboto Mono', monospace;
}
+b,
+dt,
+strong,
+th {
+ font-weight: 500;
+}
+
::-webkit-scrollbar {
width: 0.3333rem;
height: 0.3333rem;
diff --git a/src/css/doc.css b/src/css/doc.css
index 72ca304..06a4d9f 100644
--- a/src/css/doc.css
+++ b/src/css/doc.css
@@ -66,13 +66,6 @@
color: #104d92;
}
-.doc b,
-.doc dt,
-.doc strong,
-.doc th {
- font-weight: 500;
-}
-
.doc i.fa {
font-style: normal;
}
diff --git a/src/css/header.css b/src/css/header.css
index d356e7b..8449bc0 100644
--- a/src/css/header.css
+++ b/src/css/header.css
@@ -26,11 +26,16 @@ body {
text-decoration: none;
}
-.navbar-brand .navbar-item {
+.navbar-brand .navbar-item,
+.navbar-brand .navbar-item a {
color: var(--color-navbar-text);
font-size: 1.15rem;
}
+.navbar-brand .separator {
+ padding: 0 0.375rem;
+}
+
@media screen and (min-width: 1024px) {
.navbar-end > .navbar-item,
.navbar-end .navbar-link {
@@ -139,6 +144,11 @@ body {
padding: 0;
}
+.navbar-item .icon {
+ width: 1.1rem;
+ height: 1.1rem;
+}
+
.navbar-link {
padding-right: 2.5em;
}
@@ -152,6 +162,13 @@ body {
padding-right: 1.5rem;
}
+.navbar-divider {
+ background-color: #e1e1e1;
+ border: none;
+ height: 1px;
+ margin: 0.25rem 0;
+}
+
@media screen and (max-width: 1023px) {
.navbar-brand .navbar-item {
align-items: center;