Skip to content

Commit

Permalink
removed duplicate css
Browse files Browse the repository at this point in the history
  • Loading branch information
asifurrahaman754 committed Oct 1, 2022
1 parent c2821f0 commit 5ac58f2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 105 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ignore node_modules and package-lock.json
node_modules
package-lock.json

140 changes: 35 additions & 105 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
/* custom properties */
:root {
--section-width: 1440px;
--btn-color: #f9d923;
}

body {
overflow-x: hidden;
}

.headerMain {
width: 1440px;
width: var(--section-width);
height: 70px;
background-color: #f6feff;
opacity: 0.9;

display: flex;
align-items: center;
box-shadow: 5px 4px 5px 0.1px grey;
Expand All @@ -25,10 +30,7 @@ body {
display: inline-block;
margin-top: 10px;
font-size: 1.5em;
margin-block-start: 0px;
margin-block-end: 0em;
margin-inline-start: 10px;
margin-inline-end: 0px;
margin: 0px;
text-align: center;
font-size: 18px;
}
Expand All @@ -47,9 +49,10 @@ body {
background: transparent;
display: inline;
padding-left: 30px;
cursor: pointer;
}
.headButtons button:hover {
color: #f9d923;
color: var(--btn-color);
}
.headButtons button {
border-style: none;
Expand All @@ -60,39 +63,31 @@ body {
}
.headButtons {
margin-left: 350px;

display: inline;
}
.loginBtn {

.loginBtn, .loginBtn2{
border-style: none;
border-radius: 6px;
background-color: #ffd24c;
color: black;
padding: 8px 15px 8px 15px;
font-size: small;
display: inline;
margin-left: 100px;
margin-top: 0px;
box-shadow: 1px 1px 10px 2px gray;
}
.loginBtn:hover {
color: white;
font-weight: bolder;
background-color: green;

.loginBtn {
background-color: #ffd24c;
margin-left: 100px;
}

.loginBtn2 {
border-style: none;
border-radius: 6px;
background-color: transparent;
color: black;
padding: 8px 15px 8px 15px;
font-size: small;
display: inline;
margin-left: 10px;
margin-top: 0px;
box-shadow: 1px 1px 10px 2px gray;
}
.loginBtn2:hover {

.loginBtn:hover, .loginBtn2:hover {
color: white;
font-weight: bolder;
background-color: green;
Expand Down Expand Up @@ -122,7 +117,7 @@ body {
background-size: 1000px;
display: flex;
height: 700px;
width: 1440px;
width: var(--section-width);
margin-top: 10px;
}

Expand Down Expand Up @@ -164,7 +159,7 @@ body {
height: 70px;
width: 250px;
border-radius: 8px;
background-color: #f9d923;
background-color: var(--btn-color);
margin-left: 160px;
margin-top: 20px;

Expand Down Expand Up @@ -215,7 +210,7 @@ body {
.toolsMain {
background-color: transparent;
height: 450px;
width: 1440px;
width: var(--section-width);
margin-top: 50px;
}

Expand Down Expand Up @@ -245,110 +240,48 @@ body {
margin-right: 280px;
color: grey;
}
.card1 {
margin-left: 50px;
display: inline-block !important;
text-align: center;
margin-top: 40px;
box-shadow: 0.1px 0.2px 20px 0.001px rgb(199, 199, 199);
outline: grey;
}
.card1:hover {
transition: all 0.3s ease-in-out;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-in-out;
transition-delay: 0s;
background-color: rgb(200, 255, 200);
}
.card1 h1 {
margin-top: 0px;
font-size: 25px;
display: flex;
padding-left: 50px;
background-color: rgb(200, 255, 200);
}

.card1 p {
/* cards style */
.card1 p, .card2 p, .card3 p {
width: 287px;
}
.card1 img {

.card1 img, .card2 img, .card3 img {
height: 200px;
outline: none !important;
}

/* card 2 */
.card2 {
.card1, .card2, .card3 {
margin-left: 50px;
display: inline-block !important;
text-align: center;
margin-top: 40px;
box-shadow: 0.1px 0.2px 20px 0.001px rgb(199, 199, 199);
outline: grey;
}
.card2:hover {
transition: all 0.3s ease-in-out;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-in-out;
transition-delay: 0s;
background-color: rgb(200, 255, 200);
}
.card2 h1 {

.card1 h1, .card2 h1, .card3 h1 {
margin-top: 0px;
font-size: 25px;
display: flex;
padding-left: 50px;
background-color: rgb(200, 255, 200);
}

.card2 p {
width: 287px;
}
.card2 img {
height: 200px;
outline: none !important;
}

/* CARD 3 */
.card3 {
margin-left: 50px;
display: inline-block !important;
text-align: center;
margin-top: 40px;
box-shadow: 0.1px 0.2px 20px 0.001px rgb(199, 199, 199);
outline: grey;
}
.card3:hover {
.card1:hover, .card2:hover, .card3:hover {
transition: all 0.3s ease-in-out;
transition-property: all;
transition-duration: 0.3s;
transition-timing-function: ease-in-out;
transition-delay: 0s;
background-color: rgb(200, 255, 200);
}
.card3 h1 {
margin-top: 0px;
font-size: 25px;
display: flex;
padding-left: 50px;
background-color: rgb(200, 255, 200);
}

.card3 p {
width: 287px;
}
.card3 img {
height: 200px;

outline: none !important;
}

/*css for Schedule.js*/
.scMain {
background-color: transparent;
height: 450px;
width: 1440px;
width: var(--section-width);
margin-top: 100px;
}
.scContainer {
Expand All @@ -363,7 +296,7 @@ body {
scroll-behavior: smooth;
}
#root {
max-width: 1440px;
max-width: var(--section-width);
}

/* CSS FOR SPONSOR */
Expand Down Expand Up @@ -418,7 +351,7 @@ body {
}

.App {
min-width: 1440px !important;
min-width: var(--section-width) !important;
}

#about {
Expand Down Expand Up @@ -482,7 +415,7 @@ body {
background-color: #1c1d1f;
border-top: 1px solid #3e4143;
margin-bottom: 0px;
width: 1440px;
width: var(--section-width);
margin-top: 100px;
flex-shrink: 0;
text-align: center;
Expand All @@ -505,7 +438,4 @@ body {
display: block;
padding-bottom: 10px;
padding-top: 10px;
}

.karan {
}
}

0 comments on commit 5ac58f2

Please sign in to comment.