Update styles.css
Browse files- styles.css +10 -27
styles.css
CHANGED
@@ -2,19 +2,20 @@ body {
|
|
2 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
-
background-color: #1e1e1e;
|
6 |
-
color: white;
|
7 |
display: flex;
|
8 |
justify-content: center;
|
9 |
align-items: center;
|
10 |
height: 100vh;
|
11 |
-
|
|
|
12 |
}
|
13 |
|
14 |
#app {
|
15 |
width: 100%;
|
16 |
max-width: 800px;
|
17 |
-
background: #
|
|
|
|
|
18 |
display: flex;
|
19 |
flex-direction: column;
|
20 |
height: 100vh;
|
@@ -25,7 +26,7 @@ header {
|
|
25 |
color: white;
|
26 |
padding: 1rem;
|
27 |
text-align: center;
|
28 |
-
border-bottom: 1px solid #
|
29 |
}
|
30 |
|
31 |
main {
|
@@ -46,12 +47,7 @@ main {
|
|
46 |
justify-content: center;
|
47 |
text-align: center;
|
48 |
cursor: pointer;
|
49 |
-
background:
|
50 |
-
transition: transform 0.3s;
|
51 |
-
}
|
52 |
-
|
53 |
-
.grid-item:hover {
|
54 |
-
transform: scale(1.05);
|
55 |
}
|
56 |
|
57 |
.grid-item img {
|
@@ -61,28 +57,15 @@ main {
|
|
61 |
}
|
62 |
|
63 |
.grid-item h2 {
|
64 |
-
font-size:
|
65 |
margin: 0;
|
66 |
}
|
67 |
|
68 |
-
.hidden {
|
69 |
-
display: none;
|
70 |
-
}
|
71 |
-
|
72 |
-
.detail-view {
|
73 |
-
padding: 1rem;
|
74 |
-
}
|
75 |
-
|
76 |
-
.detail-view img {
|
77 |
-
width: 100%;
|
78 |
-
margin-bottom: 1rem;
|
79 |
-
}
|
80 |
-
|
81 |
footer {
|
82 |
-
background: #
|
83 |
padding: 1rem;
|
84 |
text-align: center;
|
85 |
-
border-top: 1px solid #
|
86 |
}
|
87 |
|
88 |
button {
|
|
|
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: #1e1e1e;
|
10 |
+
color: white;
|
11 |
}
|
12 |
|
13 |
#app {
|
14 |
width: 100%;
|
15 |
max-width: 800px;
|
16 |
+
background: #2c2c2c;
|
17 |
+
border-radius: 8px;
|
18 |
+
overflow: hidden;
|
19 |
display: flex;
|
20 |
flex-direction: column;
|
21 |
height: 100vh;
|
|
|
26 |
color: white;
|
27 |
padding: 1rem;
|
28 |
text-align: center;
|
29 |
+
border-bottom: 1px solid #444;
|
30 |
}
|
31 |
|
32 |
main {
|
|
|
47 |
justify-content: center;
|
48 |
text-align: center;
|
49 |
cursor: pointer;
|
50 |
+
background: var(--gradient);
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
|
53 |
.grid-item img {
|
|
|
57 |
}
|
58 |
|
59 |
.grid-item h2 {
|
60 |
+
font-size: 1.25rem;
|
61 |
margin: 0;
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
footer {
|
65 |
+
background: #333;
|
66 |
padding: 1rem;
|
67 |
text-align: center;
|
68 |
+
border-top: 1px solid #444;
|
69 |
}
|
70 |
|
71 |
button {
|