Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit fd78f71

Browse files
committed
Add an option for caption gradient, à la Windows 98
1 parent 55306d7 commit fd78f71

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

GitHubWindows.user.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
--color-window: rgb(255, 255, 255);
2121
--color-active-caption-text: rgb(255, 255, 255);
2222
--color-active-caption: rgb(0, 0, 128);
23+
--color-active-caption-gradient: rgb(0, 0, 128);
2324
--color-info-background: rgb(255, 255, 192);
2425
--color-highlight-text: rgb(255, 255, 255);
2526
--color-highlight: rgb(0, 0, 128);
@@ -118,7 +119,7 @@
118119
}
119120

120121
.Header {
121-
background: var(--color-active-caption) !important;
122+
background: linear-gradient(to right, var(--color-active-caption), var(--color-active-caption-gradient)) !important;
122123
font: inherit !important;
123124
}
124125
.HeaderNavlink {
@@ -403,7 +404,7 @@
403404
}
404405

405406
.select-menu-header {
406-
background: var(--color-active-caption) !important;
407+
background: linear-gradient(to right, var(--color-active-caption), var(--color-active-caption-gradient)) !important;
407408
padding: 4px 6px !important;
408409
}
409410
.select-menu-title {
@@ -631,4 +632,4 @@
631632
.octicon-graph { background: var(--image-graph) !important; }
632633
.octicon-gear { background: var(--image-config) !important; }
633634
.octicon-repo { background: var(--image-folder-documents) !important; }
634-
}
635+
}

0 commit comments

Comments
 (0)