Tjuro
(Mart)
5
Ik heb de laatste tijd het bovenstaande script wat uitgebreid, dit is waar ik op uit ben gekomen:
// ==UserScript==
// @name OSM
// @match https://community.openstreetmap.org/*
// @grant none
// @run-at document-end
// ==/UserScript==
// register a style sheet
let style = document.createElement("style");
style.innerHTML = `
:root {
--tertiary: #06B6D4;
--quaternary: #EA580C;
}
.topic-body {
width: calc(850px + (11px * 2));
}
.post-notice {
max-width: calc(850px + (11px * 2) + 45px - (0.8em * 2));
}
.topic-list .topic-list-data {
padding: 8px 5px;
}
.single-select-header, .ember-view > a, .btn, .menu-panel, .search-input, .search-input > input {
border-radius: 5px;
}
.nav-pills > li a.active {
color: #FFEDD5;
}
.svg-icon {
height: 20px;
}
.badge-category-bg {
border-radius: 100%;
}
.badge-wrapper.bullet .badge-category-parent-bg + .badge-category-bg {
border-radius: unset;
}
`;
document.getElementsByTagName("head")[0].appendChild(style);