summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-11-03 18:05:04 -0600
committerAaron Ball <nullspoon@oper.io>2018-11-03 18:06:43 -0600
commit5ec427f35035e50294c6383c228e4f4019086d43 (patch)
tree486b94c3c4fe2f52fc3c357a07d870a6e5c37ca4
parent42e1cc3a221da349d58b430ea09e657c436cba08 (diff)
downloadoper.io-5ec427f35035e50294c6383c228e4f4019086d43.tar.gz
oper.io-5ec427f35035e50294c6383c228e4f4019086d43.tar.xz
fix h2:first-child styling to style h1
-rw-r--r--res/style.css62
1 files changed, 28 insertions, 34 deletions
diff --git a/res/style.css b/res/style.css
index e8f3cc2..3104c75 100644
--- a/res/style.css
+++ b/res/style.css
@@ -13,31 +13,27 @@ a:visited {
color:#107d8e;
}
-h1, h2, h3, h4, h5, h6 {
+
+h1 {
+ font-size:2.8em;
font-weight:300;
- font-family:"Dejavu Sans", sans-serif;
- word-spacing:-.05em;
- letter-spacing:-.02em;
+ border:none;
+ border-bottom:1px solid #aaa;
padding-left:0px;
}
-h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
- border-left:3px solid #55aacc;
- padding-left:3px;
- font-weight:400;
- border-radius:4px;
+h1 a:link,
+h1 a:visited {
+ color:#444;
}
-.index h2:hover {
- border:none;
- padding-left:0px;
- font-weight:300;
- border-radius:0px;
-}
-h1 {
- color:#006d7e;
- font-size:2.75em;
+h2, h3, h4, h5, h6 {
+ font-weight:300;
+ font-family:"Dejavu Sans", sans-serif;
+ word-spacing:-.05em;
+ letter-spacing:-.02em;
+ padding-left:0px;
}
h2 {
@@ -56,8 +52,21 @@ h4 {
border:none;
}
+h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
+ border-left:3px solid #55aacc;
+ padding-left:3px;
+ font-weight:400;
+ border-radius:4px;
+}
+
+.index h2:hover {
+ border:none;
+ padding-left:0px;
+ font-weight:300;
+ border-radius:0px;
+}
+
-h1 a.link,
h2 a.link,
h3 a.link,
h4 a.link,
@@ -67,21 +76,6 @@ h6 a.link {
}
-/* Page titles */
-h2:first-of-type,
-h2:first-of-type:hover{
- font-size:2.7em;
- font-weight:300;
- border:none;
- border-bottom:1px solid #aaa;
- padding-left:0px;
-}
-
-h2:first-of-type a:link,
-h2:first-of-type a:visited {
- color:#444;
-}
-
span.line-through {
text-decoration: line-through;

Generated by cgit