Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 58 additions & 9 deletions src/Components/Home/Hero/Hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ $font-color: #a2aa94;
display: flex;
flex-direction: column;
}

@media (min-width: 430px) and (max-width: 600px) {
flex-direction: column;
}

@media (min-width: 1200px) and (max-width: 1920px) {
flex-direction: row;
}
}

/* Left Container */
Expand All @@ -50,27 +58,37 @@ $font-color: #a2aa94;

@media (max-width: 1200px) {
flex: 0 0 60%;
padding: 160px 0px 0px 40px; /* top, right, bottom, left */
padding: 160px 0px 0px 40px;
}

@media (max-width: 992px) {
flex: 0 0 60%;
padding: 210px 0px 0px 40px; /* top, right, bottom, left */
padding: 210px 0px 0px 40px;
}

@media (max-width: 430px) {
flex: 0 0 50%;
padding: 60px 40px 0px 40px; /* top, right, bottom, left */
padding: 60px 40px 0px 40px;
}

@media (min-width: 430px) and (max-width: 600px) {
flex: 0 0 50%;
padding: 60px 40px 0px 40px;
}

@media (max-width: 414px) {
flex: 0 0 50%;
padding: 30px 40px 0px 40px; /* top, right, bottom, left */
padding: 30px 40px 0px 40px;
}

@media (max-width: 375px) {
flex: 0 0 55%;
padding: 20px 40px 0px 40px; /* top, right, bottom, left */
padding: 20px 40px 0px 40px;
}

@media (min-width: 1200px) and (max-width: 1800px) {
flex: 0 0 55%;
padding: 160px 60px 0px 60px;
}
}

Expand Down Expand Up @@ -105,6 +123,12 @@ $font-color: #a2aa94;
margin-top: -210px;
}

@media (min-width: 430px) and (max-width: 600px) {
flex: 0 0 50%;
margin-left: 10px;
margin-top: -210px;
}

@media (max-width: 390px) {
flex: 0 0 50%;
margin-left: 10px;
Expand All @@ -127,6 +151,12 @@ $font-color: #a2aa94;
margin-left: 10px;
margin-top: -350px;
}

@media (min-width: 1200px) and (max-width: 1800px) {
flex: 0 0 45%;
margin-left: -35px;
margin-top: -200px;
}
}

/* Text Styling */
Expand Down Expand Up @@ -165,6 +195,10 @@ $font-color: #a2aa94;
h1 {
font-size: 8em;
margin-bottom: -0.3em;

@media (min-width: 1200px) and (max-width: 1800px) {
font-size: 6em;
}
}

p {
Expand All @@ -176,6 +210,10 @@ p {
@media (max-width: 768px) {
font-size: 1.5em;
}

@media (min-width: 1200px) and (max-width: 1800px) {
font-size: 2em;
}
}

@media (max-width: 768px) {
Expand All @@ -198,7 +236,7 @@ p {

@media (max-width: 992px) {
h1 {
font-size: 4.5em;
font-size: 4.3em;
margin-bottom: -0.2em;
}

Expand All @@ -209,7 +247,18 @@ p {

@media (max-width: 430px) {
h1 {
font-size: 3.2em;
font-size: 3.1em;
margin-bottom: -0.2em;
}

p {
font-size: 1.3em;
}
}

@media (min-width: 430px) and (max-width: 600px) {
h1 {
font-size: 3.3em;
margin-bottom: -0.2em;
}

Expand All @@ -231,7 +280,7 @@ p {

@media (max-width: 414px) {
h1 {
font-size: 2.9em;
font-size: 2.8em;
margin-bottom: -0.2em;
}

Expand All @@ -242,7 +291,7 @@ p {

@media (max-width: 375px) {
h1 {
font-size: 2.7em;
font-size: 2.6em;
margin-bottom: -0.2em;
}

Expand Down
8 changes: 6 additions & 2 deletions src/Components/Projects/Projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ a {
position: relative;
color: #fff;
min-height: 200px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
transition:
transform 0.3s ease,
box-shadow 0.3s ease;

&:hover {
transform: scale(1.05);
Expand Down Expand Up @@ -176,7 +178,9 @@ a {
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
transition:
background-color 0.3s,
transform 0.3s;

svg {
margin-right: 5px;
Expand Down