Last active
November 17, 2022 02:06
-
-
Save gene1wood/658b573cdf1c1ca08603b1d993918406 to your computer and use it in GitHub Desktop.
A userscript to change the appearance of inline code in Mozilla's Confluence Cloud wiki so that it looks like GitHub inline code
This file contains 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 Confluence Cloud Inline Code Styling like GitHub | |
// @namespace http://cs.cementhorizon.com | |
// @include https://mozilla-hub.atlassian.net/wiki/* | |
// @grant GM_addStyle | |
// @version 1.0 | |
// @author Gene Wood | |
// @description Cause inline code in Confluence Cloud to be styled like inline code in GitHub | |
// ==/UserScript== | |
GM_addStyle ( ` | |
code:not([class]) { | |
margin: 0px 2px !important; | |
padding: 0px 5px !important; | |
background-color: rgb(240, 240, 240) !important; | |
border: 1px solid rgb(187, 187, 187) !important; | |
border-radius: 5px !important; | |
} | |
` ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment