X-Git-Url: http://unremediatedgender.space/source?a=blobdiff_plain;f=theme%2Fstatic%2Fcss%2Fmain.css;h=db4740dab4ef90031bd2655ea225a6e4b281b2f1;hb=45c4e87fe44230c1935d7a52b51d0689954e3016;hp=1d9fedd258a8712e65e7c83f542cdc3ee333d079;hpb=52b4531eb1824493f20873d11495e84e65ce408b;p=Ultimately_Untrue_Thought.git diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 1d9fedd..db4740d 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -132,15 +132,15 @@ p { } 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 { - text-decoration: none; - border-bottom: 1px dotted #C07095; - color: #C07095; + color: #C07095; + text-decoration-color: currentcolor; } .literal { @@ -387,13 +387,17 @@ p.flower-break { /* Thanks to Said Achmiz for table-of-contents styling */ .toc { - clear: right; - max-width: calc(50% - 1.5em); + max-width: 50%; font-size: 0.85em; - margin-left: 1.5em; padding: 0.5em; + 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; padding-left: 1.5em; @@ -418,3 +422,19 @@ p.flower-break { .toc a { border: 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; +} +sup a { + padding: 0 0.1em; +} +sub { + top: 0.25em; +}