Skip to content

Commit

Permalink
about page css fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shefali12-ab committed Jan 14, 2022
1 parent 4075107 commit b98af30
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
9 changes: 6 additions & 3 deletions src/Screens/About Page/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ class GoogleAd extends Component<GoogleAdInterface> {
<div className="row ">
<div className="col-10 mx-auto home">
<div className="col-md-4 pt-5 pt-lg-0 order-2 order-lg-1 get_started">
<h2 className="text_center ">
<strong className="brand-name">About Us</strong>
</h2>
<div className="text_center ">
<h2>
<strong className="brand-name">About Us</strong>
</h2>
</div>

<p className="mt-3 textjustify about">
This is college recruitment system. We are to help you. It
is a best platform for companies and student. We will
Expand Down
4 changes: 3 additions & 1 deletion src/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@
.get_started {
display: flex;
/* align-content: center; */
margin-left: -20em;
margin-left: -15em;
/* padding-right: -2em; */
margin-top: 20em;
margin-left: -20em;
padding: 2%;
}

.home {
Expand Down
6 changes: 3 additions & 3 deletions src/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/* margin-top: -5rem;
margin-left: -10rem; */

margin-left: -9%;
margin-left: -4%;
}
.padding {
padding-right: 40ex;
Expand All @@ -24,7 +24,7 @@
}

.position {
margin: 2% 0% 0% 30%;
margin: 2% 0% 0% 50%;

display: inline-block;
}
Expand All @@ -33,7 +33,7 @@
height: 60pt;
padding-right: 50ex;
margin-top: -5rem;
margin-left: -8rem;
margin-left: -2rem;
}
}
.nav_bg {
Expand Down
8 changes: 4 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ body {
@media (max-width: 991px) {
.aboutimg {
height: 250px;
margin-left: -8rem;
display: inline-block;
margin-left: -2rem;
display: block;
}
.textjustify {
text-align: justify;
Expand All @@ -251,8 +251,8 @@ body {

.text_center {
text-align: center;
margin-left: 80px;
margin-top: -40px;
margin-left: 65px;
margin-top: -4rem;
margin-bottom: 2rem;
}
}

0 comments on commit b98af30

Please sign in to comment.