|
5 | 5 | * |
6 | 6 | * Made By MaterializeCSS.com |
7 | 7 | */ |
| 8 | +:root { |
| 9 | + --common-size: calc(0.8vw + 1rem); |
| 10 | +} |
8 | 11 |
|
9 | 12 | h1 { |
10 | | - font-size: clamp( 36px, calc(2vw + 1rem), 64px ); |
| 13 | + font-size: clamp(36px, var(--common-size), 64px); |
11 | 14 | } |
12 | 15 |
|
13 | 16 | h2 { |
14 | | - font-size: clamp( 24px, calc(1.66vw + 1rem), 50px ); |
| 17 | + font-size: clamp(24px, var(--common-size), 50px); |
15 | 18 | } |
16 | 19 |
|
17 | | -h3 { |
18 | | - font-size: clamp( 20px, calc(0.8vw + 1rem), 42px ); |
| 20 | +h3, |
| 21 | +h4, |
| 22 | +h5, |
| 23 | +h6 { |
| 24 | + font-size: clamp(18px, var(--common-size), 36px); |
19 | 25 | } |
20 | 26 |
|
21 | | -h4 { |
22 | | - font-size: clamp( 18px, calc(0.8vw + 1rem), 36px ); |
| 27 | +/* Estilize as informações do palestrante */ |
| 28 | +.speaker-info { |
| 29 | + text-align: center; |
23 | 30 | } |
24 | 31 |
|
25 | | -h5 { |
26 | | - font-size: clamp( 12px, calc(0.5vw + 0.5rem), 24px ); |
| 32 | +.speaker-name { |
| 33 | + font-size: 18px; |
| 34 | + font-weight: bold; |
| 35 | + background-color: #795548; |
| 36 | + color: #FFF; |
| 37 | + border-radius: 5px; |
| 38 | + border: #795548 solid 5px; |
| 39 | + margin-bottom: 5px; /* Adicione margem inferior para separar o nome da cidade */ |
| 40 | + line-height: 1.2; |
27 | 41 | } |
28 | 42 |
|
29 | | -h6 { |
30 | | - font-size: clamp( 12px, calc(0.4vw + 1rem), 20px ); |
| 43 | +.speaker-location { |
| 44 | + font-size: 14px; |
| 45 | + margin-top: 0; /* Redefina a margem superior para remover qualquer espaço extra */ |
| 46 | + line-height: 1; |
| 47 | +} |
| 48 | + |
| 49 | +/* Adicione media queries conforme necessário para ajustar o layout em dispositivos menores */ |
| 50 | +@media (max-width: 768px) { |
| 51 | + .speaker-info { |
| 52 | + text-align: left; |
| 53 | + } |
| 54 | + |
| 55 | + .speaker-name { |
| 56 | + font-size: 16px; |
| 57 | + } |
| 58 | + |
| 59 | + .speaker-location { |
| 60 | + font-size: 12px; |
| 61 | + } |
31 | 62 | } |
32 | 63 |
|
33 | 64 | nav ul a, |
|
0 commit comments