Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,59 @@
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 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 |
+
}
|