commento.scss: have root-font take precedence

This commit is contained in:
Adhityaa Chandrasekar 2019-05-03 19:38:23 -04:00
parent 504d1bf866
commit ab312bfe20
2 changed files with 9 additions and 10 deletions

View File

@ -1805,6 +1805,9 @@
}
classAdd(root, "root");
if (noFonts !== "true") {
classAdd(root, "root-font");
}
loginBoxCreate();
@ -1815,10 +1818,6 @@
var footer = footerLoad();
cssLoad(cdn + "/css/commento.css", "window.commento.loadCssOverride()");
if (noFonts !== "true") {
classAdd(root, "root-font");
}
selfGet(function() {
commentsGet(function() {
modToolsCreate();

View File

@ -4,12 +4,6 @@
min-height: 430px;
}
.commento-root-font {
* {
font-family: 'Source Sans Pro', sans-serif !important;
}
}
.commento-root {
overflow-x: hidden;
padding: 0px;
@ -64,3 +58,9 @@
margin-top: 16px;
}
}
.commento-root-font {
* {
font-family: 'Source Sans Pro', sans-serif;
}
}