Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0008e1a
1
Parent(s):
2985a49
Updated font colors in style.css
Browse files
style.css
CHANGED
@@ -1,33 +1,43 @@
|
|
1 |
:root {
|
2 |
--title-font-size: clamp(1.5rem, 6vw, 3rem);
|
3 |
--subtitle-font-size: clamp(1rem, 2vw, 1.2rem);
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
h1 {
|
7 |
text-align: center;
|
8 |
font-size: var(--title-font-size);
|
9 |
display: block;
|
10 |
-
color:
|
11 |
}
|
12 |
|
13 |
h2 {
|
14 |
text-align: center;
|
15 |
font-size: 2rem;
|
16 |
display: block;
|
17 |
-
color:
|
18 |
}
|
19 |
|
20 |
p {
|
21 |
-
color:
|
22 |
}
|
23 |
|
24 |
#duplicate-button {
|
25 |
display: block;
|
26 |
margin: 1rem auto;
|
27 |
color: #fff;
|
28 |
-
background:
|
29 |
border-radius: 100vh;
|
30 |
padding: 0.5rem 1rem;
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
#component-0 {
|
@@ -50,14 +60,14 @@ p {
|
|
50 |
|
51 |
#title {
|
52 |
font-size: var(--title-font-size);
|
53 |
-
color:
|
54 |
font-family: 'Helvetica Neue', sans-serif;
|
55 |
text-transform: uppercase;
|
56 |
background: transparent;
|
57 |
}
|
58 |
|
59 |
#title span {
|
60 |
-
background: linear-gradient(45deg,
|
61 |
background-clip: text;
|
62 |
color: transparent;
|
63 |
}
|
@@ -66,33 +76,54 @@ p {
|
|
66 |
text-align: center;
|
67 |
font-size: var(--subtitle-font-size);
|
68 |
margin-top: 1rem;
|
69 |
-
color:
|
70 |
}
|
71 |
|
72 |
-
/* Additional text elements
|
73 |
label {
|
74 |
-
color:
|
75 |
}
|
76 |
|
77 |
input, textarea {
|
78 |
-
color:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
button {
|
82 |
color: #fff;
|
83 |
-
background:
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
|
86 |
/* Links styling */
|
87 |
a {
|
88 |
-
color:
|
|
|
|
|
89 |
}
|
90 |
|
91 |
a:hover {
|
92 |
-
color:
|
93 |
}
|
94 |
|
95 |
/* List items styling */
|
96 |
li {
|
97 |
-
color:
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
|
|
1 |
:root {
|
2 |
--title-font-size: clamp(1.5rem, 6vw, 3rem);
|
3 |
--subtitle-font-size: clamp(1rem, 2vw, 1.2rem);
|
4 |
+
--primary-color: #8B4049; /* Soft burgundy */
|
5 |
+
--secondary-color: #A67F8E; /* Muted mauve */
|
6 |
+
--accent-color: #D4A5A5; /* Soft rose */
|
7 |
+
--text-color: #6D4E4E; /* Muted brown */
|
8 |
+
--light-accent: #E8C5C5; /* Light rose */
|
9 |
}
|
10 |
|
11 |
h1 {
|
12 |
text-align: center;
|
13 |
font-size: var(--title-font-size);
|
14 |
display: block;
|
15 |
+
color: var(--primary-color);
|
16 |
}
|
17 |
|
18 |
h2 {
|
19 |
text-align: center;
|
20 |
font-size: 2rem;
|
21 |
display: block;
|
22 |
+
color: var(--secondary-color);
|
23 |
}
|
24 |
|
25 |
p {
|
26 |
+
color: var(--text-color);
|
27 |
}
|
28 |
|
29 |
#duplicate-button {
|
30 |
display: block;
|
31 |
margin: 1rem auto;
|
32 |
color: #fff;
|
33 |
+
background: var(--primary-color);
|
34 |
border-radius: 100vh;
|
35 |
padding: 0.5rem 1rem;
|
36 |
+
transition: background-color 0.3s ease;
|
37 |
+
}
|
38 |
+
|
39 |
+
#duplicate-button:hover {
|
40 |
+
background: var(--secondary-color);
|
41 |
}
|
42 |
|
43 |
#component-0 {
|
|
|
60 |
|
61 |
#title {
|
62 |
font-size: var(--title-font-size);
|
63 |
+
color: var(--primary-color);
|
64 |
font-family: 'Helvetica Neue', sans-serif;
|
65 |
text-transform: uppercase;
|
66 |
background: transparent;
|
67 |
}
|
68 |
|
69 |
#title span {
|
70 |
+
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
|
71 |
background-clip: text;
|
72 |
color: transparent;
|
73 |
}
|
|
|
76 |
text-align: center;
|
77 |
font-size: var(--subtitle-font-size);
|
78 |
margin-top: 1rem;
|
79 |
+
color: var(--secondary-color);
|
80 |
}
|
81 |
|
82 |
+
/* Additional text elements styling */
|
83 |
label {
|
84 |
+
color: var(--text-color);
|
85 |
}
|
86 |
|
87 |
input, textarea {
|
88 |
+
color: var(--text-color);
|
89 |
+
border: 1px solid var(--accent-color);
|
90 |
+
background-color: rgba(255, 255, 255, 0.9);
|
91 |
+
}
|
92 |
+
|
93 |
+
input:focus, textarea:focus {
|
94 |
+
border-color: var(--primary-color);
|
95 |
+
outline: none;
|
96 |
+
box-shadow: 0 0 5px var(--light-accent);
|
97 |
}
|
98 |
|
99 |
button {
|
100 |
color: #fff;
|
101 |
+
background: var(--primary-color);
|
102 |
+
transition: background-color 0.3s ease;
|
103 |
+
}
|
104 |
+
|
105 |
+
button:hover {
|
106 |
+
background: var(--secondary-color);
|
107 |
}
|
108 |
|
109 |
/* Links styling */
|
110 |
a {
|
111 |
+
color: var(--primary-color);
|
112 |
+
text-decoration: none;
|
113 |
+
transition: color 0.3s ease;
|
114 |
}
|
115 |
|
116 |
a:hover {
|
117 |
+
color: var(--secondary-color);
|
118 |
}
|
119 |
|
120 |
/* List items styling */
|
121 |
li {
|
122 |
+
color: var(--text-color);
|
123 |
+
}
|
124 |
+
|
125 |
+
/* Selection styling */
|
126 |
+
::selection {
|
127 |
+
background: var(--light-accent);
|
128 |
+
color: var(--primary-color);
|
129 |
}
|