Skip to content

Commit

Permalink
last fixes for css
Browse files Browse the repository at this point in the history
  • Loading branch information
Niclas Timle authored and Niclas Timle committed Aug 20, 2024
1 parent 058bbb4 commit b0ad28e
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 25 deletions.
5 changes: 5 additions & 0 deletions src/app/Utility/stringhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,9 @@ export class StringHandler {

//#endregion

//#region footer
static readonly ContactMeAt: string = "Contact Me At";

//endregion

}
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,11 @@
button {
background-color: #2E3445;
}

@media (max-width: 1366px) {
.bi-arrow-right,
.bi-arrow-left,
.col-2{
display: none;
}
}
12 changes: 2 additions & 10 deletions src/app/component/carouselcomponent/carousel.component.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@


.col-8{
height: 550px;
}

.progress{
padding: 0%;
}
Expand Down Expand Up @@ -71,13 +66,10 @@
}
}

@media (max-width: 767px) {
@media (max-width: 1366px) {
.bi-arrow-right,
.bi-arrow-left,
.arrow{
.bi-arrow-left{
display: none;
}


}

14 changes: 7 additions & 7 deletions src/app/component/carouselcomponent/carousel.component.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div class="container">
<div class="row w-100">
<div class="col-xl-2 col-l-2 col-md-1 d-flex justify-content-center arrow">
<div class="row text-center">
<h2>{{title}}</h2>
</div>
<div class="row" style="padding: 2em;">
<div class="col-2 d-flex justify-content-center arrow">
<button class="no-outline" style="margin-left:auto;" (click)="toggleGroup('left')"><i class="bi bi-arrow-left"></i></button>
</div>
<div class="col-xl-8 col-l-8 col-md-10 col-s-12">
<div class="row text-center">
<h2>{{title}}</h2>
</div>
<div class="col-xl-8 col-l-12">
<div class="row">
<div class="d-flex justify-content-center" *ngFor="let item of currentListOfSKills" [@fadeOut]="fadeState" [@fadeIn]="fadeState">
<div class="skill-main" >
Expand All @@ -20,7 +20,7 @@ <h2>{{title}}</h2>
</div>
</div>
</div>
<div class="col-xl-2 col-l-2 col-md-1 d-flex justify-content-center arrow">
<div class="col-2 d-flex justify-content-center arrow">
<button class="no-outline" style="margin-right:auto;" (click)="toggleGroup('right')"><i class="bi bi-arrow-right"></i></button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/component/footercomponent/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="row pt-2">
<div class="col-2"></div>
<div class="col-8 text-center">
<h2>Contact me at</h2>
<h2>{{contactMeAt}}</h2>
</div>
<div class="col-2"></div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/app/component/footercomponent/footer.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Component } from "@angular/core";
import { StringHandler } from "src/app/Utility/stringhandler";

@Component({
selector:'footer-component',
Expand All @@ -11,5 +12,5 @@ import { Component } from "@angular/core";
})

export class FooterComponent{

contactMeAt = StringHandler.ContactMeAt;
}
11 changes: 6 additions & 5 deletions src/app/component/maincompontent/main.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,23 @@ h5 {
}

.jumping-arrow {
display: none !important;
display: none;
}

@media (max-width: 768px) {
@media (max-width: 1366px) {

.jumping-arrow {
display: block !important;
display: block;
background-color: transparent;
position: fixed;
color: #b29600;
border: none;
border-radius: 5px;
bottom: 5%;
bottom: 10px;
cursor: pointer;
z-index: 1;
transition: background-color 0.3s;
animation: jump 1s ease-out infinite;
animation: jump 1.2s ease-out infinite;
}

@keyframes jump {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
background-color: #242323;
}

@media (max-width: 768px) {
@media (max-width: 1366px) {
.scroll-button-container{
display: none;
}
Expand Down

0 comments on commit b0ad28e

Please sign in to comment.