Skip to content

Commit

Permalink
fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
davay42 committed Jun 28, 2021
1 parent 4a61574 commit 9b9c6ad
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 13 deletions.
18 changes: 18 additions & 0 deletions .vitepress/theme/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ root {
url('/fonts/commissioner-v3-latin_cyrillic-ext_cyrillic-700.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
font-family: 'Mukta';
font-style: normal;
font-weight: normal;
src: local(''), url('/fonts/Mukta-Regular.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/Mukta-Regular.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
font-family: 'Mukta';
font-style: normal;
font-weight: 700;
src: local(''), url('/fonts/Mukta-Bold.woff2') format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/Mukta-Bold.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
16 changes: 6 additions & 10 deletions .vitepress/theme/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ body {
}

.dark body {
background-color: #333;
color: #eee;
background-color: #222;
color: #ddd;
}

.bounce {
Expand Down Expand Up @@ -47,7 +47,7 @@ body {
h5,
h6,
p {
@apply max-w-2xl mx-auto;
@apply max-w-2xl mx-auto leading-relaxed;
}
em {
@apply not-italic text-dark-100/60 dark:text-light-100/60;
Expand All @@ -63,21 +63,17 @@ body {
.sans,
.sanskrt,
.sanskrit {
font-weight: 500;
font-size: 2em;
line-height: 1.42;
@apply text-4xl;
font-family: 'Mukta';
}

.trans {
font-size: 1.2em;
color: #999;
margin: 12px 0;
@apply text-dark-200/40 dark:text-light-300/40 text-2xl leading-loose mb-2;
}

.stanza {
@apply transition-all max-w-2xl mx-auto relative duration-400 shadow-md p-3 sm:p-8 my-12 bg-light-400 text-left rounded
dark:(bg-dark-400);
dark:(bg-dark-200);
&:hover {
@apply shadow-xl;
}
Expand Down
4 changes: 1 addition & 3 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
title: Трика йога
list: main
---

<state-dark />
---
Binary file added public/fonts/Mukta-Bold.woff
Binary file not shown.
Binary file added public/fonts/Mukta-Bold.woff2
Binary file not shown.
Binary file added public/fonts/Mukta-Regular.woff
Binary file not shown.
Binary file added public/fonts/Mukta-Regular.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 9b9c6ad

Please sign in to comment.