arkosnoemarenom
9/6/2017 - 11:16 PM

trello-front-end-improvement.js

var css = `
            html, body,
            .list-card-edit-title.js-edit-card-title,
            .list-card-composer-textarea.js-card-title {
                font-family: "Lato" !important;
                font-size: 12px;
            }

            .mod-card-back-title.js-card-detail-title-input{
                font-family: "Lato" !important;
                font-size: 16px !important;
            }

            .list-header-name-assist.js-list-name-assist {
                font-size: 13px !important;
            }

            .card-detail-item-header {
                font-variant: small-caps !important;
                font-size: 12px !important;
                text-transform: uppercase !important;
            }

            code {
                font-family: "Monaco";
                font-size: 11px;
            }`;
var head = document.head || document.getElementsByTagName( 'head' )[ 0 ];
var style = document.createElement( 'style' );

style.type = 'text/css';

if ( style.styleSheet ){
  style.styleSheet.cssText = css;
} else {
  style.appendChild( document.createTextNode( css ) );
}

head.appendChild( style );