PythonAnyDark/script.user.js
2024-11-30 20:32:28 -08:00

27 lines
No EOL
669 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, .active, .navbar {
background: #0f161c !important;
background-color: #0f161c !important;
color: white !important;
}
tr.hoverable:hover {
background: #013e6d !important;
}
.pale, i.pale, .directory_listing_table {
color: white !important;
opacity: 1;
}
`;
document.body.appendChild(style);