Style updates, portfolio updates
This commit is contained in:
1 parent
787e5810e3
commit
23d7555dab
5 files changed
+28
-14
No files matched your search
@@ -90,12 +90,17 @@
|
||||
|
||||
.language-switch button {
|
||||
padding: 8px 16px;
|
||||
background: #362e51;
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-family: Roboto, serif;
|
||||
font-size: 1.2rem;
|
||||
transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
|
||||
}
|
||||
|
||||
.language-switch button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.language-switch button.active {
|
||||
@@ -105,10 +110,10 @@
|
||||
}
|
||||
|
||||
.language-switch button.en {
|
||||
margin-left: 8px;
|
||||
border-radius: 25px 0 0 25px;
|
||||
margin-right: 8px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.language-switch button.de {
|
||||
border-radius: 0 25px 25px 0;
|
||||
border-radius: 25px;
|
||||
}
|
||||
@@ -46,24 +46,29 @@
|
||||
|
||||
.language-switch button {
|
||||
padding: 4px 8px;
|
||||
background: #362e51;
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: none;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
font-family: Roboto, serif;
|
||||
transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
|
||||
}
|
||||
|
||||
.language-switch button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.language-switch button.active {
|
||||
font-weight: bold;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.language-switch button.en {
|
||||
margin-left: 8px;
|
||||
border-radius: 25px 0 0 25px;
|
||||
margin-right: 8px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.language-switch button.de {
|
||||
border-radius: 0 25px 25px 0;
|
||||
border-radius: 25px;
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
<a [routerLink]="'/services'" [class.active]="activeLink === '/services'">{{ 'NAV_SERVICES' | translate }}</a>
|
||||
<a [routerLink]="'/blog'" [class.active]="activeLink === '/blog'">Blog</a>
|
||||
</div>
|
||||
<div class="language-switch">
|
||||
<div class="language-switch" [attr.data-active]="currentLang">
|
||||
<button (click)="switchLang('en')" [class.active]="currentLang === 'en'" class="en">EN</button>
|
||||
<button (click)="switchLang('de')" [class.active]="currentLang === 'de'" class="de">DE</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user