vspd/webapi/public/css/fonts.css
Jamie Holdstock d5eb18f557
Add support email and pubkey to GUI (#74)
* Add support email to gui.

* Use Decred fonts

* Use Decred favicon

* Add pubkey to homepage. Use properly typed struct for template data.

* go mod tidy
2020-05-27 15:36:11 +01:00

64 lines
2.8 KiB
CSS

@font-face {
font-family: "vspd-code";
src:
url("/public/css/fonts/SourceCodePro-Regular/SourceCodePro-Regular.ttf.woff2") format("woff2"),
url("/public/css/fonts/SourceCodePro-Regular/SourceCodePro-Regular.ttf.woff") format("woff"),
url("/public/css/fonts/SourceCodePro-Regular/SourceCodePro-Regular.ttf") format("truetype"),
url("/public/css/fonts/SourceCodePro-Regular/SourceCodePro-Regular.eot") format("embedded-opentype");
font-display: swap;
}
@font-face {
font-family: "vspd";
src:
url("/public/css/fonts/SourceSansPro-Regular/SourceSansPro-Regular.ttf.woff2") format("woff2"),
url("/public/css/fonts/SourceSansPro-Regular/SourceSansPro-Regular.ttf.woff") format("woff"),
url("/public/css/fonts/SourceSansPro-Regular/SourceSansPro-Regular.ttf") format("truetype"),
url("/public/css/fonts/SourceSansPro-Regular/SourceSansPro-Regular.eot") format("embedded-opentype");
font-display: swap;
}
@font-face {
font-family: "vspd";
src:
url("/public/css/fonts/SourceSansPro-Semibold/SourceSansPro-Semibold.ttf.woff2") format("woff2"),
url("/public/css/fonts/SourceSansPro-Semibold/SourceSansPro-Semibold.ttf.woff") format("woff"),
url("/public/css/fonts/SourceSansPro-Semibold/SourceSansPro-Semibold.ttf") format("truetype"),
url("/public/css/fonts/SourceSansPro-Semibold/SourceSansPro-Semibold.eot") format("embedded-opentype");
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "vspd";
src:
url("/public/css/fonts/SourceSansPro-It/SourceSansPro-It.ttf.woff2") format("woff2"),
url("/public/css/fonts/SourceSansPro-It/SourceSansPro-It.ttf.woff") format("woff"),
url("/public/css/fonts/SourceSansPro-It/SourceSansPro-It.ttf") format("truetype"),
url("/public/css/fonts/SourceSansPro-It/SourceSansPro-It.eot") format("embedded-opentype");
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "vspd";
src:
url("/public/css/fonts/SourceSansPro-SemiboldIt/SourceSansPro-SemiboldIt.ttf.woff2") format("woff2"),
url("/public/css/fonts/SourceSansPro-SemiboldIt/SourceSansPro-SemiboldIt.ttf.woff") format("woff"),
url("/public/css/fonts/SourceSansPro-SemiboldIt/SourceSansPro-SemiboldIt.ttf") format("truetype"),
url("/public/css/fonts/SourceSansPro-SemiboldIt/SourceSansPro-SemiboldIt.eot") format("embedded-opentype");
font-style: italic;
font-weight: bold;
font-display: swap;
}
html, body {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "vspd", "Verdana", "sans-serif" !important;
}
pre, code {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "vspd-code", "Courier New", "monospace" !important;
}