Skip to content

Commit

Permalink
Merge pull request #134 from rko0211/responsive
Browse files Browse the repository at this point in the history
Make The Website Responsive
  • Loading branch information
5h0ov authored Jan 16, 2024
2 parents 0e082e6 + 334fcc7 commit 31140c5
Showing 1 changed file with 66 additions and 44 deletions.
110 changes: 66 additions & 44 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ header {
right: 0px;
height: 60%;
top: 8vh;
background-color: rgba(17,17,17,1);
background-color: rgba(17, 17, 17, 1);
filter: opacity(0.8);
backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, .2);
Expand Down Expand Up @@ -405,7 +405,7 @@ section {
}

.stats-area {
height: 100vh;
/* height: 100vh; */
width: 100%;
background: rgb(56, 209, 255);
background: linear-gradient(0deg, rgba(56, 209, 255, 1) 0%, rgba(255, 255, 255, 0) 90%);
Expand Down Expand Up @@ -477,7 +477,7 @@ section {
}

.stats-table {
height: 60%;
/* height: 60%; */
display: flex;
flex-wrap: wrap;
justify-content: space-between;
Expand All @@ -486,6 +486,7 @@ section {
flex-direction: column;
width: 100%;
font-family: 'El Messiri', sans-serif;
gap: 30px;
}

.stats-table .card {
Expand Down Expand Up @@ -558,6 +559,7 @@ iframe {

img {
padding: 10px;
vertical-align: middle;
}

section h5 {
Expand Down Expand Up @@ -1209,18 +1211,36 @@ footer a {
}
}

::-webkit-scrollbar{
@media (max-width: 745px) {
#stats-messi-image2 {
display: unset;
right: 0;
height: inherit;
/* width: fit-content; */
/* padding-right: 0; */
}

.extra-info {
display: flex;
justify-content: center;
align-items: center;
/* width: 100%; */
/* height: 40%; */
}
}

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track{
::-webkit-scrollbar-track {
/* background: linear-gradient(#7ab6e0,#7ab6e0,#7ab6e0,#ffffff, #edbb00 #ffffff,#7ab6e0,#7ab6e0, #7ab6e0); */
background: linear-gradient(#7ab6e0,#7ab6e0,#ffffff,#7ab6e0, #7ab6e0);
background: linear-gradient(#7ab6e0, #7ab6e0, #ffffff, #7ab6e0, #7ab6e0);
border-radius: -20px;
}

::-webkit-scrollbar-thumb{
background: linear-gradient(#7ab6e0,#7ab6e0,#ffffff,#7ab6e0, #7ab6e0);
::-webkit-scrollbar-thumb {
background: linear-gradient(#7ab6e0, #7ab6e0, #ffffff, #7ab6e0, #7ab6e0);
border-radius: 20px;
border: 2px solid #000;
}
Expand Down Expand Up @@ -1330,27 +1350,28 @@ footer a {
}

.extra-info {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 50% 50%;
width: 100%;
height: 40%;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
z-index: 1;
font-family: 'Righteous', 'sans-serif';
}

.extra-info a {
height: 80%;
/* height: 80%; */
width: 100%;
}

.extra-info img {
width: auto;
height: 100%;
/* height: 100%; */
}

.extra-info a:nth-of-type(2) {
grid-area: 1/2/3/3;
/* .extra-info a:nth-of-type(2) {
height: 80%;
}
} */

.stats-table .card {
height: 10%;
Expand All @@ -1374,7 +1395,7 @@ footer a {
display: unset;
right: 0;
height: inherit;
width: fit-content;
/* width: fit-content; */
padding-right: 0;
}

Expand Down Expand Up @@ -1469,9 +1490,9 @@ footer a {
height: auto;
}

.video-area {
/* min-height: 60vh; */
}
/* .video-area {
min-height: 60vh;
} */

.carousel-cell {
width: 80%;
Expand Down Expand Up @@ -1523,81 +1544,82 @@ footer a {
text-align: left;
}

.c-1{
.c-1 {
width: 80vw;
display: flex;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
margin-top: 5vw;
margin-bottom: 5vw;
margin-left:auto;
margin-left: auto;
margin-right: auto;

}

.card_ani1 {
transition: ease-in-out 800ms;
background-size: contain;
background-repeat: no-repeat;
width: 22vw;
height: 22vw;
min-width:200px;
min-height:200px;
min-width: 200px;
min-height: 200px;
border-radius: 50%;
}

.card_ani1:hover{
scale:1.2;
.card_ani1:hover {
scale: 1.2;
transition: ease-in-out 800ms;
}

#c-1{
#c-1 {
background-image: url("Image/c1_1.png");

}

#c-1:hover{
#c-1:hover {

background-image: url("Image/c1_2.png");
}


#c-2{
#c-2 {
background-image: url("Image/c2_1.png");

}

#c-2:hover{
#c-2:hover {

background-image: url("Image/c2_2.png");
}

#myDiv{
#myDiv {
background-image: url("Image/im2.png");
width: 22vw;
min-width:100px;
min-width: 100px;
height: 22vw;
min-height: 100px;
min-width:200px;
min-height:200px;
min-width: 200px;
min-height: 200px;
background-size: contain;
background-repeat: no-repeat;
/* background-color: red; */
}

.more_img{
width:300px;
.more_img {
width: 300px;
height: 200px;
background-size: cover;
/* background: blue; */
}

#wim-text{
#wim-text {
margin-top: 10px;
font-weight: bold;
}

.wim-text2{
.wim-text2 {
font-size: min(4vw, 4vh);
}

Expand Down

0 comments on commit 31140c5

Please sign in to comment.