forecast/styles/Home.module.css
2021-09-21 20:51:32 +03:00

74 lines
1.2 KiB
CSS

.wrapper {
max-width: 1200px;
text-align: center;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 8px 32px 0 rgba(83, 89, 179, 0.37);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
border-radius: 30px;
display: grid;
grid-template-columns: 1fr 2fr;
margin: 0 20px;
}
.wrapperHide {
display: none;
}
.statsWrapper {
background-color: rgb(247, 247, 247);
padding: 30px;
text-align: right;
border-radius: 0 30px 30px 0;
}
.titleAndSearch {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
}
.searchInput {
margin-bottom: 20px;
height: 40px;
border: none;
padding: 0 10px;
color: #303030;
font-size: 20px;
text-align: right;
border-radius: 10px;
font-family: "Varela Round", sans-serif;
font-size: 18px;
}
@media only screen and (max-width: 950px) {
.wrapper {
display: grid;
grid-template-columns: 1fr;
max-width: 600px;
margin: 20px auto;
}
.statsWrapper {
border-radius: 0;
}
}
@media only screen and (max-width: 600px) {
.wrapper {
margin: 0 auto;
border-radius: 0;
}
}
@media only screen and (max-width: 520px) {
.titleAndSearch {
grid-template-columns: 1fr;
place-items: center;
}
.searchInput {
width: 100%;
}
}