Added itch.io script and did a few changes on github script
This commit is contained in:
parent
545342bd57
commit
630cae9cfd
|
@ -37,7 +37,8 @@ header nav { display: inline-block !important; } \
|
||||||
.Box--overlay, \
|
.Box--overlay, \
|
||||||
header nav li.d-block .dropdown-menu { background-color: white !important; } \
|
header nav li.d-block .dropdown-menu { background-color: white !important; } \
|
||||||
header nav li summary { color: black !important; } \
|
header nav li summary { color: black !important; } \
|
||||||
a.HeaderMenu-link { color: black !important; } \
|
li.HeaderMenu-item button { color: blue !important; } \
|
||||||
|
a.HeaderMenu-link { color: blue !important; } \
|
||||||
summary.HeaderMenu-link svg { display: none !important; } \
|
summary.HeaderMenu-link svg { display: none !important; } \
|
||||||
input.header-search-input { color: black; border: #323232; } \
|
input.header-search-input { color: black; border: #323232; } \
|
||||||
#responsive-meta-container > div > div { display: inline-block !important; } \
|
#responsive-meta-container > div > div { display: inline-block !important; } \
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
// itch.io CSS fixes
|
||||||
|
// version 1.1
|
||||||
|
// 2022-11-17
|
||||||
|
// Copyright (c) 2021-2022 Created by Georgios Sokianos
|
||||||
|
// Released under the GPL license
|
||||||
|
// http://www.gnu.org/copyleft/gpl.html
|
||||||
|
//
|
||||||
|
// ==UserScript==
|
||||||
|
// @name itch.io CSS fixes
|
||||||
|
// @namespace none
|
||||||
|
// @description Fixes css in itch.io
|
||||||
|
// @include https://*.itch.io/*
|
||||||
|
// @include https://itch.io/*
|
||||||
|
// @version $VER: itch.io CSS fixes 1.1 (17.11.2022)
|
||||||
|
// @url https://ko-fi.com/walkero
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
var css = ' \
|
||||||
|
.header_widget .primary_header > * { display: inline-block; } \
|
||||||
|
div.left_col.column { display:inline-block !important; width: 58% !important; vertical-align:top; } \
|
||||||
|
div.right_col.column { display:inline-block !important; width: 38% !important; vertical-align:top; margin-left: 4%; } \
|
||||||
|
';
|
||||||
|
|
||||||
|
var head = document.head || document.getElementsByTagName('head')[0],
|
||||||
|
style = document.createElement('style');
|
||||||
|
|
||||||
|
head.appendChild(style);
|
||||||
|
|
||||||
|
style.type = 'text/css';
|
||||||
|
if (style.styleSheet){
|
||||||
|
// This is required for IE8 and below.
|
||||||
|
style.styleSheet.cssText = css;
|
||||||
|
} else {
|
||||||
|
style.appendChild(document.createTextNode(css));
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue