geography
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| geography [2026/02/10 19:39] – hjb | geography [2026/02/10 22:41] (current) – hjb | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Geography | ||
| + | |||
| < | < | ||
| - | < | + | < |
| + | </html> | ||
| - | | + | <html> |
| - | <div class="flip-card-inner"> | + | <span style="font-size:24px; font-weight:700;"> |
| - | <div class=" | + | <a href="/ |
| - | < | + | </span> |
| - | < | + | |
| - | </ | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | <a href="/ | + | |
| - | </ | + | |
| - | </div> | + | |
| - | | + | |
| - | + | ||
| - | <div class=" | + | |
| - | <div class=" | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | <div class="flip-card"> | + | |
| - | <div class=" | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | <a href="/ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | <div class=" | + | |
| - | <div class=" | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | <div class=" | + | |
| - | < | + | |
| - | < | + | |
| - | <a href="/ | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | /* Grid */ | + | |
| - | .flip-grid{ | + | |
| - | display: | + | |
| - | grid-template-columns: | + | |
| - | gap:16px; | + | |
| - | margin:14px 0; | + | |
| - | } | + | |
| - | + | ||
| - | /* Card container gives perspective */ | + | |
| - | .flip-card{ | + | |
| - | background: | + | |
| - | perspective: | + | |
| - | min-height: | + | |
| - | } | + | |
| - | + | ||
| - | /* Inner wrapper flips */ | + | |
| - | .flip-card-inner{ | + | |
| - | position: | + | |
| - | width: | + | |
| - | height: | + | |
| - | text-align: | + | |
| - | transition: | + | |
| - | transform-style: | + | |
| - | cursor: | + | |
| - | } | + | |
| - | + | ||
| - | /* flip on hover (desktop) */ | + | |
| - | .flip-card: | + | |
| - | transform: | + | |
| - | } | + | |
| - | + | ||
| - | /* flip on tap/click (mobile + desktop) */ | + | |
| - | .flip-card.is-flipped .flip-card-inner{ | + | |
| - | transform: | + | |
| - | } | + | |
| - | + | ||
| - | /* Front and back */ | + | |
| - | .flip-card-front, | + | |
| - | position: | + | |
| - | width: | + | |
| - | height: | + | |
| - | -webkit-backface-visibility: | + | |
| - | backface-visibility: | + | |
| - | border:1px solid #e5e7eb; | + | |
| - | border-radius: | + | |
| - | box-shadow: | + | |
| - | padding: | + | |
| - | display: | + | |
| - | flex-direction: | + | |
| - | justify-content: | + | |
| - | align-items: | + | |
| - | } | + | |
| - | + | ||
| - | .flip-card-front{ | + | |
| - | background:# | + | |
| - | | + | |
| - | } | + | |
| - | + | ||
| - | .flip-card-back{ | + | |
| - | background:# | + | |
| - | color:# | + | |
| - | transform: | + | |
| - | } | + | |
| - | + | ||
| - | .flip-card h3{ | + | |
| - | margin:0 0 8px; | + | |
| - | font-size: | + | |
| - | } | + | |
| - | + | ||
| - | .flip-card p{ | + | |
| - | margin:0 0 10px; | + | |
| - | line-height: | + | |
| - | font-size: | + | |
| - | } | + | |
| - | + | ||
| - | .flip-card a{ | + | |
| - | display: | + | |
| - | margin-top: | + | |
| - | | + | |
| - | font-weight: | + | |
| - | border:1px solid #d1d5db; | + | |
| - | border-radius: | + | |
| - | padding:7px 10px; | + | |
| - | color:# | + | |
| - | background:# | + | |
| - | } | + | |
| - | </style> | + | |
| - | + | ||
| - | <script> | + | |
| - | (function(){ | + | |
| - | | + | |
| - | var cards = document.querySelectorAll(' | + | |
| - | cards.forEach(function(card){ | + | |
| - | card.addEventListener(' | + | |
| - | // allow link click on back without immediately re-flipping first | + | |
| - | if(e.target.tagName.toLowerCase() === 'a') return; | + | |
| - | card.classList.toggle(' | + | |
| - | }); | + | |
| - | }); | + | |
| - | })(); | + | |
| - | </script> | + | |
| </ | </ | ||
| - | |||
| - | |||
| - | {{url> | ||
| - | |||
| - | |||
| - | |||
| - | |||
geography.1770752345.txt.gz · Last modified: by hjb
