Skip to content

Commit

Permalink
Merge pull request #23 from mlegait/rebranding-font
Browse files Browse the repository at this point in the history
Rebranding font
  • Loading branch information
FroMage authored Feb 10, 2025
2 parents cab6bff + 47bb698 commit dca4f78
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/templates/Application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h2 class="home__title">Riviera DEV 2025</h2>

<div class="aboutUs">
<div class="aboutUs__item aboutUs__aboutUs">
<h2 class="home__title aboutUs__title">{m:views.application.index.aboutUs.title}</h2>
<h2 class="home__title aboutUs__title title">{m:views.application.index.aboutUs.title}</h2>
<p>{m:views.application.index.aboutUs.dna}</p>
<p>{m:views.application.index.aboutUs.goal}</p>

Expand All @@ -135,7 +135,7 @@ <h2 class="home__title aboutUs__title">{m:views.application.index.aboutUs.title}

<div class="days">
<div class="days__container notFullWidth">
<h2 class="days__mainTitle home__title">{m:views.application.index.days.title}</h2>
<h2 class="days__mainTitle home__title title">{m:views.application.index.days.title}</h2>

<div class="days__contents">

Expand Down Expand Up @@ -231,7 +231,7 @@ <h2 class="judcon__mainTitle home__title">
{#if !displayPreviousSpeakers && speakersStar != null && speakersStar.size() > 0}
<div class="speakers">
<div class="speakers__container notFullWidth">
<h2 class="home__title speakers__title">{m:views.application.index.speakers}</h2>
<h2 class="home__title speakers__title title">{m:views.application.index.speakers}</h2>
{#speakers speakers=speakersStar/}

<div class="speakers__buttonContainer">
Expand Down Expand Up @@ -296,7 +296,7 @@ <h2 class="home__title newsletter__title">
<a id="sponsors" class="underStickyHeader"></a>
<div class="partenaires">
<div class="partenaires__container notFullWidth">
<h2 class="home__title partenaires__title">
<h2 class="home__title partenaires__title title">
{m:views.application.index.sponsors}
</h2>

Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/web/app/stylesheets/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@
}
}
}

@mixin title {
&::before {
content: '{ ';
}
&:after {
content: ' }';
}
}
2 changes: 2 additions & 0 deletions src/main/resources/web/app/stylesheets/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ $border-radius-sm: 10px;
$border-radius-md: 16px;

$font-title: 'Humant', sans-serif;
$font-text: 'Neulis', sans-serif;
$font-secondary: 'Tomorrow', sans-serif;

$font-xxxl: 4rem; // 40px
$font-xxl: 3rem; // 30px
Expand Down
11 changes: 6 additions & 5 deletions src/main/resources/web/app/stylesheets/partials/_common.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '../mixins';

/* Humant font for titles */

@font-face {
Expand Down Expand Up @@ -64,7 +66,7 @@ html {
}

body {
font-family: 'Neulis', sans-serif;
font-family: $font-text;
font-size: $font-sm;
position: relative;
min-height: 100vh;
Expand Down Expand Up @@ -96,9 +98,7 @@ body {
}

.title {
text-align: center;
color: $color-blue;
font-weight: 300;
@include title;
}

.notFullWidth {
Expand Down Expand Up @@ -143,7 +143,6 @@ body {
display: inline-block;
white-space: nowrap;
text-decoration: none;
text-transform: uppercase;
text-align: center;
font-size: $font-sm;
font-weight: $semi-bold;
Expand Down Expand Up @@ -260,6 +259,8 @@ a {
}

&__mainTitle {
@include title;

font-family: $font-title;
font-size: $font-xl;
font-weight: bold;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ body.burgerMenu--open .burgerMenu:before {

padding: $space-sm 2%;
z-index: 10;
font-family: $font-secondary;
font-size: $font-xs;
position: fixed;
right: 0;
Expand All @@ -233,8 +234,6 @@ body.burgerMenu--open .burgerMenu:before {
text-decoration: none;
cursor: pointer;
text-transform: uppercase;
font-size: $font-xs;
font-weight: $bold;

&:hover {
color: $color-blue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

&__info {
color: white;
font-family: 'Tomorrow';
font-family: $font-secondary;
font-size: $font-lg;
font-weight: $light;
margin-bottom: 3rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ $avatar-size-sm: 150px;
}

&__name {
text-transform: uppercase;
font-weight: $bold;
}

Expand Down Expand Up @@ -92,6 +91,7 @@ $avatar-size-sm: 150px;
&__name {
line-height: 1.5em;
font-size: $font-xl;
font-weight: $semi-bold;
}

&__title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ $sponsor-silver-height: 92px;
&__name {
font-size: $font-xxl;
margin: $space-xxs;
font-weight: $semi-bold;
}

&__network {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
}

&__number {
font-family: $font-secondary;
font-size: $font-xxl;
font-weight: bold;
font-weight: $bold;
display: block;
color: $color-yellow;
line-height: 1;
Expand Down

0 comments on commit dca4f78

Please sign in to comment.