TIMBOVILL commited on
Commit
04d9713
1 Parent(s): 393da8f

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +49 -18
style.css CHANGED
@@ -1,28 +1,59 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
3
+ margin: 0;
4
+ padding: 0;
5
+ display: flex;
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 {
22
+ background: #007aff;
23
+ color: white;
24
+ padding: 1rem;
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 {
39
+ padding: 1rem;
40
+ display: none;
41
+ }
42
+
43
+ .detail-view.active {
44
+ display: block;
45
+ }
46
+
47
+ button {
48
+ background-color: #007aff;
49
+ color: white;
50
+ border: none;
51
+ padding: 0.5rem 1rem;
52
+ border-radius: 4px;
53
+ cursor: pointer;
54
+ margin-top: 1rem;
55
+ }
56
+
57
+ button:hover {
58
+ background-color: #005bb5;
59
+ }