fahadabe / CuOnline Theme

// ==UserScript==
// @name          CuOnline Theme
// @namespace     new css
// @description   Changes most of the thing, like pictures border-radius, buttons background 
// @version       1.0
// @author        fahadabe
// @copyright 2018, fahadabe (https://openuserjs.org/users/fahadabe)
// @homepage      https://www.facebook.com/fahdabe
// @include       https://www.cuonlineswl.edu.pk:8089/*
// @license MIT
// ==/UserScript==

(function() {
    var css = " #login-wrapper{background:none;} body#login{background-size: 100%; background: black url(https://alpha.wallhaven.cc/wallpapers/full/wallhaven-447088.png) no-repeat ;} #login-wrapper #login-content{background:rgba(0,0,0,0.2);padding:40px;border-radius:10px;margin-top:-100px;} #login-wrapper  #login-top{visibility:hidden;} #stImg{border-radius:100px;width:100px;height:100px;} .shortcut-button{width:100px;height:100px;margin-top:-10px;backkground:transparent;border-radius:100px;} #main-content ul li{list-style:none;background:none;} #sidebar #main-nav li a.nav-top-item{background:linear-gradient(135deg, #257287, rgb(26, 58, 61),  rgb(99, 63, 53));border-radius:10px;} #sidebar #sidebar-wrapper{margin:0;background:none;} body{background:linear-gradient(150deg, #257287, rgb(99, 63, 53),  rgb(26, 58, 61));} #body-wrapper{background:linear-gradient(150deg, #257287, rgb(99, 63, 53),  rgb(26, 58, 61));}  center{background:none;} #sidebar{background:none;} .studentdetails{margin-top:-10px;border-radius:10px;} .studentdetails .Grid tbody td{border:none;border-radius:10px;}  .studentdetails .Grid tbody td{border-radius:10px;} #main-content tbody{border-bottom:none;} } ";
    if (typeof GM_addStyle != "undefined") {
        GM_addStyle(css);
    } else if (typeof PRO_addStyle != "undefined") {
        PRO_addStyle(css);
    } else if (typeof addStyle != "undefined") {
        addStyle(css);
    } else {
        var node = document.createElement("style");
        node.type = "text/css";
        node.appendChild(document.createTextNode(css));
        var heads = document.getElementsByTagName("head");
        if (heads.length > 0) {
            heads[0].appendChild(node);
        } else {
            document.documentElement.appendChild(node);
        }
    }
})();