Skip to content

Commit

Permalink
update content styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabp-alokin committed Dec 7, 2023
1 parent 8a19592 commit da51131
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ body html {
min-height: 100vh;
}
}
.heading > h1 {
.content-data {
position: absolute;
top: 36%;
}
.content-data > h1 {
color: #ffffff;
font-size: 40px;
font-family: "Kalam", cursive;
Expand All @@ -44,7 +48,7 @@ body html {
min-height: 100vh;
align-items: center;
}
.heading > h1 {
.content-data > h1 {
font-size: 30px;
}
.subHeading h3 {
Expand Down
2 changes: 1 addition & 1 deletion css/navigator.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
height: 32px;
width: auto;
position: fixed;
top: 94%;
top: 95%;
left: 50%;
transform: translate(-50%, -50%);
justify-content: space-evenly;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
id="main-section"
>
<div class="content">
<div class="heading">
<div class="content-data">
<h1>It's Rishab Haridas</h1>
<div class="subHeading">
<h3>
Expand Down

0 comments on commit da51131

Please sign in to comment.