summaryrefslogtreecommitdiffstats
path: root/scss
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-02-04 23:48:53 -0500
committerDrew DeVault <sir@cmpwn.com>2017-02-04 23:48:53 -0500
commiteaaf419e99cfeeabfde79fda0ad06484bed29159 (patch)
treef27a07273da5e678523e97f5c85e6b33799c1619 /scss
parent021f21756339085e9cd73858c62766cbf3ac45fd (diff)
Tweak cgit styles to match sr.ht theme
Diffstat (limited to 'scss')
-rw-r--r--scss/main.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/scss/main.scss b/scss/main.scss
index 171e536..63da406 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -136,3 +136,29 @@ section {
}
@import "cgit";
+
+div#cgit {
+ padding: 0;
+ font-size: inherit;
+
+ table.tabs {
+ margin-top: 0;
+ border-bottom: 3px solid #ddd;
+
+ td a {
+ padding: 3px 0.75em;
+ font-size: inherit;
+
+ &.active {
+ background-color: #ddd;
+ }
+ }
+
+ input[type="text"] {
+ border-width: 1px;
+ border-style: solid;
+ width: 8rem;
+ padding: 0 0;
+ }
+ }
+}