projects
/
Ultimately_Untrue_Thought.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
poke at pt. 4 prep
[Ultimately_Untrue_Thought.git]
/
theme
/
static
/
css
/
main.css
diff --git
a/theme/static/css/main.css
b/theme/static/css/main.css
index
b99ca25
..
c8fdbf8
100644
(file)
--- a/
theme/static/css/main.css
+++ b/
theme/static/css/main.css
@@
-132,15
+132,15
@@
p {
}
a {
}
a {
- text-decoration: none;
- border-bottom: 1px dotted #4D4D4C;
- color: #2D2D2C;
+ color: inherit;
+ text-decoration: dotted underline #4D4D4C from-font;
+ text-underline-position: from-font;
+ text-underline-offset: 0.1em;
}
a:hover, a:active {
}
a:hover, a:active {
- text-decoration: none;
- border-bottom: 1px dotted #C07095;
- color: #C07095;
+ color: #C07095;
+ text-decoration-color: currentcolor;
}
.literal {
}
.literal {
@@
-378,22
+378,25
@@
p.flower-break {
font-size: 85%;
}
font-size: 85%;
}
-// XXX—why isn't this working?!
-// https://stackoverflow.com/questions/15643614/double-underline-tag
+/* XXX—why isn't this working?! https://stackoverflow.com/questions/15643614/double-underline-tag */
.extra-underline {
text-decoration: underline;
border-bottom: 3px double solid #000;
}
.extra-underline {
text-decoration: underline;
border-bottom: 3px double solid #000;
}
-/
/ Thanks to Said Achmiz for table-of-contents styling
+/
* Thanks to Said Achmiz for table-of-contents styling */
.toc {
.toc {
- clear: right;
- max-width: calc(50% - 1.5em);
+ max-width: 50%;
font-size: 0.85em;
font-size: 0.85em;
- margin-left: 1.5em;
padding: 0.5em;
padding: 0.5em;
- border: 1px dotted #d6d6d6;
+ margin: 1.5em 0;
+ border: 2px dotted #d6d6d6;
+}
+.toctitle {
+ display: block;
+ margin: 0 0 0.5em 0.375em;
+ opacity: 0.5;
}
.toc ul {
list-style-type: none;
}
.toc ul {
list-style-type: none;
@@
-414,14
+417,36
@@
p.flower-break {
text-indent: 0;
right: calc(100% + 0.5em);
text-align: right;
text-indent: 0;
right: calc(100% + 0.5em);
text-align: right;
- color: #bbb;
+ color: #bbb;
}
}
+
+/* remove link underlines for navigational links */
.toc a {
.toc a {
- border: none;
+ text-decoration: none;
+}
+.title {
+ text-decoration: none;
+}
+.pages a {
+ text-decoration: none;
+}
+.content h1 a {
+ text-decoration: none;
+}
+
+
+/* And thanks again to Said Achmiz for making superscripts not mess up line spacing. */
+sup, sub {
+ position: relative;
+ vertical-align: baseline;
+ font-size: 0.8em;
+}
+sup {
+ bottom: 0.4em;
}
}
-
.heading
{
-
line-height: 1.1
;
+
sup a
{
+
padding: 0 0.1em
;
}
}
-
.heading a
{
-
border: none
;
+
sub
{
+
top: 0.25em
;
}
}