Skip to content

Instantly share code, notes, and snippets.

@iblueer
Last active January 20, 2022 07:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iblueer/a4da3644316dfe653976467bfa730d20 to your computer and use it in GitHub Desktop.
Save iblueer/a4da3644316dfe653976467bfa730d20 to your computer and use it in GitHub Desktop.
[Change CSS for UISDC]修改优设网CSS
// ==UserScript==
// @name 修改优设网CSS
// @namespace https://www.maemo.cc/
// @version 0.2
// @description try to take over the world!
// @updateURL https://gist.githubusercontent.com/iblueer/a4da3644316dfe653976467bfa730d20/raw/7636cd77d06a538e70f39b72439161bb395165d5/change-css-for-uisdc.user.js
// @downloadURL https://gist.githubusercontent.com/iblueer/a4da3644316dfe653976467bfa730d20/raw/7636cd77d06a538e70f39b72439161bb395165d5/change-css-for-uisdc.user.js
// @author Maemo Lee
// @match *://www.uisdc.com/*
// @grant none
// ==/UserScript==
(function() {
var style = document.createElement("style");
style.type = "text/css";
var text = document.createTextNode(".header {background: rgba(255,255,255,0.1) !important;} .article-toolkit {box-shadow: 0 12px 30px 0 rgba(237,240,241,0.5); padding-bottom: 0px !important; width: 50px !important;} .menus, .gotop {box-shadow: 0 12px 30px 0 rgba(237,240,241,0.5);}");
style.appendChild(text);
var head = document.getElementsByTagName("head")[0];
head.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment