Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name simpleplanes.com tweaks
- // @version 0.1
- // @include http://simpleplanes.com/*
- // @include https://simpleplanes.com/*
- // @include http://www.simpleplanes.com/*
- // @include https://www.simpleplanes.com/*
- // @author WNP78
- // ==/UserScript==
- style = `
- body {
- background: #151515 !important;
- color: #b3b3b3;
- }
- .body {
- background: #272727 !important;
- border-top-color: #272727 !important;
- }
- .body header {
- background: #272727 !important;
- }
- a { color: #079ae4; }
- .product-thumb-info {
- background: #1a1a1a !important;
- border-color: #1a1a1a !important;
- }
- .product-thumb-info h4 {
- color: white;
- }
- h1, h2, h3, h4, h5, h6 {
- color: #cfcfcf !important;
- }
- h3, h4, h5 {
- color: #20b3fc !important;
- }
- .forum-list-votes {
- background: #474747;
- color: #ffaa3e;
- }
- /* START HellFireKode */
- .page-top {
- border-bottom: 5px solid #666
- }
- .label-success {
- background: #227722;
- }
- .label-default {
- background: #666;
- }
- table.cart > tbody > tr {
- border-top: 2px solid #2A2A2A;
- }
- .form-control {
- background: #666;
- border-color: #222;
- color: #FFF;
- }
- /* END HellFireKode */
- .notification {
- background: #4d4d4d;
- border-color: transparent !important;
- }
- .notification p {
- color: white;
- }
- .notification:hover {
- background: #7d7d7d;
- }
- p { color: #dedede; }
- .post-body {
- background: #333;
- border-color: #333;
- }
- ul.comments .comment-block {
- background: #2F2F2F;
- }
- .downloads {
- color: #c8c8c8;
- }
- .btn-default {
- color: white;
- background: #777;
- border-color: #777;
- }
- .btn-default:hover, .btn-default:focus, .btn-default:active {
- color: white !important;
- background: #666 !important;
- border-color: #666 !important;
- }
- .pagination > li > a, .pagination > li > span, .pagination > li > a:hover, .pagination > li > span:hover {
- background: #232323;
- border-color: #232323;
- }
- .dropdown-menu {
- background: #4d4d4d;
- border-color: #4d4d4d;
- color: white !important;
- }
- .dropdown-menu > li > a {
- background: #4d4d4d !important;
- border-color: #4d4d4d !important;
- color: white !important;
- }
- .dropdown-menu > li > a:hover {
- background: #555 !important;
- border-color: #555 !important;
- color: white !important;
- }
- .user-detail {
- background: #444;
- }
- .table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
- background: #363636;
- }
- .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
- border-top: none;
- }
- ul.comments .comment-arrow {
- border-right-color: #333;
- }
- .img-thumbnail {
- background: #3f3f3f;
- border-color: transparent;
- }
- `;
- var css = document.createElement("style");
- css.type = "text/css";
- css.innerHTML = style;
- document.body.appendChild(css);
- $(".comment-block p").each(function (a,b) { b.innerHTML = b.innerHTML.replace(/@([A-z0-9]+)/g, "<a style=\"background-color: #CCCCCC; color:black; border-radius:5px; padding-left: 3px; padding-right: 3px;\" href=\"/u/$1\">$&</a>"); } );
- $(".post-body p").each(function (a,b) { b.innerHTML = b.innerHTML.replace(/@([A-z0-9]+)/g, "<a style=\"background-color: #CCCCCC; color:black; border-radius:5px; padding-left: 3px; padding-right: 3px;\" href=\"/u/$1\">$&</a>"); } );
- $(".post-body img").each(function (a,b) { b.setAttribute("style", "max-width:100%"); } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement