Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
royvivi29 committed Feb 2, 2024
1 parent e94b1ff commit 1dade5e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions competition.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ body {
}
/* navbar section */
nav {
/* background-color: #444; */
padding: 10px;
position: relative;
}

nav a {
color: black;
text-decoration: none;
Expand All @@ -27,7 +25,6 @@ nav a {
margin: 10px;
cursor: pointer;
}

#menuItems {
display: none;
color:#333;
Expand All @@ -41,19 +38,15 @@ nav a {
max-width: 1200px;
margin: 0 auto;
padding: 20px;

}
h1{

align-items: center;
}

.card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.card {
width: calc(33.33% - 20px);
background-color: #fff;
Expand All @@ -79,9 +72,6 @@ h3 a{
.card h3 a:active{
color: orangered;
}
.card h3 a:visited{
color: purple;
}
h1{
display: flex;
justify-content: center;
Expand All @@ -100,25 +90,20 @@ h1{
margin-bottom: 5px;
}
}


/* card responsive */
@media screen and (max-width: 1000px) {
.card {
width: calc(50% - 20px);
}
}

@media screen and (max-width: 600px) {
.card {
width: 100%;
}
}

.card h3 {
margin-top: 0;
}

.card p {
margin: 5px 0;
}

0 comments on commit 1dade5e

Please sign in to comment.