neetnestor commited on
Commit
2b16403
1 Parent(s): f41ea1a

style: update style

Browse files
Files changed (1) hide show
  1. style.css +12 -3
style.css CHANGED
@@ -1,12 +1,14 @@
1
  body,
2
  html {
3
  font-family: Arial, sans-serif;
 
 
4
  }
5
 
6
  main {
7
- padding: 10px 20px;
8
  max-width: 48rem;
9
- height: 100dvh;
10
  margin-left: auto;
11
  margin-right: auto;
12
  display: flex;
@@ -129,7 +131,7 @@ button:hover:not(:disabled) {
129
  }
130
 
131
  .card {
132
- background-color: #c3dffc;
133
  padding: 2rem;
134
  border-radius: 1rem;
135
  border: 1px solid #94c6fb;
@@ -157,3 +159,10 @@ button:hover:not(:disabled) {
157
  background-color: #deeeff;
158
  color: rgb(0, 0, 0);
159
  }
 
 
 
 
 
 
 
 
1
  body,
2
  html {
3
  font-family: Arial, sans-serif;
4
+ box-sizing: border-box;
5
+ margin: 0;
6
  }
7
 
8
  main {
9
+ padding: 2rem;
10
  max-width: 48rem;
11
+ height: max(calc(100dvh - 4rem), 800px);
12
  margin-left: auto;
13
  margin-right: auto;
14
  display: flex;
 
131
  }
132
 
133
  .card {
134
+ background-color: #deeeff;
135
  padding: 2rem;
136
  border-radius: 1rem;
137
  border: 1px solid #94c6fb;
 
159
  background-color: #deeeff;
160
  color: rgb(0, 0, 0);
161
  }
162
+
163
+
164
+ @media only screen and (max-width: 600px) {
165
+ .card {
166
+ flex-direction: column;
167
+ }
168
+ }