Skip to content

Custom fonts for Jira and Confluence by vwyz

Details

Authorvwyz

LicenseNo License

Categoryatlassian.net

Created

Updated

Code size2.0 kB

Code checksumee6995b1

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Custom fonts for Jira and Confluence

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           *.atlassian.net
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Custom fonts for Jira and Confluence
@author         
==/UserStyle== */

@-moz-document domain("atlassian.net"), domain("home.atlassian.com"), domain("atlassian.cloud"), domain("jira-dev.com") {
    
    body, p, div, h1, h2, h3, h4, h5, h6, input, strong, label, a,
    button, small,
    textarea,
    span[data-item-title="true"], 
    span[class^='cc-'], div[class*=' cc-'],
    span[class^='css-'], div[class*=' css-'],
    span[class^='sc-'], div[class*=' sc-'],
    span[class^='_'], div[class*=' _'],
    /**
    .cc-1h20e3t, .cc-h1ivsa, .cc-1grmbx, .cc-bc6vhz, .css-1uggrcl, .css-9qevt3,
    .css-bc6vhz, .css-fu2129, .css-aeiv5u, .css-1a6ar2r, .css-1woex0x,
    .css-1k6d6vt, .css-9693te, .css-1a5x76h, ._ect41gqc, .css-1doerwz, .css-1aym6o7,
        .css-1dq9dgy, .sc-exkUMo, .sc-iUVpnZ, .cc-1oy58bf, .cc-1woex0x, .cc-11nshem,
    .cc-1a6ar2r, .cc-1orazja, .cc-15x72d5, .cc-1fwh6g8, .cc-10doh1j, .cc-fu2129, .sc-bIKvTM,
    .cc-19iakpa, .cc-1s9vzwe, .cc-kxjlgc, .cc-1t4wpzr, .cc-9qevt3, .css-udt1ol, .css-f7yz8z, .cc-1aym6o7, 
    .sc-jPPmml, .css-1lm5ny, .css-12dhjzc, .css-v44io0, .css-pw6pye, .css-1gd7hga,
    ._11c81ixg, ._19pkidpf, ._18u0idpf, ._19pkidpf, ._11c81o8v, ._11c82smr, ._u5f3u2gc, ._11c8dcr7, ._11c82smr,
    */
    meta, script, link, title, head, style
    {
        font-family: "Helvetica", "sans-serif" !important;
    }
    
    /** Exception - the JQL editor box should still be in monospace */
    div[data-testid="jql-editor-input"][aria-label="JQL query"] p,
    div[data-testid="jql-editor-input"][aria-label="JQL query"] span,
    /** Same for code blocks in the Confluence editor */
    span.code, span.code-block, div.cm-content div.cm-line,
    /** And in the Jira editor */
    div.code-block div, div.code-block span, div.code-block code
    {
        font-family: "Fira Code", "monospace" !important;
    }
}

Reviews

No reviews yet.