first commit

This commit is contained in:
Alex Janka 2021-06-07 12:28:40 +10:00
commit 44cd36a33c
4 changed files with 69 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
web-ext-artifacts

1
README.md Normal file
View file

@ -0,0 +1 @@
firefox plugin for css injections

14
manifest.json Normal file
View file

@ -0,0 +1,14 @@
{
"manifest_version": 2,
"name": "injections",
"version": "0.1",
"description": "misc CSS injections.",
"content_scripts": [
{
"matches": ["*://news.ycombinator.com/*"],
"css": ["styles/news.ycombinator.com.css"]
}
]
}

View file

@ -0,0 +1,53 @@
@media (prefers-color-scheme: dark) {
.pagetop a:visited {
color: #eaeaea;
}
.pagetop {
color: #eaeaea;
}
form {
color: #eaeaea;
}
body {
background: #37393f;
}
td {
background: #37393f;
}
tr {
background: #37393f;
}
.comment {
color: #eaeaea;
}
.commtext {
color: #eaeaea;
}
a:link {
color: #eaeaea;
text-decoration: none;
}
a:visited {
color: #9e9e9e;
text-decoration: none;
}
#pagespace {
display: block;
background-color: #37393f;
}
.c00,
.c00 a:link {
color: #eaeaea;
}
.comhead,
.comhead a:link {
color: #9e9e9e;
}
textarea {
background: #cfcfcf;
}
}
textarea {
height: 4em;
}