forked from CSGOWTF/csgowtf
added local fonts
This commit is contained in:
51
src/scss/custom.scss
Normal file
51
src/scss/custom.scss
Normal file
@@ -0,0 +1,51 @@
|
||||
// Custom.scss
|
||||
//@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
||||
@font-face {
|
||||
font-family: "OpenSans";
|
||||
src: local('OpenSans'), url("../assets/fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "OpenSansItalic";
|
||||
src: local('OpenSansItalic'), url("../assets/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "CSRegular";
|
||||
src: local('CSRegular'), url("../assets/fonts/cs_regular.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Orbitron";
|
||||
src: local('Orbitron'), url("../assets/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||
}
|
||||
|
||||
// Default variable overrides
|
||||
$font-family-base: 'OpenSans';
|
||||
$body-color: white;
|
||||
|
||||
$primary: #888f98;
|
||||
$secondary: #10121a;
|
||||
$body-bg: #1b2732;
|
||||
$blue: #5f7892;
|
||||
$warning: #c3a235;
|
||||
$info: $blue;
|
||||
$success: #609926;
|
||||
|
||||
// Custom classes
|
||||
.mt-n5 {
|
||||
margin-top: -3rem !important;
|
||||
}
|
||||
.mt-n4 {
|
||||
margin-top: -2rem !important;
|
||||
}
|
||||
|
||||
// Bootstrap
|
||||
@import "../../node_modules/bootstrap/scss/bootstrap";
|
||||
@import "../../node_modules/@fortawesome/fontawesome-free/css/all.css";
|
||||
|
||||
:root {
|
||||
// CSGO COLORS
|
||||
--csgo-orange: #FE9A28;
|
||||
--csgo-blue: #5BA7FE;
|
||||
--csgo-yellow: #F7F52F;
|
||||
--csgo-purple: #A01BEF;
|
||||
--csgo-green: #04B462;
|
||||
}
|
||||
Reference in New Issue
Block a user