|
| 1 | +body { |
| 2 | + font-family: Arial, sans-serif; |
| 3 | + text-align: center; |
| 4 | + background: linear-gradient(to right, #74ebd5, #acb6e5); |
| 5 | + padding: 10px; |
| 6 | +} |
| 7 | + |
| 8 | +.container { |
| 9 | + max-width: 1200px; |
| 10 | + margin: auto; |
| 11 | + background: white; |
| 12 | + padding: 20px; |
| 13 | + border-radius: 8px; |
| 14 | + box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3); |
| 15 | +} |
| 16 | + |
| 17 | +h2 { |
| 18 | + font-family: 'Roboto', sans-serif; /* Modern and clean font */ |
| 19 | + font-size: 1.9rem; /* Larger font size */ |
| 20 | + color: black; /* Dark blue-gray color */ |
| 21 | + text-align: center; /* Center the text */ |
| 22 | + margin: 10px 0; /* Add space above and below */ |
| 23 | + padding: 10px; /* Add padding inside the h2 */ |
| 24 | + border-radius: 6px; /* Rounded corners */ |
| 25 | + letter-spacing: 1.5px; /* Spacing between letters */ |
| 26 | + font-weight: bold; /* Bold text */ |
| 27 | +} |
| 28 | + |
| 29 | +label { |
| 30 | + font-family: 'Arial', sans-serif; /* Clean font */ |
| 31 | + font-size: 1.2rem; /* Slightly larger font for the label */ |
| 32 | + color: #34495e; /* Dark gray-blue color */ |
| 33 | + margin-right: 10px; /* Space between label and input */ |
| 34 | + font-weight: 450; /* Bold text */ |
| 35 | +} |
| 36 | + |
| 37 | +input[type='text'] { |
| 38 | + width: 70%; |
| 39 | + padding: 12px; /* More padding for better appearance */ |
| 40 | + margin: 10px 0; |
| 41 | + border: 2px solid #ddd; |
| 42 | + border-radius: 4px; |
| 43 | + font-size: 1.1rem; |
| 44 | + transition: all 0.3s ease; /* Smooth transition for focus effect */ |
| 45 | +} |
| 46 | + |
| 47 | +input[type='text']:focus { |
| 48 | + border-color: #3498db; /* Blue border on focus */ |
| 49 | + outline: none; |
| 50 | + box-shadow: 0 0 10px rgba(52, 152, 219, 0.6); /* Focus shadow */ |
| 51 | +} |
| 52 | + |
| 53 | +input::placeholder { |
| 54 | + color: #95a5a6; /* Placeholder text color */ |
| 55 | + font-style: oblique; /* Italic style for the placeholder */ |
| 56 | +} |
| 57 | + |
| 58 | +button { |
| 59 | + padding: 13px 20px; |
| 60 | + background: linear-gradient( |
| 61 | + to right, |
| 62 | + #3498db, |
| 63 | + #2980b9 |
| 64 | + ); /* Blue gradient background */ |
| 65 | + color: white; |
| 66 | + border: none; |
| 67 | + border-radius: 5px; |
| 68 | + cursor: pointer; |
| 69 | + font-size: 16px; |
| 70 | +} |
| 71 | + |
| 72 | +button:hover { |
| 73 | + background: linear-gradient( |
| 74 | + to right, |
| 75 | + #2980b9, |
| 76 | + #3498db |
| 77 | + ); /* Reverse blue gradient on hover */ |
| 78 | +} |
| 79 | + |
| 80 | +table { |
| 81 | + width: 100%; |
| 82 | + border-collapse: collapse; |
| 83 | + margin-top: 20px; |
| 84 | +} |
| 85 | + |
| 86 | +th, |
| 87 | +td { |
| 88 | + border: 2px solid #ddd; |
| 89 | + font-size: 1.09rem; |
| 90 | + padding: 10px; |
| 91 | + text-align: left; |
| 92 | +} |
| 93 | + |
| 94 | +th { |
| 95 | + background: linear-gradient(to right, #36d1dc, #5b86e5); |
| 96 | + color: white; |
| 97 | + font-size: 1.5rem; |
| 98 | + text-align: center; |
| 99 | +} |
| 100 | + |
| 101 | +.flag { |
| 102 | + width: 200px; |
| 103 | + display: block; |
| 104 | + margin: auto; |
| 105 | + border-radius: 5px; |
| 106 | +} |
| 107 | + |
| 108 | +.map-container { |
| 109 | + margin-top: 30px; |
| 110 | +} |
| 111 | +.maplabel { |
| 112 | + font-family: 'Arial', sans-serif; /* Font for the label */ |
| 113 | + font-size: 1.5rem; /* Font size for the label */ |
| 114 | + color: #34495e; /* Dark gray-blue color */ |
| 115 | + font-weight: bold; /* Bold text */ |
| 116 | + display: block; /* Block display to ensure the label appears above the iframe */ |
| 117 | + margin-bottom: 4px; /* Space below the label */ |
| 118 | +} |
| 119 | + |
| 120 | +iframe { |
| 121 | + width: 100%; /* Full width of its container */ |
| 122 | + max-width: 1200px; /* Limit width for better appearance on larger screens */ |
| 123 | + height: 300px; /* Fixed height for the map */ |
| 124 | + border: none; /* Remove default iframe border */ |
| 125 | + border-radius: 10px; /* Rounded corners */ |
| 126 | + box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for the iframe */ |
| 127 | + margin-top: 10px; /* Space above the iframe */ |
| 128 | + border-radius: 4px; |
| 129 | +} |
| 130 | +.wikipedia-link { |
| 131 | + margin-top: 20px; |
| 132 | + font-size: 1.2rem; |
| 133 | +} |
| 134 | + |
| 135 | +.wikipedia-link a { |
| 136 | + color: #3498db; |
| 137 | + text-decoration: none; |
| 138 | + font-weight: bold; |
| 139 | +} |
| 140 | + |
| 141 | +.wikipedia-link a:hover { |
| 142 | + text-decoration: underline; |
| 143 | +} |
| 144 | + |
| 145 | +@media (max-width: 768px) { |
| 146 | + h2 { |
| 147 | + font-size: 1.5rem; |
| 148 | + } |
| 149 | + |
| 150 | + label, |
| 151 | + input[type='text'] { |
| 152 | + font-size: 1.1rem; |
| 153 | + } |
| 154 | + |
| 155 | + input[type='text'] { |
| 156 | + width: 80%; |
| 157 | + } |
| 158 | + |
| 159 | + button { |
| 160 | + padding: 12px 18px; |
| 161 | + font-size: 14px; |
| 162 | + } |
| 163 | + |
| 164 | + table { |
| 165 | + font-size: 1rem; |
| 166 | + } |
| 167 | + |
| 168 | + th, |
| 169 | + td { |
| 170 | + padding: 8px; |
| 171 | + } |
| 172 | + |
| 173 | + iframe { |
| 174 | + height: 250px; |
| 175 | + } |
| 176 | +} |
| 177 | + |
| 178 | +@media (max-width: 480px) { |
| 179 | + h2 { |
| 180 | + font-size: 1.5rem; |
| 181 | + margin-top: auto; |
| 182 | + } |
| 183 | + |
| 184 | + input[type='text'] { |
| 185 | + width: 62%; |
| 186 | + font-size: 1rem; |
| 187 | + padding: 12px; |
| 188 | + } |
| 189 | + |
| 190 | + button { |
| 191 | + padding: 8px 12px; |
| 192 | + font-size: 16px; |
| 193 | + } |
| 194 | + |
| 195 | + table { |
| 196 | + font-size: 0.9rem; |
| 197 | + } |
| 198 | + |
| 199 | + th, |
| 200 | + td { |
| 201 | + padding: 6px; |
| 202 | + } |
| 203 | + |
| 204 | + iframe { |
| 205 | + height: 200px; |
| 206 | + } |
| 207 | +} |
0 commit comments