summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-02-08 16:13:37 -0700
committerDan Allen <dan@opendevise.com>2018-02-08 16:13:37 -0700
commitcd3d1da65937904b0849599c7f939e85d7bc2de5 (patch)
treea197adf827cfea3d85e0a8b6421cb3874224c53b /src
parent19fc9202c8d3f4da4d685ca1dbbaa3812248c9f3 (diff)
parent0c0777c1cf8f278368134d906562bb1be6db98ea (diff)
downloadalpine-antora-theme-cd3d1da65937904b0849599c7f939e85d7bc2de5.tar.bz2
alpine-antora-theme-cd3d1da65937904b0849599c7f939e85d7bc2de5.tar.xz
merge !28
resolves #40 style links in footer
Diffstat (limited to 'src')
-rw-r--r--src/css/base.css8
-rw-r--r--src/css/doc.css5
-rw-r--r--src/css/footer.css4
-rw-r--r--src/css/navigation-explore.css5
-rw-r--r--src/css/navigation-menu.css8
-rw-r--r--src/css/page-versions.css2
-rw-r--r--src/css/toolbar.css9
7 files changed, 15 insertions, 26 deletions
diff --git a/src/css/base.css b/src/css/base.css
index 14ad1fc..3cb8e38 100644
--- a/src/css/base.css
+++ b/src/css/base.css
@@ -35,6 +35,14 @@ body {
margin: 0;
}
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
code,
pre {
font-family: 'Roboto Mono', monospace;
diff --git a/src/css/doc.css b/src/css/doc.css
index ccb2673..72ca304 100644
--- a/src/css/doc.css
+++ b/src/css/doc.css
@@ -62,13 +62,8 @@
color: #1565c0;
}
-.doc a {
- text-decoration: none;
-}
-
.doc a:hover {
color: #104d92;
- text-decoration: underline;
}
.doc b,
diff --git a/src/css/footer.css b/src/css/footer.css
index 5e12675..a0f5cf5 100644
--- a/src/css/footer.css
+++ b/src/css/footer.css
@@ -8,3 +8,7 @@ footer.footer {
.footer p {
margin: 0.5rem 0;
}
+
+.footer a {
+ color: #5d5d5d;
+}
diff --git a/src/css/navigation-explore.css b/src/css/navigation-explore.css
index 2943c15..ef9042b 100644
--- a/src/css/navigation-explore.css
+++ b/src/css/navigation-explore.css
@@ -76,7 +76,6 @@
.navigation-explore .component .version a {
color: #4a4a4a;
- text-decoration: none;
white-space: nowrap;
}
@@ -88,10 +87,6 @@
content: ' (latest)';
}
-.navigation-explore .component .version a:hover {
- text-decoration: underline;
-}
-
.navigation-explore .component .version + .version {
padding-left: 0.5em;
}
diff --git a/src/css/navigation-menu.css b/src/css/navigation-menu.css
index df7b385..a6d937b 100644
--- a/src/css/navigation-menu.css
+++ b/src/css/navigation-menu.css
@@ -45,13 +45,9 @@ html.is-clipped--nav {
padding: 0.125rem 0.5rem 0.25rem;
}
-.nav-menu a {
+.nav-menu a,
+.nav-menu a:visited {
color: inherit;
- text-decoration: none;
-}
-
-.nav-menu a:hover {
- text-decoration: underline;
}
.nav-list {
diff --git a/src/css/page-versions.css b/src/css/page-versions.css
index 4cd9207..28a62cc 100644
--- a/src/css/page-versions.css
+++ b/src/css/page-versions.css
@@ -59,6 +59,6 @@
.page-versions .version.is-missing {
color: #8e8e8e;
- text-decoration: none;
font-style: italic;
+ text-decoration: none;
}
diff --git a/src/css/toolbar.css b/src/css/toolbar.css
index 411e4e2..4fd3db2 100644
--- a/src/css/toolbar.css
+++ b/src/css/toolbar.css
@@ -16,20 +16,11 @@
z-index: 1;
}
-.toolbar a {
- text-decoration: none;
-}
-
.toolbar a,
-.toolbar a:hover,
.toolbar a:visited {
color: inherit;
}
-.toolbar a:hover {
- text-decoration: underline;
-}
-
.navigation-toggle {
background: url(../img/menu.svg) no-repeat 50% 47.5%;
background-size: 49%;