|
1 | 1 | :root{ |
2 | | - |
3 | 2 | --shadow-color: var(--background-color2); |
4 | 3 | --border-color: var(--background-color2); |
5 | 4 | } |
6 | 5 |
|
7 | | - |
8 | | - |
9 | 6 | /* Colores en variables + dark mode */ |
10 | 7 | html { |
11 | | - --light-text-color: rgb(72, 72, 74); |
12 | | - --link-color: rgb(0, 112, 201); |
13 | | - --background-color: rgb(255, 255, 255); |
14 | | - --main-text-color: rgb(51, 51, 51); |
15 | | - --background-color2: rgb(255, 255, 255); |
16 | | - --background-color3 : #fff; |
17 | | - --logo: #231f20; |
| 8 | + --light-text-color: rgb(72, 72, 74); |
| 9 | + --link-color: rgb(0, 112, 201); |
| 10 | + --background-color: rgb(255, 255, 255); |
| 11 | + --main-text-color: rgb(51, 51, 51); |
| 12 | + --background-color2: rgb(255, 255, 255); |
| 13 | + --background-color3 : #fff; |
| 14 | + --logo: #231f20; |
| 15 | + --site-logo-url: url("/static/img/comcom/logo-horizontal.min.svg"); |
| 16 | + --taller-logo-url: url("/static/img/comcom/logo.min.svg"); |
18 | 17 | } |
19 | 18 |
|
20 | 19 |
|
21 | 20 |
|
22 | 21 | @media (prefers-color-scheme: dark) { |
23 | | - html { |
24 | | - --light-text-color: rgb(199, 199, 204); |
25 | | - --link-color: rgb(100, 210, 255); |
26 | | - --background-color: rgb(28, 28, 30); |
27 | | - --background-color2: rgb(15, 15, 20); |
28 | | - --main-text-color: rgb(229, 229, 234); |
29 | | - --background-color3: #b4b4b4; |
30 | | - --logo: #b4b4b4; |
31 | | - } |
| 22 | + html { |
| 23 | + --light-text-color: rgb(199, 199, 204); |
| 24 | + --link-color: rgb(100, 210, 255); |
| 25 | + --background-color: rgb(28, 28, 30); |
| 26 | + --background-color2: rgb(15, 15, 20); |
| 27 | + --main-text-color: rgb(229, 229, 234); |
| 28 | + --background-color3: #b4b4b4; |
| 29 | + --logo: #b4b4b4; |
| 30 | + --site-logo-url: url("/static/img/mocmoc/logo-horizontal.min.svg"); |
| 31 | + --taller-logo-url: url("/static/img/mocmoc/logo.min.svg"); |
| 32 | + } |
32 | 33 | } |
33 | 34 |
|
34 | 35 | /** Reset some basic elements */ |
@@ -324,3 +325,23 @@ footer { |
324 | 325 | .gallery a:hover { |
325 | 326 | box-shadow: 2px 2px 2px 0 var(--shadow-color); |
326 | 327 | } |
| 328 | + |
| 329 | +.site-header-logo { |
| 330 | + background-image: var(--site-logo-url); |
| 331 | + background-repeat: no-repeat; |
| 332 | + background-size: contain; |
| 333 | + background-position: center; |
| 334 | + display: inline-block; |
| 335 | + width: 270px; |
| 336 | + height: 50px; |
| 337 | +} |
| 338 | + |
| 339 | +.taller-header-logo { |
| 340 | + background-image: var(--taller-logo-url); |
| 341 | + background-repeat: no-repeat; |
| 342 | + background-size: contain; |
| 343 | + background-position: center; |
| 344 | + display: inline-block; |
| 345 | + width: 70px; |
| 346 | + height: 50px; |
| 347 | +} |
0 commit comments