Skip to content

Commit

Permalink
New fonts and gap fix in Digital Editions component
Browse files Browse the repository at this point in the history
  • Loading branch information
mdermentzi committed Aug 19, 2024
1 parent b129513 commit 0656492
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 143 deletions.
12 changes: 6 additions & 6 deletions src/assets/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,47 +88,47 @@

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-Regular.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-SemiBold.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-600.woff2') format('woff2');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-Medium.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-500.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-ExtraLight.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-200.woff2') format('woff2');
font-weight: 200;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-Light.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-300.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Noto Sans';
src: url('./fonts/Noto_Sans/static/NotoSans-Thin.ttf') format('truetype');
src: url('./fonts/Noto_Sans/static/noto-sans-v36-cyrillic_cyrillic-ext_greek_latin_latin-ext-100.woff2') format('woff2');
font-weight: 100;
font-style: normal;
font-display: swap;
Expand Down
136 changes: 0 additions & 136 deletions src/assets/fonts/Noto_Sans/README.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/assets/fonts/Noto_Sans/static/NotoSans-Thin.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/DigitalEditions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<span>{{ $t('removeAllFilters') }}</span>
</div>
</div>
<div class="grid grid-cols-12 sm:grid-cols-8 h-screen max-w-full" v-if="!loading">
<div class="grid grid-cols-12 sm:grid-cols-8 gap-8 h-screen max-w-full" v-if="!loading">
<div class="h-5/6 col-span-12 bg-white shadow-xl xl:h-3/4 xl:col-span-6 overflow-hidden px-7">
<h4 class="font-sans text-ehri-dark font-extralight text-xl mt-4">
<span v-if="selectedEdition.pagination.total" class="font-serif font-extrabold">{{selectedEdition.pagination.total + " "}}</span>
Expand Down

0 comments on commit 0656492

Please sign in to comment.