| 1 |
.hide { |
| 2 |
display: none; |
| 3 |
} |
| 4 |
|
| 5 |
.header { |
| 6 |
margin: 0 0 48px; |
| 7 |
padding: 32px 0; |
| 8 |
text-align: center; |
| 9 |
background: linear-gradient(90deg, #2b8a3e, #e8590c); |
| 10 |
color: #fff; |
| 11 |
font-size: 1.1em; |
| 12 |
} |
| 13 |
|
| 14 |
.header pre { |
| 15 |
background-color: rgba(32, 32, 32, 0.3); |
| 16 |
padding: 8px; |
| 17 |
max-width: 320px; |
| 18 |
margin: 12px auto; |
| 19 |
border-radius: 4px; |
| 20 |
} |
| 21 |
|
| 22 |
h2 { |
| 23 |
text-align: center; |
| 24 |
margin: 32px 0; |
| 25 |
} |
| 26 |
|
| 27 |
.no-wrap { |
| 28 |
white-space: nowrap; |
| 29 |
margin-bottom: 8px; |
| 30 |
overflow: hidden; |
| 31 |
text-overflow: ellipsis; |
| 32 |
} |
| 33 |
|
| 34 |
.flag { |
| 35 |
border-radius: 4px; |
| 36 |
border: 1px solid #dee2e6; |
| 37 |
margin-bottom: 32px; |
| 38 |
padding: 8px; |
| 39 |
} |
| 40 |
|
| 41 |
.flag-country { |
| 42 |
width: 100%; |
| 43 |
border-bottom: 1px solid #e9ecef; |
| 44 |
} |
| 45 |
|
| 46 |
.flag-img { |
| 47 |
width: 100%; |
| 48 |
aspect-ratio: 4 / 3; |
| 49 |
border: 1px solid #e9ecef; |
| 50 |
border-radius: 2px; |
| 51 |
overflow: hidden; |
| 52 |
} |
| 53 |
|
| 54 |
.flag-img-square { |
| 55 |
width: 100%; |
| 56 |
aspect-ratio: 1 / 1; |
| 57 |
border: 1px solid #e9ecef; |
| 58 |
border-radius: 2px; |
| 59 |
overflow: hidden; |
| 60 |
} |
| 61 |
|
| 62 |
.flag-code { |
| 63 |
color: #343a40; |
| 64 |
font-weight: 600; |
| 65 |
} |
| 66 |
|
| 67 |
.switch { |
| 68 |
position: fixed; |
| 69 |
bottom: 4px; |
| 70 |
left: 4px; |
| 71 |
display: flex; |
| 72 |
flex-direction: column; |
| 73 |
width: 48px; |
| 74 |
} |
| 75 |
|
| 76 |
.switch a { |
| 77 |
text-decoration: none; |
| 78 |
padding: 4px; |
| 79 |
margin: 4px; |
| 80 |
border-radius: 4px; |
| 81 |
border: 1px solid #868e96; |
| 82 |
text-align: center; |
| 83 |
width: 100%; |
| 84 |
color: #343a40; |
| 85 |
background-color: #e9ecef; |
| 86 |
} |