|
3 | 3 | --primary-color: #eee;
|
4 | 4 | }
|
5 | 5 |
|
6 |
| -[data-theme] { |
| 6 | +[data-theme="dark"] { |
7 | 7 | --background-color: #121212;
|
8 | 8 | --primary-color: #eee;
|
9 | 9 | }
|
|
84 | 84 | border: 3px solid transparent;
|
85 | 85 | }
|
86 | 86 |
|
87 |
| -[data-theme] .phalcon-blog, |
88 |
| -[data-theme] body, |
89 |
| -[data-theme] .base-info { |
| 87 | +[data-theme="dark"] .phalcon-blog, |
| 88 | +[data-theme="dark"] body, |
| 89 | +[data-theme="dark"] .base-info { |
90 | 90 | background-color: #1e2129;
|
91 | 91 | }
|
92 | 92 |
|
93 |
| -[data-theme] h1, |
94 |
| -[data-theme] h2, |
95 |
| -[data-theme] h3, |
96 |
| -[data-theme] h4, |
97 |
| -[data-theme] h5, |
98 |
| -[data-theme] h6, |
99 |
| -[data-theme] p , |
100 |
| -[data-theme] ul li, |
101 |
| -[data-theme] ol li, |
102 |
| -[data-theme] .phalcon-blog__title, |
103 |
| -[data-theme] .phalcon-blog__projects-text, |
104 |
| -[data-theme] .phalcon-blog__main-title, |
105 |
| -[data-theme] .header-dropdown li a, |
106 |
| -[data-theme] .tag-button, |
107 |
| -[data-theme] .phalcon-blog-detail table th, |
108 |
| -[data-theme] .phalcon-blog-detail table td, |
109 |
| -[data-theme] .base-info-descr__first, |
110 |
| -[data-theme] .base-info-descr__second, |
111 |
| -[data-theme] .watch-demo__title, |
112 |
| -[data-theme] .watch-demo__descr, |
113 |
| -[data-theme] .join__title, |
114 |
| -[data-theme] .join__descr, |
115 |
| -[data-theme] .contributors__top, |
116 |
| -[data-theme] .feature__title, |
117 |
| -[data-theme] .feature__descr, |
118 |
| -[data-theme] .buildwith-nav__list a, |
119 |
| -[data-theme] .features-nav__list li { |
| 93 | +[data-theme="dark"] h1, |
| 94 | +[data-theme="dark"] h2, |
| 95 | +[data-theme="dark"] h3, |
| 96 | +[data-theme="dark"] h4, |
| 97 | +[data-theme="dark"] h5, |
| 98 | +[data-theme="dark"] h6, |
| 99 | +[data-theme="dark"] p , |
| 100 | +[data-theme="dark"] ul li, |
| 101 | +[data-theme="dark"] ol li, |
| 102 | +[data-theme="dark"] .phalcon-blog__title, |
| 103 | +[data-theme="dark"] .phalcon-blog__projects-text, |
| 104 | +[data-theme="dark"] .phalcon-blog__main-title, |
| 105 | +[data-theme="dark"] .header-dropdown li a, |
| 106 | +[data-theme="dark"] .tag-button, |
| 107 | +[data-theme="dark"] .phalcon-blog-detail table th, |
| 108 | +[data-theme="dark"] .phalcon-blog-detail table td, |
| 109 | +[data-theme="dark"] .base-info-descr__first, |
| 110 | +[data-theme="dark"] .base-info-descr__second, |
| 111 | +[data-theme="dark"] .watch-demo__title, |
| 112 | +[data-theme="dark"] .watch-demo__descr, |
| 113 | +[data-theme="dark"] .join__title, |
| 114 | +[data-theme="dark"] .join__descr, |
| 115 | +[data-theme="dark"] .contributors__top, |
| 116 | +[data-theme="dark"] .feature__title, |
| 117 | +[data-theme="dark"] .feature__descr, |
| 118 | +[data-theme="dark"] .buildwith-nav__list a, |
| 119 | +[data-theme="dark"] .features-nav__list li { |
120 | 120 | color: #e2e4e9d1;
|
121 | 121 | }
|
122 | 122 |
|
123 |
| -[data-theme] .phalcon-blog a, |
124 |
| -[data-theme] main a { |
| 123 | +[data-theme="dark"] .phalcon-blog a, |
| 124 | +[data-theme="dark"] main a { |
125 | 125 | color: #00bda4;
|
126 | 126 | }
|
127 | 127 |
|
128 |
| -[data-theme] .phalcon-blog__sponsors-item, |
129 |
| -[data-theme] .sponsors__item { |
| 128 | +[data-theme="dark"] .phalcon-blog__sponsors-item, |
| 129 | +[data-theme="dark"] .sponsors__item { |
130 | 130 | background-color: #ffffffb3;
|
131 | 131 | }
|
132 | 132 |
|
133 |
| -[data-theme] .footer { |
| 133 | +[data-theme="dark"] .footer { |
134 | 134 | background-color: #17191e;
|
135 | 135 | }
|
136 | 136 |
|
137 |
| -[data-theme] .footer__license, |
138 |
| -[data-theme] .footer__supported span, |
139 |
| -[data-theme] .footer-nav li a, |
140 |
| -[data-theme] .previous, |
141 |
| -[data-theme] .page_number, |
142 |
| -[data-theme] .next, |
143 |
| -[data-theme] .green-button, |
144 |
| -[data-theme] .features-nav__list li.active, |
145 |
| -[data-theme] .info .buildwith-nav__list li.active a, |
146 |
| -[data-theme] .header-nav--mobile a, |
147 |
| -[data-theme] .alert-warning, |
148 |
| -[data-theme] .info blockquote cite, |
149 |
| -[data-theme] .features-accordion__trigger { |
| 137 | +[data-theme="dark"] .footer__license, |
| 138 | +[data-theme="dark"] .footer__supported span, |
| 139 | +[data-theme="dark"] .footer-nav li a, |
| 140 | +[data-theme="dark"] .previous, |
| 141 | +[data-theme="dark"] .page_number, |
| 142 | +[data-theme="dark"] .next, |
| 143 | +[data-theme="dark"] .green-button, |
| 144 | +[data-theme="dark"] .features-nav__list li.active, |
| 145 | +[data-theme="dark"] .info .buildwith-nav__list li.active a, |
| 146 | +[data-theme="dark"] .header-nav--mobile a, |
| 147 | +[data-theme="dark"] .alert-warning, |
| 148 | +[data-theme="dark"] .info blockquote cite, |
| 149 | +[data-theme="dark"] .features-accordion__trigger { |
150 | 150 | color: #ffffff;
|
151 | 151 | }
|
152 | 152 |
|
153 |
| -[data-theme] .footer__supported-logo svg, |
154 |
| -[data-theme] .footer__supported-logo svg path { |
| 153 | +[data-theme="dark"] .footer__supported-logo svg, |
| 154 | +[data-theme="dark"] .footer__supported-logo svg path { |
155 | 155 | stroke: #ffffff;
|
156 | 156 | }
|
157 | 157 |
|
158 |
| -[data-theme] .phalcon-blog__sponsors-item:hover, |
159 |
| -[data-theme] .header-dropdown li a:hover { |
| 158 | +[data-theme="dark"] .phalcon-blog__sponsors-item:hover, |
| 159 | +[data-theme="dark"] .header-dropdown li a:hover { |
160 | 160 | border-color: #00bda4;
|
161 | 161 | }
|
162 | 162 |
|
163 |
| -[data-theme] .phalcon-blog__sponsors-item span { |
| 163 | +[data-theme="dark"] .phalcon-blog__sponsors-item span { |
164 | 164 | color: #000000;
|
165 | 165 | }
|
166 | 166 |
|
167 |
| -[data-theme] .header-dropdown--eco { |
| 167 | +[data-theme="dark"] .header-dropdown--eco { |
168 | 168 | background-color: #1e2129;
|
169 | 169 | border-color: #1e2129;
|
170 | 170 | }
|
171 | 171 |
|
172 |
| -[data-theme] .header-nav>li a, |
173 |
| -[data-theme] .footer-nav li a { |
| 172 | +[data-theme="dark"] .header-nav>li a, |
| 173 | +[data-theme="dark"] .footer-nav li a { |
174 | 174 | opacity: 0.7;
|
175 | 175 | }
|
176 | 176 |
|
177 |
| -[data-theme] .header a:hover, |
178 |
| -[data-theme] .header-nav>li.active>a, |
179 |
| -[data-theme] .header-nav>li:hover>a, |
180 |
| -[data-theme] .header-dropdown li a:hover, |
181 |
| -[data-theme] .footer-nav li a:hover { |
| 177 | +[data-theme="dark"] .header a:hover, |
| 178 | +[data-theme="dark"] .header-nav>li.active>a, |
| 179 | +[data-theme="dark"] .header-nav>li:hover>a, |
| 180 | +[data-theme="dark"] .header-dropdown li a:hover, |
| 181 | +[data-theme="dark"] .footer-nav li a:hover { |
182 | 182 | opacity: 1;
|
183 | 183 | color: #ffffff;
|
184 | 184 | }
|
185 | 185 |
|
186 |
| -[data-theme] .light-dark-auto-button:hover { |
| 186 | +[data-theme="dark"] .light-dark-auto-button:hover { |
187 | 187 | color: #00bda4 !important;
|
188 | 188 | }
|
189 | 189 |
|
190 |
| -[data-theme] .phalcon-blog__item-date, |
191 |
| -[data-theme] .phalcon-blog__item-author { |
| 190 | +[data-theme="dark"] .phalcon-blog__item-date, |
| 191 | +[data-theme="dark"] .phalcon-blog__item-author { |
192 | 192 | color: #bfbfbfd1;
|
193 | 193 | }
|
194 | 194 |
|
195 |
| -[data-theme] .phalcon-blog__tags-item span:first-child { |
| 195 | +[data-theme="dark"] .phalcon-blog__tags-item span:first-child { |
196 | 196 | color: #e2e4e98f;
|
197 | 197 | }
|
198 | 198 |
|
199 |
| -[data-theme] .phalcon-blog__right .phalcon-blog__tags-items .phalcon-blog__tags-item { |
| 199 | +[data-theme="dark"] .phalcon-blog__right .phalcon-blog__tags-items .phalcon-blog__tags-item { |
200 | 200 | border-color: #385b56;
|
201 | 201 | }
|
202 | 202 |
|
203 |
| -[data-theme] .phalcon-blog-detail table td { |
| 203 | +[data-theme="dark"] .phalcon-blog-detail table td { |
204 | 204 | border-color: #e2e4e9d1;
|
205 | 205 | }
|
206 | 206 |
|
207 |
| -[data-theme] .buildwith-nav__list li.active hr, |
208 |
| -[data-theme] .features-nav__list li.active hr{ |
| 207 | +[data-theme="dark"] .buildwith-nav__list li.active hr, |
| 208 | +[data-theme="dark"] .features-nav__list li.active hr{ |
209 | 209 | background-color: #ffffff;
|
210 | 210 | }
|
211 | 211 |
|
212 |
| -[data-theme] .buildwith-nav__list li.active:hover hr, |
213 |
| -[data-theme] .features-nav__list li:hover hr, |
214 |
| -[data-theme] .buildwith-nav__list li:hover hr { |
| 212 | +[data-theme="dark"] .buildwith-nav__list li.active:hover hr, |
| 213 | +[data-theme="dark"] .features-nav__list li:hover hr, |
| 214 | +[data-theme="dark"] .buildwith-nav__list li:hover hr { |
215 | 215 | background-color: #ffffff;
|
216 | 216 | }
|
217 | 217 |
|
218 |
| -[data-theme] .info .buildwith-nav__list li:hover a, |
219 |
| -[data-theme] .features-nav__list li span:hover { |
| 218 | +[data-theme="dark"] .info .buildwith-nav__list li:hover a, |
| 219 | +[data-theme="dark"] .features-nav__list li span:hover { |
220 | 220 | color: #ffffff;
|
221 | 221 | }
|
222 | 222 |
|
223 |
| -[data-theme] .header-dropdown--lang { |
| 223 | +[data-theme="dark"] .header-dropdown--lang { |
224 | 224 | background-color: #1e2129;
|
225 | 225 | border-color: #1e2129;
|
226 | 226 | }
|
227 | 227 |
|
228 |
| -[data-theme] .info-block__img img { |
| 228 | +[data-theme="dark"] .info-block__img img { |
229 | 229 | background-color: #ffffff;
|
230 | 230 | }
|
0 commit comments