Last active
July 6, 2020 09:15
-
-
Save karasugawasu/c36d24d9cd4c799d5ce71aabea3b066b to your computer and use it in GitHub Desktop.
Note間のマージンちっちゃくするやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Note間のマージンをちっちゃくするやつ | |
// @namespace https://mstdn.precure.fun/@karasu_sue | |
// @version 0.0.5 | |
// @description Note間のマージンをちっちゃくするやつ | |
// @author Sue Karasugawa https://mstdn.precure.fun/@karasu_sue | |
// @match https://misskey.xn--krsgw--n73t.com/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var koteitag_list_index = 0; | |
var template_list; | |
window.addEventListener("load", function() { | |
Init(); | |
}); | |
function Init(){ | |
var css = ` | |
.mk-home>.mk-notes>.sqadhkmv> :not(:last-child){ | |
margin-bottom: 5px !important; | |
} | |
.note>.article{ | |
padding: 13px 10px 1px !important; | |
} | |
.mk-media-list>.gird-container{ | |
height: 150px; | |
} | |
.mk-media-list>.gird-container:before{ | |
padding-top: 0% !important; | |
} | |
`; | |
GM_addStyle(css) | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment