This commit is contained in:
madarsbiss 2021-09-23 08:42:42 +03:00
parent 26baef62e5
commit 09a4caefa2
10 changed files with 12 additions and 27 deletions

View File

@ -2,12 +2,5 @@
background-color: rgb(247, 247, 247); background-color: rgb(247, 247, 247);
padding: 30px; padding: 30px;
text-align: right; text-align: right;
border-top-right-radius: 30px; border-radius: 30px;
border-bottom-right-radius: 30px;
}
@media only screen and (max-width: 950px) {
.wrapper {
border-radius: 0;
}
} }

View File

@ -1,8 +1,8 @@
.wrapper { .wrapper {
max-width: 260px;
text-align: center;
display: grid; display: grid;
place-items: center; place-items: center;
max-width: 260px;
text-align: center;
} }
.message { .message {

View File

@ -1,5 +1,5 @@
.wrapper { .wrapper {
max-width: 260px;
display: grid; display: grid;
place-items: center; place-items: center;
max-width: 260px;
} }

View File

@ -1,4 +1,5 @@
.wrapper { .wrapper {
text-align: center;
padding: 30px; padding: 30px;
} }

View File

@ -1,7 +1,7 @@
.wrapper { .wrapper {
background: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 20px; padding: 20px;
border-radius: 20px;
} }
.content { .content {

View File

@ -1,6 +1,6 @@
.search { .search {
margin-bottom: 20px;
height: 40px; height: 40px;
margin-bottom: 20px;
border: none; border: none;
padding: 0 10px; padding: 0 10px;
color: #303030; color: #303030;

View File

@ -3,9 +3,9 @@
} }
.switch { .switch {
display: inline;
margin: 0 10px; margin: 0 10px;
cursor: pointer; cursor: pointer;
display: inline;
} }
@media only screen and (max-width: 475px) { @media only screen and (max-width: 475px) {

View File

@ -83,4 +83,3 @@ const App = () => {
export default App; export default App;
// execute // execute
// body display

View File

@ -1,18 +1,16 @@
.wrapper { .wrapper {
display: grid;
grid-template-columns: 1fr 2fr;
max-width: 1200px; max-width: 1200px;
text-align: center;
background: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.95);
box-shadow: 0 8px 32px 0 rgba(83, 89, 179, 0.37); box-shadow: 0 8px 32px 0 rgba(83, 89, 179, 0.37);
backdrop-filter: blur(3px); backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
border-radius: 30px; border-radius: 30px;
display: grid;
grid-template-columns: 1fr 2fr;
} }
@media only screen and (max-width: 950px) { @media only screen and (max-width: 950px) {
.wrapper { .wrapper {
display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;
max-width: 600px; max-width: 600px;
margin: 20px auto; margin: 20px auto;

View File

@ -6,11 +6,11 @@
} }
body { body {
width: 100vw;
height: 100vh;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 100vw;
min-height: 100vh;
background-image: radial-gradient( background-image: radial-gradient(
circle 993px at 0.5% 50.5%, circle 993px at 0.5% 50.5%,
rgba(137, 171, 245, 0.37) 0%, rgba(137, 171, 245, 0.37) 0%,
@ -18,9 +18,3 @@ body {
); );
font-family: "Varela Round", sans-serif; font-family: "Varela Round", sans-serif;
} }
@media only screen and (max-width: 950px) {
body {
display: block;
}
}