aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2021-01-03 15:59:21 -0500
committerBryan Brattlof <hello@bryanbrattlof.com>2021-04-07 18:59:28 -0400
commiteffdc370566e7f9f0b09cbf28662054f6d42c074 (patch)
tree1761910864ce494055d5d34af1ab1c2f5ac891b8
parenta903bca96fcfbabc55089a7e80a7da887c931bdb (diff)
downloadcgit-effdc370566e7f9f0b09cbf28662054f6d42c074.tar.gz
cgit-effdc370566e7f9f0b09cbf28662054f6d42c074.tar.bz2
add cgit.css style changes to summary page
- restricted the max-width to 95 characters - added padding and margin to code blocks - reduced the default padding for both ordered and unordered lists - changed default color of links to #333
-rw-r--r--cgit.css29
1 files changed, 22 insertions, 7 deletions
diff --git a/cgit.css b/cgit.css
index dfa144d..cc90ade 100644
--- a/cgit.css
+++ b/cgit.css
@@ -9,7 +9,7 @@ div#cgit {
}
div#cgit a {
- color: blue;
+ color: #333;
text-decoration: none;
}
@@ -85,12 +85,6 @@ div#cgit table.tabs td a.active {
background-color: #ccc;
}
-div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after {
- content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgAhcJDQY+gm2TAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAABbSURBVAhbY2BABs4MU4CwhYHBh2Erww4wrGFQZHjI8B8IgUIscJWyDHcggltQhI4zGDCcRwhChPggHIggP1QoAVmQkSETrGoHsiAEsACtBYN0oDAMbgU6EBcAAL2eHUt4XUU4AAAAAElFTkSuQmCC);
- opacity: 0.5;
- margin: 0 0 0 5px;
-}
-
div#cgit table.tabs td.form {
text-align: right;
}
@@ -256,6 +250,27 @@ div#cgit td#content {
div#cgit div#summary {
vertical-align: top;
margin-bottom: 1em;
+ max-width: 95ch;
+}
+
+div#cgit div#summary pre.code {
+ padding: 1em;
+ margin: 0;
+}
+
+div#cgit div#summary a {
+ text-decoration: underline;
+ font-style: italic;
+ font-weight: bold;
+ color: inherit;
+}
+
+div#cgit div#summary ul, div#cgit div#summary ol {
+ padding: 0 1em;
+}
+
+div#cgit div#summary li {
+ margin: 0 0 1em 0;
}
div#cgit table#downloads {