commento.scss: have root-font take precedence
This commit is contained in:
parent
504d1bf866
commit
ab312bfe20
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user