diff --git a/src/api/templates/contact.html b/src/api/templates/contact.html index 004b9d7..578df63 100644 --- a/src/api/templates/contact.html +++ b/src/api/templates/contact.html @@ -179,6 +179,41 @@ text-decoration: underline; } + .tiles-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 0.5rem; + } + + .tile { + padding: 0.75rem; + background: #f8f9fa; + border-radius: 6px; + } + + .tile-label { + font-size: 0.7rem; + color: #888; + text-transform: capitalize; + margin-bottom: 0.25rem; + line-height: 1.3; + } + + .tile-value { + font-size: 0.875rem; + color: #333; + word-break: break-word; + } + + .tile-value a { + color: #0066cc; + text-decoration: none; + } + + .tile-value a:hover { + text-decoration: underline; + } + .birthday-highlight { display: inline-flex; align-items: center; @@ -254,6 +289,12 @@ transform: scale(1.03); } + @media (max-width: 600px) { + .tiles-grid { + grid-template-columns: 1fr; + } + } + @media (max-width: 1450px) { .custom-links-box { display: none; @@ -299,11 +340,11 @@ {% if contact.emails %}