mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-20 18:54:39 +10:00
Adding new qutebrowser configs
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
// * generic.styl
|
||||
|
||||
@require mixins
|
||||
|
||||
// Generic rules for sites
|
||||
|
||||
// ** HTML elements
|
||||
*
|
||||
border-color()
|
||||
|
||||
// HACK: Don't apply A color to GitHub issue labels. This should not
|
||||
// be done here, but to do otherwise would require removing the A rule
|
||||
// from this file and adding it to all other sites manually. The
|
||||
// issue is that GitHub assigns label colors in <SPAN STYLE=...> tags
|
||||
// depending on the label's background color, so we don't want to
|
||||
// override label A colors, but there is no way in CSS to negate
|
||||
// !important for certain selectors.
|
||||
|
||||
// But apparently Stylus (or the version I have, at least, who knows)
|
||||
// doesn't support :not(), and it removes it from the CSS files it
|
||||
// compiles. So while this hack might work in the future, it appears
|
||||
// that, for now, the GitHub CSS must be edited manually after
|
||||
// generation. What an awful idea...
|
||||
|
||||
// a:not(.IssueLabel)
|
||||
|
||||
a
|
||||
a()
|
||||
a:visited
|
||||
a visited
|
||||
|
||||
body
|
||||
background-color()
|
||||
color()
|
||||
|
||||
html
|
||||
// Apparently some people set the bgcolor for HTML, not BODY...
|
||||
background-color()
|
||||
|
||||
input
|
||||
textarea
|
||||
background-color highlight
|
||||
color()
|
||||
|
||||
blockquote,
|
||||
pre
|
||||
background-color highlight
|
||||
color()
|
||||
Reference in New Issue
Block a user