Skip to content

Commit

Permalink
Merge pull request #16 from Virtual4087/Location
Browse files Browse the repository at this point in the history
changed location css
  • Loading branch information
Virtual4087 authored Oct 19, 2023
2 parents fb73925 + 9680823 commit 0d6907f
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ nav .nav_buttons{
grid-template-columns: repeat(3, 1fr); */
/* justify-items: center; */
align-items: center;
row-gap: 3%;
}

.locations .heading{
Expand All @@ -230,20 +229,29 @@ nav .nav_buttons{
margin: 20px auto;
}

.image_container{
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
row-gap: 10px;
column-gap: 10px;
padding: 20px;
}

.locations img{
width: 100%;
border-radius: 10px;
margin: 5px 10px;

transition: 2sec;
background-image: red;
margin: 10px auto;
}

.locations .country_images{
position: relative;
transition: 0.5s;
cursor: pointer;
margin: 5px 10px;
display: flex;
}

.locations .country_images:hover{
Expand All @@ -254,21 +262,23 @@ nav .nav_buttons{
color: white;
font-size: 18px;
font-family: 'Oswald', sans-serif;
max-width: inherit;
position: absolute;
bottom: 0;
top: 80%;
left: 0;
right: 0;
bottom: 15px;
text-align: center;
background-color: rgba(0, 0, 0, 0.562);
border-radius: 0px 0px 10px 10px;
transition: 0.5s;
display: flex;
align-items: center;
justify-content: center;
}

.locations .country_images:hover span{
background-color: #ffffff;
color: #000000;
outline: 1px solid rgba(0, 0, 0, 0.248);
}

.events{
Expand Down Expand Up @@ -326,8 +336,8 @@ nav .nav_buttons{

.Video{
margin: 2em auto;
width: 90vw;
height: 100vh;
width: 70vw;
height: 80vh;
}

.Goals{
Expand Down Expand Up @@ -609,9 +619,3 @@ nav .nav_buttons{
right: 35%;
}

.image_container{
width: 100%;
display: grid;
grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
padding: 20px;
}

0 comments on commit 0d6907f

Please sign in to comment.