Skip to content

Commit

Permalink
support github education closes #1062
Browse files Browse the repository at this point in the history
  • Loading branch information
the-j0k3r committed Feb 13, 2020
1 parent 4f976b6 commit a2bc1a8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion github-dark.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*! Github Dark v1.22.212 (2020-02-11) */
/*! Repository: https://github.com/StylishThemes/GitHub-Dark */
/*! License: https://creativecommons.org/licenses/by-sa/4.0/ */
@-moz-document regexp("^https?://((gist|guides|help|lab|launch-editor|raw|resources|status|developer|support)\\.)?github\\.com/((?!generated_pages/preview).)*$"), domain("githubusercontent.com"), domain("graphql-explorer.githubapp.com"), domain("www.githubstatus.com") {
@-moz-document regexp("^https?://((education|gist|guides|help|lab|launch-editor|raw|resources|status|developer|support)\\.)?github\\.com/((?!generated_pages/preview).)*$"), domain("githubusercontent.com"), domain("graphql-explorer.githubapp.com"), domain("www.githubstatus.com") {
:root {
--bg-custom: /*[[bg-custom]]*/;
--bg-img: /*[[bg-choice]]*/ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAAAAABURb1YAAAFnklEQVR4AWWXCY4cwXbE6h4JMhCvMPc/ov+3Ox9QsLCGpKlFHILd+UQ559AGDkBSFXWmomonqkL/XuUcIPUcONjHCJyE36KaqNiaRnVCG9TGpgIU9hIfohCBVGj24ammo04lU3Fy0NZDAyZi5AElHjgEGlRbG1WjraIt7TmADQkAaoEHsOXAAaeqat9RVTqjosyEH5W+DQCQt8BzIJMfXJI3e5tGRefSlRn3NrO3scnvNl26FN5RITGNfjm3GM/+FhQgnlQeImC+dEm8rzHVTNGL9EADVsTAIfGJBziRy7RlmcZU1IYpHIj+4JrWym8/XSwzompmFNVOFdTOAAfs61KZ6eXcp57fykQUOxNBmTesz2HpCnCg3UV/bA7VRpWGNqKtrYLTs0ilCjgxiZxjeLC5dDPBFn4Pn2ja6BRUL10DTgET4Focq8rn8casxV4E5tIl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iaeTAcyxYl2lyrrvZv8v2wE7U1uVcST0821jJeIDKWuyxiqnuko7q3+zJYXJ46nV3D67EyL+lQ9F2qkr+3kUafQpwYE8T329p6y7OX1TF97fQv/c+l87zj7Hsgpig4qRLd9fMPs74rLGyCzRbhmVqpy7nqvPmTD1gvKe7b2U8u1QzmtuDuEtbgT3c8QBJveo6cueFkUwv59nVmfFw1jl4/unuOT9qERV76ers8n23z/c8/Xy7a4lwwLplmGusbRp33Up13+ZDN3KPxNVMhY62vUQyRTse6+cKHtZYjIfDh260Cjbb3Vy6R8H8SMBzqSwrsB1UTacoknlnOb8V4JD9Njfpwz/fHjpBUeevcAtcl65sqXPX9D87RUTLc/dfOgAAAABJRU5ErkJggg==");
Expand Down Expand Up @@ -11473,6 +11473,18 @@
fill: #555;
}
}
@-moz-document domain("education.github.com") {
div[style*="background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));"] {
background: linear-gradient(transparent, #181818) !important;
}
img[alt="GitHub Education"][src*="wordmark"] {
filter: invert(90%) hue-rotate(180deg) contrast(120%) !important;
mix-blend-mode: exclusion;
}
.shaded-background {
background: transparent;
}
}
@-moz-document regexp("^https://(render)\.githubusercontent\.com\/render\/math\?.*$") {
svg {
background: #222;
Expand Down

3 comments on commit a2bc1a8

@the-j0k3r
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheBillyIsMe this is all it takes to support education.github.com if you update to GitHub Dark v1.22.213 you can see it in action fully.

@TheBillyIsMe
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@the-j0k3r Awesome! Didn't realize it was that easy!

Thanks for doing this!

@the-j0k3r
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np =)

Most subdomains were already covered, so adding this felt natural.

Please sign in to comment.