logo size

This commit is contained in:
Tykayn 2021-12-13 18:30:25 +01:00 committed by tykayn
parent 8885a31fa5
commit 3794f1a641
4 changed files with 18 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<div class="contained-desktop">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item title logo-home-link has-text-black" routerLink="/">
<a class="title logo-home-link has-text-black" routerLink="/">
<img class="app-logo logo" *ngIf="appLogo" src="{{ appLogo }}" alt="{{ appTitle }}" />
<span class="app-title">
{{ appTitle }}

View File

@ -2,34 +2,34 @@
.navbar-item {
color: $white;
.app-title {
color: $white;
}
a {
color: $white;
}
.fa {
margin: 0 1ch;
}
}
.app-logo {
max-width: $main-column-width-inner;
max-height: $main-column-width-inner;
height: 3rem;
width: 3rem;
display: inline-block;
}
.logo-home-link {
margin-top: 0;
line-height: $header-nav-inner-height;
padding: 1rem !important;
font-size: 0.85rem;
img {
width: 3rem;
height: 3rem;
}
&:hover {
color: $font_color;
}
}
.give-to-project {
.button {
background: transparent;

View File

@ -59,7 +59,7 @@
routerLinkActive="active"
>
<img
class="app-logo logo"
class="stepper-app-logo logo"
*ngIf="environment.appLogo"
src="{{ environment.appLogo }}"
alt="accueil {{ environment.appTitle }}"

View File

@ -108,3 +108,11 @@
margin-top: 0.5rem;
display: inline-block;
}
.stepper-app-logo {
max-width: $main-column-width-inner;
max-height: $main-column-width-inner;
height: 3rem;
width: 3rem;
display: inline-block;
}