mirror of
https://github.com/grey-cat-1908/formaptix-web.git
synced 2024-11-11 18:47:27 +03:00
fonts
This commit is contained in:
parent
1e2ee1c2a3
commit
da2c497252
7 changed files with 77 additions and 1 deletions
BIN
src/assets/fonts/Onest-Bold.ttf
Normal file
BIN
src/assets/fonts/Onest-Bold.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/Onest-Medium.ttf
Normal file
BIN
src/assets/fonts/Onest-Medium.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/Onest-Regular.ttf
Normal file
BIN
src/assets/fonts/Onest-Regular.ttf
Normal file
Binary file not shown.
|
@ -3,7 +3,13 @@ import { getTitle } from '@/utils/env'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<h1>{{ getTitle() }}</h1>
|
<header class="header">
|
||||||
|
<div class="header-container">
|
||||||
|
<div class="container">
|
||||||
|
<h1 class="">{{ getTitle() }}</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|
8
src/styles/colors.css
Normal file
8
src/styles/colors.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
:root {
|
||||||
|
--color-main: #5ba8ff;
|
||||||
|
--color-text: #181f23;
|
||||||
|
--color-subtext: #2a363e;
|
||||||
|
--color-main-background: #fff;
|
||||||
|
--color-secondary-background: #e7e7e8;
|
||||||
|
|
||||||
|
}
|
|
@ -79,3 +79,36 @@ body,
|
||||||
max-width: 1440px;
|
max-width: 1440px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 1320px;
|
||||||
|
padding: 10px 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
background: var(--color-main-background);
|
||||||
|
color: var(--color-text);
|
||||||
|
font-family: 'Onest', sans-serif;
|
||||||
|
font-weight: var(--main-font-weight);
|
||||||
|
font-size: var(--main-font-size);
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
a, button {
|
||||||
|
background: 0;
|
||||||
|
color: var(--color-text);
|
||||||
|
font-family: var(--main-font-family);
|
||||||
|
font-weight: var(--main-font-weight);
|
||||||
|
font-size: var(--main-font-size);
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
outline: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
29
src/styles/fonts.css
Normal file
29
src/styles/fonts.css
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
@font-face {
|
||||||
|
src: url("@/assets/fonts/Onest-Bold.ttf");
|
||||||
|
font-family: "Onest";
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
src: url("@/assets/fonts/Onest-Medium.ttf");
|
||||||
|
font-family: "Onest";
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
src: url("@/assets/fonts/Onest-Regular.ttf");
|
||||||
|
font-family: "Onest";
|
||||||
|
font-weight: 200;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--main-font-family: 'Onest', sans-serif;
|
||||||
|
--main-font-size: 18px;
|
||||||
|
--main-font-weight: 200;
|
||||||
|
}
|
Loading…
Reference in a new issue