STRIPEDDONKEY commited on
Commit
781048c
·
verified ·
1 Parent(s): 31cfd9e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +18 -10
index.html CHANGED
@@ -15,16 +15,24 @@
15
  h1 { margin-bottom: 8px; }
16
  .tagline { font-size: 1.25rem; margin-bottom: 28px; }
17
  .grid {
18
- display: grid;
19
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
20
- gap: 18px;
21
- margin-top: 28px;
22
- }
23
- .card {
24
- border: 1px solid #ddd;
25
- border-radius: 12px;
26
- padding: 18px;
27
- }
 
 
 
 
 
 
 
 
28
  a { text-decoration: none; }
29
  </style>
30
  </head>
 
15
  h1 { margin-bottom: 8px; }
16
  .tagline { font-size: 1.25rem; margin-bottom: 28px; }
17
  .grid {
18
+ .grid {
19
+ display: grid;
20
+ grid-template-columns: repeat(4, 1fr);
21
+ gap: 18px;
22
+ margin-top: 28px;
23
+ }
24
+
25
+ @media (max-width: 900px) {
26
+ .grid {
27
+ grid-template-columns: repeat(2, 1fr);
28
+ }
29
+ }
30
+
31
+ @media (max-width: 600px) {
32
+ .grid {
33
+ grid-template-columns: 1fr;
34
+ }
35
+ }
36
  a { text-decoration: none; }
37
  </style>
38
  </head>