TIMBOVILL commited on
Commit
94df80a
1 Parent(s): 570d8a8

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +55 -8
styles.css CHANGED
@@ -6,16 +6,19 @@ body {
6
  justify-content: center;
7
  align-items: center;
8
  height: 100vh;
9
- background-color: #f0f0f0;
 
10
  }
11
 
12
  #app {
13
- width: 80%;
14
  max-width: 800px;
15
- background: white;
16
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
17
  border-radius: 8px;
18
  overflow: hidden;
 
 
 
19
  }
20
 
21
  header {
@@ -25,14 +28,52 @@ header {
25
  text-align: center;
26
  }
27
 
28
- .list-item {
 
 
29
  padding: 1rem;
30
- border-bottom: 1px solid #e0e0e0;
 
 
 
 
 
 
 
 
 
 
 
 
31
  cursor: pointer;
 
 
 
 
 
32
  }
33
 
34
- .list-item:hover {
35
- background-color: #f9f9f9;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
 
38
  .detail-view {
@@ -56,4 +97,10 @@ button {
56
 
57
  button:hover {
58
  background-color: #005bb5;
 
 
 
 
 
 
59
  }
 
6
  justify-content: center;
7
  align-items: center;
8
  height: 100vh;
9
+ background-color: #1e1e1e;
10
+ color: white;
11
  }
12
 
13
  #app {
14
+ width: 90%;
15
  max-width: 800px;
16
+ background: #2c2c2c;
 
17
  border-radius: 8px;
18
  overflow: hidden;
19
+ display: flex;
20
+ flex-direction: column;
21
+ height: 100vh;
22
  }
23
 
24
  header {
 
28
  text-align: center;
29
  }
30
 
31
+ main {
32
+ flex: 1;
33
+ overflow-y: auto;
34
  padding: 1rem;
35
+ display: grid;
36
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
37
+ gap: 1rem;
38
+ }
39
+
40
+ .grid-item {
41
+ padding: 1rem;
42
+ border-radius: 8px;
43
+ display: flex;
44
+ flex-direction: column;
45
+ align-items: center;
46
+ justify-content: center;
47
+ text-align: center;
48
  cursor: pointer;
49
+ background: linear-gradient(135deg, #ff6b6b, #f06595);
50
+ }
51
+
52
+ .grid-item:nth-child(2n) {
53
+ background: linear-gradient(135deg, #51cf66, #20c997);
54
  }
55
 
56
+ .grid-item:nth-child(3n) {
57
+ background: linear-gradient(135deg, #339af0, #5c7cfa);
58
+ }
59
+
60
+ .grid-item:nth-child(4n) {
61
+ background: linear-gradient(135deg, #fcc419, #fab005);
62
+ }
63
+
64
+ .grid-item:hover {
65
+ opacity: 0.9;
66
+ }
67
+
68
+ .grid-item img {
69
+ width: 50px;
70
+ height: 50px;
71
+ margin-bottom: 1rem;
72
+ }
73
+
74
+ .grid-item h2 {
75
+ font-size: 1.25rem;
76
+ margin: 0;
77
  }
78
 
79
  .detail-view {
 
97
 
98
  button:hover {
99
  background-color: #005bb5;
100
+ }
101
+
102
+ footer {
103
+ background: #333;
104
+ padding: 1rem;
105
+ text-align: center;
106
  }