Fixes Minor Responsiveness Issues
This commit is contained in:
@@ -117,3 +117,24 @@
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stack-slider {
|
||||||
|
height: 65%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*ON MOBILE VIEWPORT*/
|
||||||
|
@media only screen and (max-width: 400px) {
|
||||||
|
.intro {
|
||||||
|
height: 75%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stack-section {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
.stack {
|
||||||
|
padding-top: 60px;
|
||||||
|
width: 80%;
|
||||||
|
height: 30%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export class HomeComponent {
|
|||||||
element.scrollIntoView({
|
element.scrollIntoView({
|
||||||
behavior: "smooth",
|
behavior: "smooth",
|
||||||
block: "start",
|
block: "start",
|
||||||
inline: "nearest"
|
inline: "start"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
.stack-card {
|
.stack-card {
|
||||||
width: 300px;
|
width: 325px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
}
|
}
|
||||||
@@ -44,6 +47,6 @@
|
|||||||
|
|
||||||
.inactive {
|
.inactive {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
width: 300px;
|
width: 280px;
|
||||||
height: 410px;
|
height: 410px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ import {animate, state, style, transition, trigger} from "@angular/animations";
|
|||||||
trigger('cardAnimation', [
|
trigger('cardAnimation', [
|
||||||
state('active', style({
|
state('active', style({
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
width: '350px',
|
width: '325px',
|
||||||
height: '425px',
|
height: '425px',
|
||||||
})),
|
})),
|
||||||
state('inactive', style({
|
state('inactive', style({
|
||||||
opacity: 0.7,
|
opacity: 0.7,
|
||||||
width: '300px',
|
width: '280px',
|
||||||
height: '410px',
|
height: '410px',
|
||||||
})),
|
})),
|
||||||
transition('* => *', [
|
transition('* => *', [
|
||||||
|
|||||||
Reference in New Issue
Block a user