mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:06:44 +00:00
feat(userstyle): add tweaks for GitHub search results
This commit is contained in:
@@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
@var color ghdt-diff-hover-bg "Diff Hover BG" rgba(255, 255, 255, .04)
|
@var color ghdt-diff-hover-bg "Diff Hover BG" rgba(255, 255, 255, .04)
|
||||||
@var color ghdt-diff-hover-selected-bg "Diff Hover Selected BG" rgba(255, 255, 255, .08)
|
@var color ghdt-diff-hover-selected-bg "Diff Hover Selected BG" rgba(255, 255, 255, .08)
|
||||||
|
|
||||||
|
@var color ghdt-search-keyword-hl "Search Keyword Highlight BG" rgba(107, 82, 23, .4)
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
@-moz-document domain("githubusercontent.com"),
|
@-moz-document domain("githubusercontent.com"),
|
||||||
domain("www.githubstatus.com"),
|
domain("www.githubstatus.com"),
|
||||||
@@ -70,4 +72,13 @@ regexp("^https?://((education|graphql|guides|raw|resources|status|developer|supp
|
|||||||
.highlight > tbody > tr:hover > td.blob-code-inner.highlighted::after {
|
.highlight > tbody > tr:hover > td.blob-code-inner.highlighted::after {
|
||||||
background: ghdt-diff-hover-selected-bg !important;
|
background: ghdt-diff-hover-selected-bg !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
GitHub Search Tweaks
|
||||||
|
|
||||||
|
Make keyword highlight background a bit more obvious.
|
||||||
|
*/
|
||||||
|
.blob-code .hx_keyword-hl {
|
||||||
|
background-color: ghdt-search-keyword-hl !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user