Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anubhavprogramer committed Oct 6, 2023
1 parent f59e78b commit 89316ab
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 48 deletions.
20 changes: 8 additions & 12 deletions countries/src/next_page.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
* {
padding: 0;
margin: 0;
background-color: hsl(207, 26%, 17%);
/* background-color: hsl(207, 26%, 17%); */
background-color: hsl(0, 0%, 98%);
}

Expand All @@ -10,33 +10,33 @@
justify-content: space-between;
align-items: center;
padding: 30px 11%;
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
}

.heading {
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
color: white;
color: black;
font-family: Nunito Sans;
}

.mode-container {
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
display: flex;
align-items: center;
}

.night-mode {
width: 15px;
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
}

.mode {
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
padding: 0px 12px;
color: #fff;
Expand All @@ -60,7 +60,7 @@
color: white;
color: black;
border-radius: 5px;
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
box-shadow: 0px 0px 10px 0px black;
font-family: Nunito Sans;
Expand All @@ -79,11 +79,7 @@



.flag-container {

width: 500px;
overflow: hidden;
}



Expand Down Expand Up @@ -126,7 +122,7 @@
.footer>span {
font-size: 13px;
padding: 5px 30px;
background-color: hsl(209, 23%, 22%);
/* background-color: hsl(209, 23%, 22%); */
background-color: hsl(0, 0%, 100%);
}

Expand Down
75 changes: 39 additions & 36 deletions countries/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
padding: 0;
margin: 0;
background-color: var(--bgcolor);
background-color: hsl(207, 26%, 17%);
background-color: hsl(0, 0%, 98%);
/* background-color: hsl(207, 26%, 17%); */
/* background-color: hsl(0, 0%, 98%); */
}


.card-container {
background-color: hsl(207, 26%, 17%);
/* background-color: hsl(207, 26%, 17%); */

background-color: var(--bgcolor);
padding-top: 70px;
Expand All @@ -20,7 +20,7 @@
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px,1fr));

background: hsl(0, 0%, 98%);
/* background: hsl(0, 0%, 98%); */
height: 100vh;
display: flex;
flex-wrap: wrap;
Expand All @@ -34,11 +34,14 @@
height: 400px;
}

.flag-container-details img{
width: 500px;
}
.card {
margin: 50px 30px;
margin-bottom: 50px ;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
height: 300px;
width: 250px;
border-radius: 7px;
Expand All @@ -55,8 +58,7 @@



.flag-container>img {
object-fit: cover;


.flag-container>img {

Expand All @@ -65,34 +67,35 @@
}

.country-container {
color: white;
color: black;
color: rgb(0, 0, 0);

font-family: Nunito Sans;
padding: 10%;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
border: 1px solid black;
border-radius: 5px;
/* background-color: hsl(0, 0%, 100%); */
display: flex;
flex-direction: column;
}

.country-container>h4 {
padding-bottom: 10px;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);

/* background-color: hsl(0, 0%, 100%); */
}

.country-container>span>strong {
font-size: 13px;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
padding-right: 10px;
}

.country-container>span {
padding: 10px 0px;
font-size: 13px;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
}


Expand All @@ -104,13 +107,13 @@
justify-content: space-between;
align-items: center;
padding: 30px 11%;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
}

.heading {
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
color: white;
color: black;
font-family: Nunito Sans;
Expand All @@ -121,8 +124,8 @@

background-color: var(--bgcolor);

background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */

display: flex;
align-items: center;
Expand All @@ -136,13 +139,13 @@

.mode {

background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */
}

.mode {
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(209, 23%, 22%); */
/* background-color: hsl(0, 0%, 100%); */

padding: 0px 12px;
color: #fff;
Expand All @@ -167,7 +170,7 @@
align-items: center;
justify-content: center;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(0, 0%, 100%); */
padding: 10px;
border-radius: 5px;
/* background-color: var(--bgcolor); */
Expand All @@ -179,7 +182,7 @@

background-color: var(--bgcolor);

background-color: hsl(0, 0%, 100%);
/* background-color: hsl(0, 0%, 100%); */

}

Expand All @@ -198,7 +201,7 @@

background-color: var(--bgcolor);

background-color: hsl(0, 0%, 100%);
/* background-color: hsl(0, 0%, 100%); */

width: 300px;
font-size: 15px;
Expand All @@ -209,17 +212,17 @@
.dropdowncol{
color: white;
width: 150px;
position: relative;
position: relative;}

#continentSelect {
border: none;
border-right: 10px solid hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(0, 0%, 100%); */
padding: 15px 25px;
width: 200px;
height: 60px;
background-color: hsl(209, 23%, 22%);
background-color: hsl(0, 0%, 100%);
/* background-color: hsl(0, 0%, 100%); */
color: white;
color: black;

Expand Down Expand Up @@ -310,7 +313,7 @@
padding-right: 80px;
justify-content: center;
}
=======



.container-2 {
Expand All @@ -328,4 +331,4 @@
}
}

/* Add more media queries for other screen sizes if necessary */
}}

0 comments on commit 89316ab

Please sign in to comment.