Skip to content

Commit

Permalink
feat: font adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Sep 2, 2024
1 parent d1f3c43 commit 404abff
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 9 deletions.
Binary file removed public/assets/fonts/ApproachKoeln-Bd.ttf
Binary file not shown.
Binary file added public/assets/fonts/ApproachKoeln-BdIt.ttf
Binary file not shown.
Binary file removed public/assets/fonts/ApproachKoeln-Rg.ttf
Binary file not shown.
Binary file added public/assets/fonts/ApproachKoeln-RgIt.ttf
Binary file not shown.
Binary file removed public/assets/fonts/ApproachKoeln-SmBd.ttf
Binary file not shown.
Binary file added public/assets/fonts/ApproachKoeln-SmBdIt.ttf
Binary file not shown.
4 changes: 2 additions & 2 deletions src/pages/overview.twig
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</div>
<div class='col-12 col-lg-9'>
<div class='pb-3 pt-0 pt-md-3 d-flex flex-wrap column-gap-3 align-items-center justify-content-end'>
<p class='m-0 fw-semibold'>Sortieren nach</p>
<p class='m-0'><strong>Sortieren nach</strong></p>
<div class='dropdown '>
<button
class='btn btn-light dropdown-toggle shadow-sm'
Expand All @@ -159,7 +159,7 @@
</div>
</div>
<div class='d-flex gap-2 align-items-center justify-content-end d-block d-lg-none'>
<p class='h6 fw-semibold m-0'>Filters Nach</p>
<p class='h6 m-0'><strong>Filters Nach</strong></p>
<button
class='btn btn-dark'
type='button'
Expand Down
4 changes: 2 additions & 2 deletions src/partials/base/b_card.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
{% endif %}

<div class='{{ direction == 'horizontal' ? 'col-7' : '' }} card-body d-flex flex-column gap-2'>
<h3 class='card-title h5 d-flex gap-2 align-items-center mb-0 fw-semibold'>
{{ title }}
<h3 class='card-title h5 d-flex gap-2 align-items-center mb-0'>
<strong>{{ title }}</strong>
{% if tag %}
<span class='badge text-bg-secondary fw-normal text-uppercase'>{{ tag }}</span>
{% endif %}
Expand Down
6 changes: 4 additions & 2 deletions src/partials/content-layout/cl_filters.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
</button>
</div>
<div class='offcanvas-body'>
<h3 class='h5 fw-semibold mb-3'>Filtern nach</h3>
<h3 class='h5 mb-3'><strong>Filtern nach</strong></h3>
<div class='d-flex flex-column gap-4'>
{% for category in data %}
<div>
<h4 class='h6 fw-semibold'>{{ category.title }}</h4>
<h4 class='h6'>
<strong>{{ category.title }}</strong>
</h4>
<div class='d-flex flex-column gap-2 align-items-start'>
{% for filter in category.filters %}
{% set id = 'filter-' ~ loop.parent.loop.index ~ loop.index %}
Expand Down
10 changes: 7 additions & 3 deletions src/styles/base/_font.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
@font-face {
font-family: 'ApproachKoeln';
src: url('/assets/fonts/ApproachKoeln-Rg.ttf') format('truetype');
src: url('/assets/fonts/ApproachKoeln-Rglt.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'ApproachKoeln';
src: url('/assets/fonts/ApproachKoeln-SmBd.ttf') format('truetype');
src: url('/assets/fonts/ApproachKoeln-SmBdlt.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: 'ApproachKoeln';
src: url('/assets/fonts/ApproachKoeln-Bd.ttf') format('truetype');
src: url('/assets/fonts/ApproachKoeln-Bdlt.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}

body {
font-family: 'ApproachKoeln', Arial, sans-serif;
}

strong {
font-weight: 600;
}

0 comments on commit 404abff

Please sign in to comment.