Remove font-size and gutter padding right from themes, re-add font size changing

This commit is contained in:
mattpass
2020-09-19 11:44:50 +01:00
parent 01dfbac81a
commit bc4532f76e
40 changed files with 2 additions and 79 deletions

View File

@@ -1,5 +1,4 @@
.cm-s-all-hallow-eve {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-amy {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #200020;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-argonaut {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #151515;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-black-pearl-ii {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-chrome-devtools {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-clouds-midnight {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #191919;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-darkpastel {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #2a2a2a;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-django {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0B2F20;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-eiffel {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-emacs-strict {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000EB;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-fade-to-grey {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-fake {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #010304;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-friendship-bracelet {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #1F1F1F;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-glitterbomb {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0B0A0A;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-idle {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-idlefingers {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #323232;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-iplastic {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #EEEEEEEB;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-ir_black {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-ir_white {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-johnny {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-juicy {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #F1F1F1;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-krtheme {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0B0A09;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -2,7 +2,6 @@
background-color: #000;
color: #fff;
line-height: 1.2em;
font-size: 1em;
}
.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight {
text-decoration: underline;
@@ -19,7 +18,7 @@
text-decoration-color: #404040;
text-decoration-style: dotted;
}
.cm-s-liquibyte .CodeMirror-gutters { background-color: #262626; border-right: 1px solid #505050; padding-right: 0.8em; }
.cm-s-liquibyte .CodeMirror-gutters { background-color: #262626; border-right: 1px solid #505050; }
.cm-s-liquibyte .CodeMirror-gutter-elt div { font-size: 1.2em; }
.cm-s-liquibyte .CodeMirror-guttermarker { }
.cm-s-liquibyte .CodeMirror-guttermarker-subtle { }

View File

@@ -1,5 +1,4 @@
.cm-s-lowlight {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #1E1E1E;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-made-of-code {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #090916F2;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-monoindustrial {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #222C28;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-monokai-bright {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #272822;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-monokai-fannonedition {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0A0A0A;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-mreq {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #181818;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-nightlion {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #1a1a1a;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-oceanic {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #1B2630;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-plasticcodewrap {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #00161B;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-rails-envy {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #121210;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-rdark {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #1B2426;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-spectacular {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0B0A0A;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-sunburst {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #000000;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-text-ex-machina {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #151515;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-tomorrow-night-blue {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #002451;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -1,5 +1,4 @@
.cm-s-venom {
font-size: 1em;
line-height: 1.5em;
font-family: inconsolata, monospace;
letter-spacing: 0.3px;
@@ -14,7 +13,6 @@
box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 1px 0 2px 0 rgba(0, 0, 0, 0.5);
background-color: #0D0D0D;
padding-right: 10px;
z-index: 3;
border: none;
}

View File

@@ -3712,7 +3712,7 @@ var ICEcoder = {
// Update styles in editor
thisCSS = this.content.contentWindow.document.styleSheets[6];
strCSS = thisCSS.rules ? 'rules' : 'cssRules';
// thisCSS[strCSS][0].style['fontSize'] = settings.fontSize;
thisCSS[strCSS][0].style['fontSize'] = settings.fontSize;
thisCSS[strCSS][4].style['border-left-width'] = settings.visibleTabs ? '1px' : '0';
thisCSS[strCSS][4].style['margin-left'] = settings.visibleTabs ? '-1px' : '0';
thisCSS[strCSS][2].style.cssText = "background-color: " + activeLineBG + " !important";