actually pull in open-sans, move fonts to own include

pull/1/head
Pierre Bondoerffer 7 years ago
parent a5f9b49bfb
commit 92d3b1a9fc
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -4,6 +4,7 @@
@import "../less2/include/alertify.less";
@import "../less2/include/colortheme.less";
@import "../less2/include/modal.less";
@import "../less2/include/font.less";
@import "./bar.less";
@import "./loading.less";
@import "./dropdown.less";
@ -12,6 +13,8 @@
@toolbar-green: #5cb85c;
.font-open-sans();
.alertify_main();
html.cp, .cp body {

@ -0,0 +1,9 @@
.font-neuropolitical () {
@font-face {
font-family: Neuropolitical;
src: url(./customize/fonts/neuropolitical.ttf)
}
}
.font-open-sans () {
@import (once) '/customize/fonts/open-sans.less';
}

@ -1,8 +1,6 @@
@font-face {
font-family: Neuropolitical;
src: url(./customize/fonts/neuropolitical.ttf)
}
@import (once) '/customize/fonts/open-sans.less';
@import (once) './include/font.less';
.font-neuropolitical();
.font-open-sans();
body.cp-page-index { @import "./pages/page-index.less"; }
body.cp-page-contact { @import "./pages/page-contact.less"; }

Loading…
Cancel
Save