PythonAnyDark/script.user.js

26 lines
620 B
JavaScript
Raw Normal View History

2024-11-30 20:08:13 -08:00
// ==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 = `
2024-11-30 20:30:02 -08:00
body, .active, .navbar {
2024-11-30 20:08:13 -08:00
background: #0f161c !important;
color: white;
}
2024-11-30 20:13:17 -08:00
tr.hoverable:hover {
2024-11-30 20:13:58 -08:00
background: #013e6d !important;
2024-11-30 20:11:35 -08:00
}
2024-11-30 20:25:36 -08:00
.pale, i.pale, .directory_listing_table {
2024-11-30 20:26:23 -08:00
color: white !important;
2024-11-30 20:17:05 -08:00
opacity: 1;
}
2024-11-30 20:08:13 -08:00
`;
2024-11-30 20:09:09 -08:00
document.body.appendChild(style);