mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-19 05:46:27 +01:00
layne: @experimental/fonts
This commit is contained in:
parent
1269548247
commit
c007127ed5
@ -610,7 +610,7 @@ $aspect-ratios: (
|
|||||||
|
|
||||||
// scss-docs-start font-variables
|
// scss-docs-start font-variables
|
||||||
// stylelint-disable value-keyword-case
|
// stylelint-disable value-keyword-case
|
||||||
$font-family-sans-serif: GameUbuntu, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
$font-family-sans-serif: Ubuntu !default;
|
||||||
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
||||||
// stylelint-enable value-keyword-case
|
// stylelint-enable value-keyword-case
|
||||||
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
|
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
|
||||||
|
@ -1,29 +1,4 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: Ubuntu;
|
font-family: Ubuntu;
|
||||||
src: url('../webfonts/Ubuntu.ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: GameUbuntu;
|
|
||||||
src: url('../webfonts/Ubuntu-C.ttf');
|
src: url('../webfonts/Ubuntu-C.ttf');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: UbuntuItalics;
|
|
||||||
src: url('../webfonts/Ubuntu-i.ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: UbuntuItalicsBold;
|
|
||||||
src: url('../webfonts/Ubuntu-ib.ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: UbuntuBold;
|
|
||||||
src: url('../webfonts/Ubuntu-b.ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: UbuntuMedium;
|
|
||||||
src: url('../webfonts/Ubuntu-m.ttf');
|
|
||||||
}
|
|
||||||
|
@ -100,6 +100,7 @@ $nitro-card-tabs-height: 33px;
|
|||||||
box-shadow: 0 2px white;
|
box-shadow: 0 2px white;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding-top:2px;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
min-height: 25px;
|
min-height: 25px;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
|
|
||||||
border-image-slice: 17 6 6 29 fill;
|
border-image-slice: 17 6 6 29 fill;
|
||||||
border-image-width: 17px 6px 6px 29px;
|
border-image-width: 17px 6px 6px 29px;
|
||||||
|
@ -11,6 +11,10 @@ body {
|
|||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
image-rendering: -moz-crisp-edges;
|
image-rendering: -moz-crisp-edges;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
|
||||||
|
* {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
Loading…
Reference in New Issue
Block a user