added local fonts
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
// 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');
|
|
||||||
|
|
||||||
// Default variable overrides
|
|
||||||
$font-family-base: 'Roboto';
|
|
||||||
$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;
|
|
||||||
}
|
|
@@ -21,6 +21,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@font-face {
|
||||||
|
font-family: "Obitron";
|
||||||
|
src: local("Obitron"), url("assets/fonts/Orbitron-VariableFont_wght.ttf") format("truetype");
|
||||||
|
}
|
||||||
|
|
||||||
.spacer {
|
.spacer {
|
||||||
height: 70px;
|
height: 70px;
|
||||||
}
|
}
|
||||||
|
BIN
src/assets/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf
Normal file
BIN
src/assets/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/OpenSans-VariableFont_wdth,wght.ttf
Normal file
BIN
src/assets/fonts/OpenSans-VariableFont_wdth,wght.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/Orbitron-VariableFont_wght.ttf
Normal file
BIN
src/assets/fonts/Orbitron-VariableFont_wght.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/cs_regular.ttf
Normal file
BIN
src/assets/fonts/cs_regular.ttf
Normal file
Binary file not shown.
@@ -3,6 +3,6 @@ import App from './App.vue'
|
|||||||
import router from './router'
|
import router from './router'
|
||||||
import store from './store'
|
import store from './store'
|
||||||
import 'bootstrap'
|
import 'bootstrap'
|
||||||
import '../scss/custom.scss'
|
import '@/scss/custom.scss'
|
||||||
|
|
||||||
createApp(App).use(store).use(router).mount('#app')
|
createApp(App).use(store).use(router).mount('#app')
|
||||||
|
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