broadfield-dev commited on
Commit
6d3200c
·
verified ·
1 Parent(s): 8a41dca

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -3
templates/index.html CHANGED
@@ -16,6 +16,7 @@
16
  text-align: center;
17
  color: #2c3e50;
18
  margin-bottom: 20px;
 
19
  }
20
  .search-container {
21
  text-align: center;
@@ -48,14 +49,13 @@
48
  margin-bottom: 15px;
49
  }
50
  .tiles {
51
- display: flex;
52
- flex-wrap: wrap;
53
  gap: 20px;
54
  justify-content: center;
55
  }
56
  .article-tile {
57
  background-color: white;
58
- width: 300px;
59
  padding: 15px;
60
  border-radius: 8px;
61
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow like screenshot */
 
16
  text-align: center;
17
  color: #2c3e50;
18
  margin-bottom: 20px;
19
+ font-size: 2em;
20
  }
21
  .search-container {
22
  text-align: center;
 
49
  margin-bottom: 15px;
50
  }
51
  .tiles {
52
+ display: grid;
53
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
54
  gap: 20px;
55
  justify-content: center;
56
  }
57
  .article-tile {
58
  background-color: white;
 
59
  padding: 15px;
60
  border-radius: 8px;
61
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow like screenshot */