diff options
author | stuebinm | 2021-02-26 23:55:37 +0100 |
---|---|---|
committer | stuebinm | 2021-02-26 23:55:37 +0100 |
commit | 59560f00eff465eff919a7eefd9b0e49ede80174 (patch) | |
tree | 0e77c3a383ae923d0640c1c8ab3722f85da34031 /cgit.css | |
parent | 10b2edc9829f6253e64de36988f80cfeaff57e08 (diff) |
Better formatting for markdown readmes
The formatter unforuntately generates its own inline css; for now
just overwrite it using ~!important~ whenever needed.
Eventually figure out a better solution ...
Diffstat (limited to '')
-rw-r--r-- | cgit.css | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,13 @@ +/* markdown stuff which overwrites the inline css generated by the parser (for now) */ + +.markdown-body pre > code { + white-space: pre; + color: black; +} + +div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#cgit .markdown-body h3 a.toclink, div#cgit .markdown-body h4 a.toclink, div#cgit .markdown-body h5 a.toclink, div#cgit .markdown-body h6 a.toclink { + color: aqua !important; +} body { @@ -6,6 +16,8 @@ body { background-color: black; } + + div#cgit { padding: 0em; margin: 0em; @@ -14,8 +26,11 @@ div#cgit { color: white; /*! background: white; */ padding: 4px; + margin-top: 1em; } + + div#cgit a { color: white; text-decoration: none; @@ -28,8 +43,6 @@ div#cgit a:hover { div#cgit table { border-collapse: collapse; border: none; - border: none; - border: none; } div#cgit table#header { @@ -913,3 +926,4 @@ div#cgit table.ssdiff td.space div { + |