mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 09:57:32 +01:00
[refactor] pulling the general font-family to a SCSS variable
This commit is contained in:
parent
df881791d3
commit
ec0a2f1903
1
css/_theme.scss
Normal file
1
css/_theme.scss
Normal file
@ -0,0 +1 @@
|
|||||||
|
$fontFamily: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';
|
@ -1,4 +1,6 @@
|
|||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
@import "theme";
|
||||||
|
|
||||||
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
/* CSS for different main menu pages, such as character info, script editor, etc (but excluding
|
||||||
terminal which has its own page) */
|
terminal which has its own page) */
|
||||||
|
|
||||||
@ -33,7 +35,7 @@
|
|||||||
|
|
||||||
border: 2px solid var(--my-highlight-color);
|
border: 2px solid var(--my-highlight-color);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
font-family: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';
|
font-family: $fontFamily;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace_line,
|
.ace_line,
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
@import "theme";
|
||||||
|
|
||||||
:root{
|
:root{
|
||||||
--my-font-color: #6f3;
|
--my-font-color: #6f3;
|
||||||
--my-background-color: #000;
|
--my-background-color: #000;
|
||||||
@ -9,7 +11,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: 'Lucida Console', 'Lucida Sans Unicode', 'Fira Mono', 'Consolas', 'Courier New', Courier, monospace, 'Times New Roman';
|
font-family: $fontFamily;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
Loading…
Reference in New Issue
Block a user