35 lines
No EOL
768 B
JavaScript
35 lines
No EOL
768 B
JavaScript
// ==UserScript==
|
|
// @name PythonAnyDark
|
|
// @namespace http://tampermonkey.net/
|
|
// @version 0.1
|
|
// @description Darkmode for PythonAnywhere dashboard
|
|
// @author Swee
|
|
// @match *://www.pythonanywhere.com/*
|
|
// @grant none
|
|
// @run-at document-body
|
|
// ==/UserScript==
|
|
|
|
const style = document.createElement("style");
|
|
style.innerHTML = `
|
|
body, .primary-navbar .active a, .navbar {
|
|
background: #0f161c !important;
|
|
color: white;
|
|
}
|
|
.btn, .btn-primary {
|
|
color: #0f161c !important;
|
|
}
|
|
.well {
|
|
background: black !important;
|
|
}
|
|
.alert-warning {
|
|
background: #2b1500;
|
|
}
|
|
tr.hoverable:hover {
|
|
background: #013e6d !important;
|
|
}
|
|
.pale, i.pale, .directory_listing_table {
|
|
color: white !important;
|
|
opacity: 1;
|
|
}
|
|
`;
|
|
document.body.appendChild(style); |