Skip to content

Commit

Permalink
Added and fix the white spacing on the Hero Section also justify text…
Browse files Browse the repository at this point in the history
… on the About me section on Mobile Screen
  • Loading branch information
Frogerall committed Oct 24, 2023
1 parent ce37de9 commit fb93e3d
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ body {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url("Laptop.svg") center/cover;
height: 100vh;
display: flex;
flex-direction: column;
gap: 15em;
}
.menu-icon,
.close-button {
Expand Down Expand Up @@ -54,14 +57,14 @@ a:hover {
}
/* Heading */
.hero-section {
display: flex;
color: #fff;
text-align: center;
display: flex;
align-self: flex-end;
align-items: center;
justify-content: center;
flex-direction: column;
align-items: center;
max-width: 90%;
margin: 13em auto;
margin: 0 auto;
}
.hero-section p {
font-size: 1.2em;
Expand All @@ -71,12 +74,12 @@ a:hover {
width: 80%;
}
.cta-button {
display: inline-block;
display: block;
background-color: rgb(5, 5, 5, 0.5);
color: #fff;
padding: 15px 30px;
text-decoration: none;
font-size: 18px;
font-size: 1.2em;
border-radius: 5px;
border: 1px white solid;
transition: background-color 0.5s;
Expand Down Expand Up @@ -341,12 +344,10 @@ a:hover {
li:hover {
background-color: rgba(255, 255, 255, 0.185);
}
.hero-section {
margin-top: 10em;
}

.hero-section h1 {
margin-top: 0.5em;
font-size: 1.8em;
font-size: 1.3em;
}
.hero-section p {
margin-top: 1em;
Expand All @@ -371,6 +372,9 @@ a:hover {
padding: 0 0.5em;
max-width: 26ch;
}
.bio p {
text-align: justify;
}
.projects-section h2 {
font-size: 2em;
padding: 2em;
Expand Down

0 comments on commit fb93e3d

Please sign in to comment.