1
0
mirror of https://github.com/robonen/canvas-3d.git synced 2026-03-20 10:54:39 +00:00

style(prettier): format project

This commit is contained in:
2022-11-24 06:17:48 +07:00
parent 9a5c028ac0
commit aa8d740ca9
16 changed files with 159 additions and 84 deletions

View File

@@ -8,10 +8,10 @@
font-family: $font-family;
src: url('#{$font-with-path}.eot');
src: local('#{$font-with-dash}'), local('#{$font-with-space}'),
url('#{$font-with-path}.eot?#iefix') format('embedded-opentype'),
url('#{$font-with-path}.woff2') format('woff2'),
url('#{$font-with-path}.woff') format('woff'),
url('#{$font-with-path}.ttf') format('truetype');
url('#{$font-with-path}.eot?#iefix') format('embedded-opentype'),
url('#{$font-with-path}.woff2') format('woff2'),
url('#{$font-with-path}.woff') format('woff'),
url('#{$font-with-path}.ttf') format('truetype');
font-weight: $weight;
font-style: normal;
}
@@ -19,11 +19,12 @@
@font-face {
font-family: $font-family;
src: url('#{$font-with-path}Italic.eot');
src: local('#{$font-with-dash}Italic'), local('#{$font-with-space} Italic'),
url('#{$font-with-path}Italic.eot?#iefix') format('embedded-opentype'),
url('#{$font-with-path}Italic.woff2') format('woff2'),
url('#{$font-with-path}Italic.woff') format('woff'),
url('#{$font-with-path}Italic.ttf') format('truetype');
src: local('#{$font-with-dash}Italic'),
local('#{$font-with-space} Italic'),
url('#{$font-with-path}Italic.eot?#iefix') format('embedded-opentype'),
url('#{$font-with-path}Italic.woff2') format('woff2'),
url('#{$font-with-path}Italic.woff') format('woff'),
url('#{$font-with-path}Italic.ttf') format('truetype');
font-weight: $weight;
font-style: italic;
}
@@ -38,14 +39,15 @@ $fonts: (
Black: 700,
);
@include MakeFont('Formular', $fonts, '@/assets/fonts/formular');
@font-face {
font-family: 'Computer Modern Serif';
src: url('@/assets/fonts/computer-modern/cmunrm.eot');
src: url('@/assets/fonts/computer-modern/cmunrm.eot?#iefix') format('embedded-opentype'),
url('@/assets/fonts/computer-modern/cmunrm.woff') format('woff'),
url('@/assets/fonts/computer-modern/cmunrm.ttf') format('truetype');
src: url('@/assets/fonts/computer-modern/cmunrm.eot?#iefix')
format('embedded-opentype'),
url('@/assets/fonts/computer-modern/cmunrm.woff') format('woff'),
url('@/assets/fonts/computer-modern/cmunrm.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@include MakeFont('Formular', $fonts, '@/assets/fonts/formular');

View File

@@ -7,6 +7,6 @@
}
::-webkit-scrollbar-thumb {
background-color: var(--scroll-color);
transition: background-color 0.1s;
background-color: var(--scroll-color);
}

View File

@@ -4,15 +4,17 @@
@import 'scroll';
@import 'animations';
html, body, #__nuxt {
html,
body,
#__nuxt {
width: 100%;
height: 100%;
}
body {
background-color: var(--background-color-primary);
color: var(--font-color-primary);
font-family: Formular, Helvetica, Arial, sans-serif;
color: var(--font-color-primary);
background-color: var(--background-color-primary);
}
button {
@@ -21,7 +23,8 @@ button {
cursor: pointer;
}
h1, h2 {
h1,
h2 {
font-size: 20px;
font-weight: 600;
}