MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================================= | /* ========================================================= | ||
VIRGINIA.WIKI | VIRGINIA.WIKI | ||
MASTER SITE STYLESHEET | |||
========================================================= */ | ========================================================= */ | ||
/* ========================================================= | /* ========================================================= | ||
| Line 16: | Line 18: | ||
--vw-cream: #f6f2e7; | --vw-cream: #f6f2e7; | ||
--vw-text: #172535; | --vw-text: #172535; | ||
--vw-muted: #5b6873; | |||
--vw-white: #ffffff; | |||
--vw-border: rgba(11, 47, 79, 0.13); | |||
--vw-shadow: 0 14px 34px rgba(19, 43, 60, 0.12); | |||
color: var(--vw-text); | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
GENERAL CONTENT | |||
========================================================= */ | ========================================================= */ | ||
.vw-home { | .vw-home *, | ||
max-width: | .vw-place *, | ||
.vw-attraction * { | |||
box-sizing: border-box; | |||
} | |||
.vw-home img, | |||
.vw-place img, | |||
.vw-attraction img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.vw-place, | |||
.vw-attraction { | |||
width: 100%; | |||
max-width: 1320px; | |||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
.vw-place p, | |||
.vw-attraction p { | |||
line-height: 1.72; | |||
} | |||
.vw-place li, | |||
.vw-attraction li { | |||
line-height: 1.65; | |||
} | |||
/* ========================================================= | |||
MAIN PAGE | |||
========================================================= */ | |||
body.page-Main_Page .mw-first-heading, | body.page-Main_Page .mw-first-heading, | ||
body.page-Main_Page #firstHeading { | body.page-Main_Page #firstHeading { | ||
display: none; | display: none !important; | ||
} | } | ||
.vw- | .vw-home { | ||
width: 100%; | |||
max-width: 1320px; | |||
margin: 0 auto; | |||
} | } | ||
/* HERO */ | /* ========================================================= | ||
HOMEPAGE HERO | |||
========================================================= */ | |||
.vw-hero { | .vw-home-hero { | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
min-height: 610px; | |||
padding: 105px 95px 120px; | |||
min-height: | |||
padding: | |||
border-radius: 30px; | border-radius: 30px; | ||
background: | |||
radial-gradient( | |||
circle at 83% 20%, | |||
rgba(224, 214, 154, 0.42), | |||
transparent 24% | |||
), | |||
linear-gradient( | |||
120deg, | |||
#0b3552 0%, | |||
#245f7d 55%, | |||
#608478 100% | |||
); | |||
box-shadow: 0 24px 60px rgba(15, 44, 62, 0.19); | |||
color: #fff; | color: #fff; | ||
} | } | ||
.vw-hero::before { | .vw-home-hero::before, | ||
.vw-home-hero::after { | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
left: -5%; | left: -5%; | ||
right: -5%; | right: -5%; | ||
bottom: - | bottom: -1px; | ||
height: | pointer-events: none; | ||
background: | } | ||
.vw-home-hero::before { | |||
height: 185px; | |||
background: #174965; | |||
clip-path: polygon( | clip-path: polygon( | ||
0 70%, 10% | 0 70%, | ||
10% 34%, | |||
20% 62%, | |||
31% 0, | |||
42% 72%, | |||
53% 33%, | |||
64% 74%, | |||
76% 10%, | |||
87% 67%, | |||
100% 24%, | |||
100% 100%, | |||
0 100% | |||
); | ); | ||
opacity: 0.77; | |||
} | } | ||
.vw-hero::after { | .vw-home-hero::after { | ||
height: 115px; | |||
background: #174f59; | |||
height: | |||
background: | |||
clip-path: polygon( | clip-path: polygon( | ||
0 | 0 65%, | ||
12% 10%, | |||
100% 100%, 0 100% | 24% 78%, | ||
39% 0, | |||
54% 70%, | |||
68% 15%, | |||
83% 72%, | |||
100% 25%, | |||
100% 100%, | |||
0 100% | |||
); | ); | ||
opacity: 0.96; | |||
} | } | ||
.vw-hero- | .vw-home-hero-content { | ||
position: relative; | position: relative; | ||
z-index: | z-index: 3; | ||
max-width: | max-width: 880px; | ||
} | } | ||
.vw- | .vw-home-kicker { | ||
margin-bottom: | margin-bottom: 20px; | ||
font-size: . | font-size: 0.9rem; | ||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: . | letter-spacing: 0.17em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.vw- | .vw-home-title { | ||
margin: 0; | margin: 0; | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp( | font-size: clamp(4.5rem, 9vw, 7.6rem); | ||
font-weight: 700; | font-weight: 700; | ||
line-height: . | line-height: 0.86; | ||
letter-spacing: -.045em; | letter-spacing: -0.045em; | ||
color: #fff; | color: #fff; | ||
} | } | ||
.vw- | .vw-home-subtitle { | ||
max-width: | max-width: 870px; | ||
margin-top: | margin-top: 32px; | ||
font-size: clamp(1. | font-size: clamp(1.25rem, 2vw, 1.65rem); | ||
line-height: 1. | line-height: 1.5; | ||
color: | color: #fff; | ||
} | } | ||
/* | /* ========================================================= | ||
HOMEPAGE SEARCH | |||
========================================================= */ | |||
.vw-search { | .vw-home-search { | ||
position: relative; | position: relative; | ||
z-index: | z-index: 5; | ||
max-width: | max-width: 760px; | ||
margin-top: | margin-top: 38px; | ||
} | } | ||
.vw-search form { | .vw-home-search form { | ||
display: flex; | display: flex; | ||
align-items: stretch; | align-items: stretch; | ||
gap: 14px; | |||
gap: | |||
} | } | ||
.vw-search input[type="text"] { | .vw-home-search input[type="text"], | ||
.vw-home-search .mw-inputbox-input { | |||
flex: 1; | flex: 1; | ||
min-width: 0; | min-width: 0; | ||
height: | height: 52px; | ||
padding: 0 16px; | |||
padding: 0 | border: 1px solid rgba(255,255,255,0.55); | ||
border: 1px solid rgba(255,255,255,. | border-radius: 5px; | ||
border-radius: | background: rgba(255,255,255,0.94); | ||
background: rgba(255,255,255,. | |||
font-size: 1.05rem; | font-size: 1.05rem; | ||
color: var(--vw-text); | |||
} | } | ||
.vw-search input[type=" | .vw-home-search input[type="submit"], | ||
.vw-home-search .mw-ui-button { | |||
min-width: 120px; | |||
height: 52px; | |||
padding: 0 24px; | |||
.vw-search | |||
. | |||
min-height: | |||
padding: 0 | |||
border: 0 !important; | border: 0 !important; | ||
border-radius: | border-radius: 15px !important; | ||
background: #fff !important; | background: #fff !important; | ||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
font-weight: 800 !important; | |||
font-weight: 800 | box-shadow: none !important; | ||
box-shadow: | |||
} | } | ||
/* ========================================================= | |||
/* HOMEPAGE SECTIONS */ | HOMEPAGE SECTIONS | ||
========================================================= */ | |||
.vw-home-section { | .vw-home-section { | ||
margin: | margin-top: 74px; | ||
} | } | ||
.vw-home-section | .vw-home-section-title { | ||
margin: 0 0 | margin: 0 0 10px; | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp(2. | font-size: clamp(2.2rem, 4vw, 3.3rem); | ||
line-height: 1. | line-height: 1.05; | ||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
.vw-home-section-intro { | |||
max-width: 850px; | |||
margin: 0 0 30px; | |||
font-size: 1.08rem; | |||
.vw- | line-height: 1.65; | ||
color: var(--vw-muted); | |||
} | } | ||
/* ========================================================= | |||
DISCOVER VIRGINIA PHOTO CARDS | |||
========================================================= */ | |||
.vw- | .vw-photo-grid { | ||
display: grid; | |||
grid-template-columns: repeat(4, minmax(0, 1fr)); | |||
gap: 22px; | |||
} | } | ||
.vw-photo-card { | .vw-photo-card { | ||
position: relative; | |||
min-height: 300px; | |||
min-height: | |||
overflow: hidden; | overflow: hidden; | ||
background: | border-radius: 22px; | ||
background: var(--vw-navy); | |||
box-shadow: var(--vw-shadow); | |||
} | } | ||
.vw-card | .vw-photo-card img { | ||
position: absolute; | |||
inset: 0; | |||
width: 100%; | width: 100%; | ||
height: | height: 100%; | ||
object-fit: cover; | |||
} | } | ||
.vw- | .vw-photo-card::after { | ||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: linear-gradient( | |||
180deg, | |||
rgba(5,26,43,0.03) 15%, | |||
rgba(5,26,43,0.78) 100% | |||
); | |||
} | } | ||
.vw- | .vw-photo-card-content { | ||
position: absolute; | |||
z-index: 2; | |||
left: 24px; | |||
right: 24px; | |||
bottom: 22px; | |||
color: #fff; | |||
} | } | ||
.vw-card | .vw-photo-card h3 { | ||
margin: 0 0 5px; | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 1.7rem; | |||
color: #fff; | |||
} | } | ||
.vw-card | .vw-photo-card p { | ||
margin: 0 0 . | margin: 0; | ||
line-height: 1.45; | |||
color: rgba(255,255,255,0.9); | |||
} | } | ||
/* ========================================================= | |||
POPULAR DESTINATIONS | |||
========================================================= */ | |||
/* | |||
.vw-destination-grid { | .vw-destination-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 24px; | ||
} | } | ||
.vw-destination-card { | .vw-destination-card { | ||
position: relative; | position: relative; | ||
min-height: 420px; | |||
overflow: hidden; | overflow: hidden; | ||
border-radius: 25px; | |||
border-radius: | |||
background: var(--vw-navy); | background: var(--vw-navy); | ||
box-shadow: | box-shadow: var(--vw-shadow); | ||
} | } | ||
.vw-destination- | .vw-destination-card img { | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
object-fit: cover; | |||
object-fit: cover | |||
} | } | ||
| Line 413: | Line 346: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: linear-gradient( | |||
180deg, | |||
background: | rgba(8,34,51,0.03) 15%, | ||
rgba(8,34,51,0.88) 100% | |||
); | |||
} | } | ||
.vw-destination- | .vw-destination-card-content { | ||
position: absolute; | position: absolute; | ||
z-index: 3; | |||
left: 34px; | |||
right: 34px; | |||
bottom: 32px; | |||
} | } | ||
.vw-destination- | .vw-destination-card h3 { | ||
margin: 0 0 | margin: 0 0 12px; | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp(2rem, 3vw, | font-size: clamp(2rem, 3vw, 3rem); | ||
line-height: 1; | |||
line-height: 1 | color: #fff; | ||
} | } | ||
.vw-destination- | .vw-destination-card p { | ||
margin: 0 0 18px; | |||
max-width: 520px; | |||
line-height: 1.55; | |||
color: rgba(255,255,255,0.92); | |||
line-height: 1. | |||
} | } | ||
.vw-destination-card a { | |||
display: inline-block; | |||
padding: 10px 17px; | |||
border: 1px solid rgba(255,255,255,0.65); | |||
border-radius: 999px; | |||
color: #fff !important; | color: #fff !important; | ||
- | font-weight: 700; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
background: rgba(255,255,255,0.10); | |||
backdrop-filter: blur(5px); | |||
} | } | ||
.vw-destination-card a:hover { | |||
background: rgba(255,255,255,0.20); | |||
} | } | ||
/* SECONDARY | /* ========================================================= | ||
SECONDARY DESTINATION LINKS | |||
========================================================= */ | |||
.vw- | .vw-destination-links { | ||
display: | display: flex; | ||
flex-wrap: wrap; | |||
gap: | gap: 12px; | ||
margin-top: | margin-top: 22px; | ||
} | } | ||
.vw- | .vw-destination-links a { | ||
display: block; | display: inline-block; | ||
padding: | padding: 10px 16px; | ||
border: 1px solid | border: 1px solid var(--vw-border); | ||
border-radius: | border-radius: 999px; | ||
background: rgba(255,255,255,. | background: rgba(255,255,255,0.72); | ||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
font-weight: 700; | font-weight: 700; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
.vw- | .vw-destination-links a:hover { | ||
background: #fff; | background: #fff; | ||
} | } | ||
/* | /* ========================================================= | ||
HOMEPAGE FEATURE CARDS | |||
========================================================= */ | |||
.vw-feature-grid { | .vw-feature-grid { | ||
display: grid | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)) | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: | gap: 22px; | ||
} | } | ||
.vw-feature- | .vw-feature-card { | ||
padding: 30px; | |||
border: 1px solid var(--vw-border); | |||
border-radius: 22px; | |||
background: rgba(255,255,255,0.83); | |||
box-shadow: 0 10px 26px rgba(19,43,60,0.07); | |||
padding: | |||
border: 1px solid | |||
border-radius: | |||
background: | |||
} | } | ||
.vw-feature h3 { | .vw-feature-card h3 { | ||
margin: 0 0 | margin: 0 0 10px; | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: 1. | font-size: 1.65rem; | ||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
.vw-feature | .vw-feature-card p { | ||
margin: 0 0 15px; | |||
color: var(--vw- | line-height: 1.6; | ||
color: var(--vw-muted); | |||
} | } | ||
.vw-feature | .vw-feature-card a { | ||
color: var(--vw-blue) !important; | |||
font-weight: 700; | |||
} | } | ||
/* START EXPLORING */ | /* ========================================================= | ||
START EXPLORING PANEL | |||
========================================================= */ | |||
.vw- | .vw-start-panel { | ||
padding: | margin-top: 78px; | ||
border-radius: | padding: 54px; | ||
background: linear-gradient(135deg, # | border-radius: 28px; | ||
color: #fff | background: | ||
box-shadow: | linear-gradient( | ||
135deg, | |||
#0b2f4f 0%, | |||
#194b67 55%, | |||
#466b60 100% | |||
); | |||
color: #fff; | |||
box-shadow: var(--vw-shadow); | |||
} | } | ||
.vw- | .vw-start-panel h2 { | ||
margin: 0 0 | margin: 0 0 14px; | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp(2rem, 4vw, | font-size: clamp(2.2rem, 4vw, 3.5rem); | ||
color: #fff; | |||
color: #fff | |||
} | } | ||
.vw- | .vw-start-panel p { | ||
max-width: 850px; | |||
margin: 0; | |||
font-size: 1.08rem; | |||
font-size: 1. | |||
line-height: 1.65; | line-height: 1.65; | ||
color: rgba(255,255,255,0.9); | |||
color: | |||
} | } | ||
| Line 600: | Line 496: | ||
========================================================= */ | ========================================================= */ | ||
. | body.page-Williamsburg_Virginia .mw-first-heading, | ||
body.page-Williamsburg_Virginia #firstHeading, | |||
body.page-Jamestown_Virginia .mw-first-heading, | |||
body.page-Jamestown_Virginia #firstHeading, | |||
body.page-Yorktown_Virginia .mw-first-heading, | |||
body.page-Yorktown_Virginia #firstHeading { | |||
display: none !important; | |||
} | } | ||
/* ========================================================= | |||
PLACE HERO | |||
========================================================= */ | |||
.vw-place-hero { | .vw-place-hero { | ||
position: relative; | position: relative; | ||
width: 100%; | |||
min-height: 560px; | |||
overflow: hidden; | overflow: hidden; | ||
margin-bottom: 28px; | |||
margin-bottom: | |||
border-radius: 28px; | border-radius: 28px; | ||
background: var(--vw-navy); | background: var(--vw-navy); | ||
box-shadow: | box-shadow: var(--vw-shadow); | ||
} | } | ||
| Line 624: | Line 524: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
} | } | ||
.vw-place-hero-image .mw-file-element, | |||
.vw-place-hero-image img { | |||
.vw-place-hero-image .mw-file- | |||
.vw-place-hero-image | |||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | height: 100% !important; | ||
object-fit: cover; | |||
} | } | ||
.vw-place-hero-image | .vw-place-hero-image a { | ||
display: block; | |||
display: block | width: 100%; | ||
height: 100%; | |||
height: 100% | |||
} | } | ||
| Line 660: | Line 543: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: | background: | ||
linear-gradient( | linear-gradient( | ||
180deg, | |||
rgba( | rgba(6,27,44,0.08) 0%, | ||
rgba( | rgba(6,27,44,0.25) 35%, | ||
rgba( | rgba(6,27,44,0.88) 100% | ||
); | ); | ||
} | } | ||
| Line 673: | Line 554: | ||
.vw-place-hero-overlay { | .vw-place-hero-overlay { | ||
position: absolute; | position: absolute; | ||
z-index: 3; | |||
left: 6%; | |||
right: 6%; | |||
bottom: 8%; | |||
color: #fff; | |||
} | } | ||
.vw-place-kicker { | .vw-place-kicker { | ||
margin-bottom: | margin-bottom: 12px; | ||
font-size: 0.83rem; | |||
font-size: . | |||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: . | letter-spacing: 0.14em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: rgba(255,255,255,0.92); | |||
} | } | ||
.vw-place-title { | .vw-place-title { | ||
max-width: 1050px; | |||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp( | font-size: clamp(4rem, 8vw, 7rem); | ||
font-weight: 700; | font-weight: 700; | ||
line-height: . | line-height: 0.9; | ||
letter-spacing: -.035em; | letter-spacing: -0.035em; | ||
color: #fff; | |||
} | } | ||
.vw-place-summary { | .vw-place-summary { | ||
max-width: | max-width: 920px; | ||
margin-top: | margin-top: 20px; | ||
font-size: clamp(1.15rem, 2vw, 1.45rem); | |||
font-size: clamp(1. | |||
line-height: 1.55; | line-height: 1.55; | ||
color: rgba(255,255,255,0.96); | |||
} | } | ||
/* ========================================================= | |||
PLACE QUICK FACTS | |||
========================================================= */ | |||
.vw-place-quickfacts { | .vw-place-quickfacts { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(4, minmax(0, 1fr)); | grid-template-columns: repeat(4, minmax(0, 1fr)); | ||
gap: | gap: 14px; | ||
margin: | margin: 0 0 38px; | ||
} | } | ||
.vw-place-quickfacts > div { | .vw-place-quickfacts > div { | ||
padding: 20px 22px; | |||
padding: | border: 1px solid var(--vw-border); | ||
border: 1px solid | |||
border-radius: 16px; | border-radius: 16px; | ||
background: rgba(255,255,255,. | background: rgba(255,255,255,0.84); | ||
box-shadow: 0 | box-shadow: 0 8px 20px rgba(17,44,64,0.06); | ||
line-height: 1. | line-height: 1.45; | ||
} | } | ||
.vw-place-quickfacts strong { | .vw-place-quickfacts strong, | ||
.vw-place-quickfacts b { | |||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
/* ========================================================= | |||
PLACE INTRO | |||
========================================================= */ | |||
.vw-place-intro { | .vw-place-intro { | ||
max-width: | max-width: 1040px; | ||
margin: 0 auto | margin: 0 auto 50px; | ||
font-size: 1. | padding: 30px 34px; | ||
border-left: 5px solid var(--vw-green); | |||
border-radius: 0 18px 18px 0; | |||
background: rgba(255,255,255,0.68); | |||
font-size: 1.12rem; | |||
line-height: 1.75; | line-height: 1.75; | ||
} | } | ||
margin-top: | /* ========================================================= | ||
PLACE HEADINGS | |||
========================================================= */ | |||
.vw-place h2 { | |||
margin-top: 58px; | |||
padding-bottom: 10px; | |||
border-bottom: 1px solid var(--vw-border); | |||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp(2rem, | font-size: clamp(2rem, 3vw, 2.65rem); | ||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
.vw-place | .vw-place h3 { | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
/* ========================================================= | |||
PLACE CARD GRID | |||
========================================================= */ | |||
.vw-place- | .vw-place-card-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 20px; | ||
margin: | margin: 28px 0 42px; | ||
} | } | ||
.vw-place- | .vw-place-card { | ||
padding: 27px; | |||
border: 1px solid var(--vw-border); | |||
border-radius: 18px; | border-radius: 18px; | ||
background: | background: rgba(255,255,255,0.83); | ||
box-shadow: 0 10px 24px rgba(17,44,64,0.065); | |||
box-shadow: 0 | } | ||
.vw-place-card h3 { | |||
margin: 0 0 10px; | |||
font-size: 1.45rem; | |||
} | } | ||
.vw-place- | .vw-place-card h3 a { | ||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
.vw-place- | .vw-place-card h3 a:hover { | ||
color: var(--vw-blue) !important; | |||
} | } | ||
.vw-place-card p { | |||
margin-bottom: 0; | |||
margin | |||
} | } | ||
/* ========================================================= | |||
PLACE EXPLORE / NEARBY GRID | |||
========================================================= */ | |||
.vw-place-explore-grid { | |||
display: grid; | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
gap: 18px; | |||
margin: 25px 0 42px; | |||
} | } | ||
.vw-place-explore-grid > div { | |||
padding: 23px 25px; | |||
border: 1px solid var(--vw-border); | |||
border-radius: 17px; | |||
background: rgba(255,255,255,0.82); | |||
box-shadow: 0 8px 20px rgba(17,44,64,0.055); | |||
} | } | ||
.vw-place-explore-grid a { | |||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
font-size: 1.08rem; | |||
text-decoration: none !important; | |||
} | } | ||
| Line 861: | Line 717: | ||
ATTRACTION PAGES | ATTRACTION PAGES | ||
========================================================= */ | ========================================================= */ | ||
body.page-Colonial_Williamsburg .mw-first-heading, | body.page-Colonial_Williamsburg .mw-first-heading, | ||
body.page-Colonial_Williamsburg #firstHeading { | body.page-Colonial_Williamsburg #firstHeading, | ||
body.page-Busch_Gardens_Williamsburg .mw-first-heading, | |||
body.page-Busch_Gardens_Williamsburg #firstHeading, | |||
body.page-Historic_Jamestowne .mw-first-heading, | |||
body.page-Historic_Jamestowne #firstHeading, | |||
body.page-Jamestown_Settlement .mw-first-heading, | |||
body.page-Jamestown_Settlement #firstHeading, | |||
body.page-American_Revolution_Museum_at_Yorktown .mw-first-heading, | |||
body.page-American_Revolution_Museum_at_Yorktown #firstHeading { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* ========================================================= | |||
ATTRACTION HERO | |||
========================================================= */ | |||
.vw-attraction-hero { | .vw-attraction-hero { | ||
position: relative; | position: relative; | ||
width: 100%; | |||
min-height: 560px; | |||
overflow: hidden; | overflow: hidden; | ||
margin-bottom: 28px; | |||
border-radius: 28px; | border-radius: 28px; | ||
background: var(--vw-navy); | background: var(--vw-navy); | ||
box-shadow: | box-shadow: var(--vw-shadow); | ||
} | } | ||
| Line 886: | Line 750: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
} | } | ||
.vw-attraction-hero-image .mw-file-element, | |||
.vw-attraction-hero-image img { | |||
.vw-attraction-hero-image .mw-file- | |||
.vw-attraction-hero-image | |||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | height: 100% !important; | ||
object-fit: cover; | |||
} | } | ||
.vw-attraction-hero-image | .vw-attraction-hero-image a { | ||
display: block; | |||
display: block | width: 100%; | ||
height: 100%; | |||
height: 100% | |||
} | } | ||
| Line 924: | Line 769: | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: | background: | ||
linear-gradient( | linear-gradient( | ||
180deg, | |||
rgba( | rgba(5,21,35,0.08) 0%, | ||
rgba( | rgba(5,21,35,0.27) 34%, | ||
rgba(5,21,35,0.93) 100% | |||
rgba( | |||
); | ); | ||
} | } | ||
| Line 938: | Line 780: | ||
.vw-attraction-hero-overlay { | .vw-attraction-hero-overlay { | ||
position: absolute; | position: absolute; | ||
z-index: 3; | |||
left: 6%; | |||
right: 6%; | |||
bottom: 8%; | |||
color: #fff; | |||
} | } | ||
.vw-attraction-kicker { | .vw-attraction-kicker { | ||
margin-bottom: | margin-bottom: 12px; | ||
font-size: 0.83rem; | |||
font-size: . | |||
font-weight: 800; | font-weight: 800; | ||
letter-spacing: . | letter-spacing: 0.14em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: rgba(255,255,255,0.92); | |||
} | } | ||
.vw-attraction-title { | .vw-attraction-title { | ||
max-width: 1120px; | |||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
font-size: clamp( | font-size: clamp(4rem, 8vw, 7rem); | ||
font-weight: 700; | font-weight: 700; | ||
line-height: . | line-height: 0.9; | ||
letter-spacing: -.035em; | letter-spacing: -0.035em; | ||
color: #fff; | |||
} | } | ||
.vw-attraction-summary { | .vw-attraction-summary { | ||
max-width: | max-width: 980px; | ||
margin-top: | margin-top: 20px; | ||
font-size: clamp(1.12rem, 2vw, 1.45rem); | |||
font-size: clamp(1. | line-height: 1.52; | ||
line-height: 1. | color: rgba(255,255,255,0.96); | ||
} | } | ||
/* ========================================================= | |||
ATTRACTION QUICK FACTS | |||
========================================================= */ | |||
.vw-attraction-quickfacts { | .vw-attraction-quickfacts { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(4, minmax(0, 1fr)); | grid-template-columns: repeat(4, minmax(0, 1fr)); | ||
gap: | gap: 14px; | ||
margin: | margin: 0 0 38px; | ||
} | } | ||
.vw-attraction-quickfacts > div { | .vw-attraction-quickfacts > div { | ||
padding: 20px 22px; | |||
padding: | border: 1px solid var(--vw-border); | ||
border: 1px solid | |||
border-radius: 16px; | border-radius: 16px; | ||
background: rgba(255,255,255,.84); | background: rgba(255,255,255,0.84); | ||
box-shadow: 0 | box-shadow: 0 8px 20px rgba(17,44,64,0.06); | ||
line-height: 1. | line-height: 1.45; | ||
} | } | ||
.vw-attraction-quickfacts strong { | .vw-attraction-quickfacts strong, | ||
.vw-attraction-quickfacts b { | |||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
/* ========================================================= | |||
ATTRACTION INTRO | |||
========================================================= */ | |||
.vw-attraction-intro { | .vw-attraction-intro { | ||
max-width: | max-width: 1040px; | ||
margin: 0 auto | margin: 0 auto 50px; | ||
font-size: 1. | padding: 30px 34px; | ||
border-left: 5px solid var(--vw-blue); | |||
border-radius: 0 18px 18px 0; | |||
background: rgba(255,255,255,0.68); | |||
font-size: 1.12rem; | |||
line-height: 1.75; | line-height: 1.75; | ||
} | } | ||
.vw-attraction | /* ========================================================= | ||
margin-top: | ATTRACTION HEADINGS | ||
========================================================= */ | |||
.vw-attraction h2 { | |||
margin-top: 58px; | |||
padding-bottom: 10px; | |||
border-bottom: 1px solid var(--vw-border); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: clamp(2rem, 3vw, 2.65rem); | |||
color: var(--vw-navy); | |||
} | |||
.vw-attraction h3 { | |||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
color: var(--vw-navy); | color: var(--vw-navy); | ||
} | } | ||
/* ========================================================= | |||
ATTRACTION CARD GRID | |||
========================================================= */ | |||
.vw-attraction-card-grid { | .vw-attraction-card-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 20px; | ||
margin: | margin: 28px 0 42px; | ||
} | } | ||
.vw-attraction-card { | .vw-attraction-card { | ||
padding: 27px; | |||
padding: | border: 1px solid var(--vw-border); | ||
border: 1px solid | border-radius: 18px; | ||
border-radius: | background: rgba(255,255,255,0.83); | ||
background: | box-shadow: 0 10px 24px rgba(17,44,64,0.065); | ||
box-shadow: 0 | |||
} | } | ||
.vw-attraction-card h3 { | .vw-attraction-card h3 { | ||
margin: 0 0 | margin: 0 0 10px; | ||
font-size: 1.45rem; | |||
font-size: 1. | |||
} | } | ||
.vw-attraction-card h3 a | .vw-attraction-card h3 a { | ||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
| Line 1,060: | Line 906: | ||
.vw-attraction-card h3 a:hover { | .vw-attraction-card h3 a:hover { | ||
color: var(--vw-blue) !important; | |||
} | } | ||
.vw-attraction-card p { | |||
margin-bottom: 0; | |||
} | |||
/* ========================================================= | |||
VISIT / PLANNING GRID | |||
========================================================= */ | |||
.vw-visit-grid { | .vw-visit-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 18px; | ||
margin: | margin: 27px 0 42px; | ||
} | } | ||
.vw-visit-grid > div { | .vw-visit-grid > div { | ||
padding: 23px 25px; | |||
padding: | border: 1px solid var(--vw-border); | ||
border: 1px solid | border-radius: 17px; | ||
border-radius: | background: rgba(246,242,231,0.75); | ||
background: | box-shadow: 0 7px 20px rgba(17,44,64,0.05); | ||
box-shadow: 0 | line-height: 1.58; | ||
line-height: 1. | |||
} | } | ||
.vw-visit-grid | .vw-visit-grid strong, | ||
.vw-visit-grid b { | |||
color: var(--vw-navy); | color: var(--vw-navy); | ||
font-size: 1.04rem; | |||
} | } | ||
/* ========================================================= | |||
ATTRACTION NEARBY GRID | |||
========================================================= */ | |||
.vw-attraction-nearby-grid { | .vw-attraction-nearby-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: | gap: 18px; | ||
margin: | margin: 25px 0 42px; | ||
} | } | ||
.vw-attraction-nearby-grid > div { | .vw-attraction-nearby-grid > div { | ||
padding: 23px 24px; | |||
padding: | border: 1px solid var(--vw-border); | ||
border: 1px solid | border-radius: 17px; | ||
border-radius: | background: rgba(255,255,255,0.82); | ||
background: rgba(255,255,255,. | box-shadow: 0 8px 20px rgba(17,44,64,0.055); | ||
box-shadow: 0 | |||
line-height: 1.55; | line-height: 1.55; | ||
} | } | ||
.vw-attraction-nearby-grid a | .vw-attraction-nearby-grid a { | ||
color: var(--vw-navy) !important; | color: var(--vw-navy) !important; | ||
font-size: 1.07rem; | |||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
.vw-attraction- | |||
text- | /* ========================================================= | ||
TABLES | |||
========================================================= */ | |||
.vw-place .wikitable, | |||
.vw-attraction .wikitable { | |||
width: 100%; | |||
margin: 24px 0 36px; | |||
border: 1px solid var(--vw-border); | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
overflow: hidden; | |||
border-radius: 14px; | |||
background: rgba(255,255,255,0.80); | |||
box-shadow: 0 6px 18px rgba(17,44,64,0.045); | |||
} | |||
.vw-place .wikitable th, | |||
.vw-attraction .wikitable th { | |||
padding: 14px 16px; | |||
border: 0; | |||
border-bottom: 1px solid rgba(255,255,255,0.20); | |||
background: var(--vw-navy); | |||
color: #fff; | |||
text-align: left; | |||
} | } | ||
.vw-attraction | .vw-place .wikitable td, | ||
.vw-attraction .wikitable td { | |||
padding: 13px 16px; | |||
border: 0; | |||
border-bottom: 1px solid var(--vw-border); | |||
vertical-align: top; | |||
} | } | ||
.vw-attraction | .vw-place .wikitable tr:last-child td, | ||
.vw-attraction .wikitable tr:last-child td { | |||
border-bottom: 0; | |||
} | } | ||
font-size: . | /* ========================================================= | ||
REFERENCES | |||
========================================================= */ | |||
.vw-place .references, | |||
.vw-attraction .references { | |||
font-size: 0.92rem; | |||
line-height: 1.5; | line-height: 1.5; | ||
color: #4d5963; | |||
} | |||
.vw-place .references li, | |||
.vw-attraction .references li { | |||
margin-bottom: 8px; | |||
} | } | ||
/* ========================================================= | |||
LINKS | |||
========================================================= */ | |||
.vw-place a, | |||
.vw-attraction a { | |||
text-underline-offset: 2px; | |||
} | } | ||
.vw-place a.new, | |||
.vw-attraction a.new { | |||
color: | color: #a34242; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
TABLET | RESPONSIVE — TABLET | ||
========================================================= */ | ========================================================= */ | ||
@media (max-width: 1000px) { | @media (max-width: 1000px) { | ||
.vw- | .vw-home-hero { | ||
min-height: 560px; | |||
padding: 85px 60px 110px; | |||
} | } | ||
.vw- | .vw-photo-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
} | |||
.vw-feature-grid { | |||
grid-template-columns: 1fr; | |||
} | } | ||
| Line 1,155: | Line 1,065: | ||
} | } | ||
.vw-attraction-nearby-grid { | .vw-attraction-nearby-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
} | |||
.vw-place-hero, | |||
.vw-attraction-hero { | |||
min-height: 510px; | |||
} | } | ||
} | } | ||
| Line 1,164: | Line 1,077: | ||
/* ========================================================= | /* ========================================================= | ||
MOBILE | RESPONSIVE — MOBILE | ||
========================================================= */ | ========================================================= */ | ||
@media (max-width: 700px) { | @media (max-width: 700px) { | ||
.vw-hero { | .vw-home-hero { | ||
min-height: | min-height: 520px; | ||
padding: | padding: 65px 28px 100px; | ||
border-radius: 20px; | |||
border-radius: | |||
} | } | ||
.vw- | .vw-home-title { | ||
font-size: clamp(3. | font-size: clamp(3.4rem, 17vw, 5.1rem); | ||
} | } | ||
.vw-search form { | .vw-home-subtitle { | ||
font-size: 1.1rem; | |||
} | |||
.vw-home-search form { | |||
flex-direction: column; | flex-direction: column; | ||
gap: 10px; | |||
} | } | ||
.vw-search input[type=" | .vw-home-search input[type="submit"], | ||
.vw-search | .vw-home-search .mw-ui-button { | ||
width: 100%; | |||
width: 100% | |||
} | } | ||
.vw- | .vw-photo-grid, | ||
.vw- | .vw-destination-grid, | ||
.vw-feature-grid, | .vw-feature-grid, | ||
.vw-place-card-grid, | .vw-place-card-grid, | ||
.vw-place-explore-grid, | .vw-place-explore-grid, | ||
.vw-attraction-card-grid, | .vw-attraction-card-grid, | ||
.vw-visit-grid, | .vw-visit-grid, | ||
.vw-attraction-nearby-grid { | .vw-attraction-nearby-grid { | ||
grid-template-columns: 1fr | grid-template-columns: 1fr; | ||
} | } | ||
.vw-photo-card { | .vw-photo-card { | ||
min-height: | min-height: 270px; | ||
} | } | ||
.vw-destination-card { | .vw-destination-card { | ||
min-height: 360px; | |||
min-height: | |||
} | } | ||
.vw- | .vw-start-panel { | ||
padding: 34px 26px; | |||
border-radius: 20px; | |||
} | } | ||
.vw-place-hero, | |||
.vw-attraction-hero { | .vw-attraction-hero { | ||
min-height: | min-height: 500px; | ||
border-radius: | border-radius: 20px; | ||
} | } | ||
.vw-place-hero-overlay, | |||
.vw-attraction-hero-overlay { | .vw-attraction-hero-overlay { | ||
left: 7%; | |||
right: 7%; | |||
bottom: 7%; | |||
} | } | ||
.vw-place-title, | |||
.vw-attraction-title { | .vw-attraction-title { | ||
font-size: clamp( | font-size: clamp(3rem, 15vw, 4.6rem); | ||
line-height: 0.92; | |||
} | } | ||
.vw-place-summary, | |||
.vw-attraction-summary { | .vw-attraction-summary { | ||
font-size: | margin-top: 16px; | ||
font-size: 1.06rem; | |||
line-height: 1.45; | |||
} | |||
.vw-place-quickfacts, | |||
.vw-attraction-quickfacts { | |||
grid-template-columns: 1fr; | |||
} | } | ||
.vw-place-intro, | |||
.vw-attraction-intro { | .vw-attraction-intro { | ||
font-size: | padding: 24px 24px; | ||
font-size: 1.04rem; | |||
} | |||
.vw-place h2, | |||
.vw-attraction h2 { | |||
margin-top: 46px; | |||
font-size: 2rem; | |||
} | } | ||
.vw- | .vw-place-card, | ||
.vw-attraction-card { | |||
padding: 23px; | |||
} | } | ||
.vw- | .vw-place .wikitable, | ||
.vw-attraction .wikitable { | |||
display: block; | |||
overflow-x: auto; | |||
white-space: normal; | |||
} | } | ||
} | } | ||
| Line 1,272: | Line 1,188: | ||
/* ========================================================= | /* ========================================================= | ||
SMALL | VERY SMALL SCREENS | ||
========================================================= */ | ========================================================= */ | ||
@media (max-width: | @media (max-width: 430px) { | ||
.vw- | .vw-home-hero { | ||
padding-left: 22px; | |||
padding-right: 22px; | |||
} | } | ||
.vw-home-title { | |||
font-size: 3.3rem; | |||
} | |||
} | |||
.vw-place-title, | |||
.vw-attraction-title { | .vw-attraction-title { | ||
font-size: 2.85rem; | |||
} | |||
} | |||
.vw-place-hero, | |||
.vw-attraction-hero { | |||
.vw-attraction- | min-height: 470px; | ||
} | } | ||
.vw-place-summary, | |||
.vw-attraction-summary { | |||
.vw-attraction- | font-size: 1rem; | ||
font-size: | |||
} | } | ||
} | } | ||
Revision as of 00:08, 30 September 2026
/* =========================================================
VIRGINIA.WIKI
MASTER SITE STYLESHEET
========================================================= */
/* =========================================================
SHARED VARIABLES
========================================================= */
.vw-home,
.vw-place,
.vw-attraction {
--vw-navy: #0b2f4f;
--vw-blue: #3e718f;
--vw-green: #56725d;
--vw-sky: #dceaf2;
--vw-cream: #f6f2e7;
--vw-text: #172535;
--vw-muted: #5b6873;
--vw-white: #ffffff;
--vw-border: rgba(11, 47, 79, 0.13);
--vw-shadow: 0 14px 34px rgba(19, 43, 60, 0.12);
color: var(--vw-text);
}
/* =========================================================
GENERAL CONTENT
========================================================= */
.vw-home *,
.vw-place *,
.vw-attraction * {
box-sizing: border-box;
}
.vw-home img,
.vw-place img,
.vw-attraction img {
max-width: 100%;
height: auto;
}
.vw-place,
.vw-attraction {
width: 100%;
max-width: 1320px;
margin: 0 auto;
}
.vw-place p,
.vw-attraction p {
line-height: 1.72;
}
.vw-place li,
.vw-attraction li {
line-height: 1.65;
}
/* =========================================================
MAIN PAGE
========================================================= */
body.page-Main_Page .mw-first-heading,
body.page-Main_Page #firstHeading {
display: none !important;
}
.vw-home {
width: 100%;
max-width: 1320px;
margin: 0 auto;
}
/* =========================================================
HOMEPAGE HERO
========================================================= */
.vw-home-hero {
position: relative;
overflow: hidden;
min-height: 610px;
padding: 105px 95px 120px;
border-radius: 30px;
background:
radial-gradient(
circle at 83% 20%,
rgba(224, 214, 154, 0.42),
transparent 24%
),
linear-gradient(
120deg,
#0b3552 0%,
#245f7d 55%,
#608478 100%
);
box-shadow: 0 24px 60px rgba(15, 44, 62, 0.19);
color: #fff;
}
.vw-home-hero::before,
.vw-home-hero::after {
content: "";
position: absolute;
left: -5%;
right: -5%;
bottom: -1px;
pointer-events: none;
}
.vw-home-hero::before {
height: 185px;
background: #174965;
clip-path: polygon(
0 70%,
10% 34%,
20% 62%,
31% 0,
42% 72%,
53% 33%,
64% 74%,
76% 10%,
87% 67%,
100% 24%,
100% 100%,
0 100%
);
opacity: 0.77;
}
.vw-home-hero::after {
height: 115px;
background: #174f59;
clip-path: polygon(
0 65%,
12% 10%,
24% 78%,
39% 0,
54% 70%,
68% 15%,
83% 72%,
100% 25%,
100% 100%,
0 100%
);
opacity: 0.96;
}
.vw-home-hero-content {
position: relative;
z-index: 3;
max-width: 880px;
}
.vw-home-kicker {
margin-bottom: 20px;
font-size: 0.9rem;
font-weight: 800;
letter-spacing: 0.17em;
text-transform: uppercase;
}
.vw-home-title {
margin: 0;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(4.5rem, 9vw, 7.6rem);
font-weight: 700;
line-height: 0.86;
letter-spacing: -0.045em;
color: #fff;
}
.vw-home-subtitle {
max-width: 870px;
margin-top: 32px;
font-size: clamp(1.25rem, 2vw, 1.65rem);
line-height: 1.5;
color: #fff;
}
/* =========================================================
HOMEPAGE SEARCH
========================================================= */
.vw-home-search {
position: relative;
z-index: 5;
max-width: 760px;
margin-top: 38px;
}
.vw-home-search form {
display: flex;
align-items: stretch;
gap: 14px;
}
.vw-home-search input[type="text"],
.vw-home-search .mw-inputbox-input {
flex: 1;
min-width: 0;
height: 52px;
padding: 0 16px;
border: 1px solid rgba(255,255,255,0.55);
border-radius: 5px;
background: rgba(255,255,255,0.94);
font-size: 1.05rem;
color: var(--vw-text);
}
.vw-home-search input[type="submit"],
.vw-home-search .mw-ui-button {
min-width: 120px;
height: 52px;
padding: 0 24px;
border: 0 !important;
border-radius: 15px !important;
background: #fff !important;
color: var(--vw-navy) !important;
font-weight: 800 !important;
box-shadow: none !important;
}
/* =========================================================
HOMEPAGE SECTIONS
========================================================= */
.vw-home-section {
margin-top: 74px;
}
.vw-home-section-title {
margin: 0 0 10px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2.2rem, 4vw, 3.3rem);
line-height: 1.05;
color: var(--vw-navy);
}
.vw-home-section-intro {
max-width: 850px;
margin: 0 0 30px;
font-size: 1.08rem;
line-height: 1.65;
color: var(--vw-muted);
}
/* =========================================================
DISCOVER VIRGINIA PHOTO CARDS
========================================================= */
.vw-photo-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 22px;
}
.vw-photo-card {
position: relative;
min-height: 300px;
overflow: hidden;
border-radius: 22px;
background: var(--vw-navy);
box-shadow: var(--vw-shadow);
}
.vw-photo-card img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.vw-photo-card::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(5,26,43,0.03) 15%,
rgba(5,26,43,0.78) 100%
);
}
.vw-photo-card-content {
position: absolute;
z-index: 2;
left: 24px;
right: 24px;
bottom: 22px;
color: #fff;
}
.vw-photo-card h3 {
margin: 0 0 5px;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.7rem;
color: #fff;
}
.vw-photo-card p {
margin: 0;
line-height: 1.45;
color: rgba(255,255,255,0.9);
}
/* =========================================================
POPULAR DESTINATIONS
========================================================= */
.vw-destination-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
.vw-destination-card {
position: relative;
min-height: 420px;
overflow: hidden;
border-radius: 25px;
background: var(--vw-navy);
box-shadow: var(--vw-shadow);
}
.vw-destination-card img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.vw-destination-card::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(8,34,51,0.03) 15%,
rgba(8,34,51,0.88) 100%
);
}
.vw-destination-card-content {
position: absolute;
z-index: 3;
left: 34px;
right: 34px;
bottom: 32px;
}
.vw-destination-card h3 {
margin: 0 0 12px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2rem, 3vw, 3rem);
line-height: 1;
color: #fff;
}
.vw-destination-card p {
margin: 0 0 18px;
max-width: 520px;
line-height: 1.55;
color: rgba(255,255,255,0.92);
}
.vw-destination-card a {
display: inline-block;
padding: 10px 17px;
border: 1px solid rgba(255,255,255,0.65);
border-radius: 999px;
color: #fff !important;
font-weight: 700;
text-decoration: none !important;
background: rgba(255,255,255,0.10);
backdrop-filter: blur(5px);
}
.vw-destination-card a:hover {
background: rgba(255,255,255,0.20);
}
/* =========================================================
SECONDARY DESTINATION LINKS
========================================================= */
.vw-destination-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 22px;
}
.vw-destination-links a {
display: inline-block;
padding: 10px 16px;
border: 1px solid var(--vw-border);
border-radius: 999px;
background: rgba(255,255,255,0.72);
color: var(--vw-navy) !important;
font-weight: 700;
text-decoration: none !important;
}
.vw-destination-links a:hover {
background: #fff;
}
/* =========================================================
HOMEPAGE FEATURE CARDS
========================================================= */
.vw-feature-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}
.vw-feature-card {
padding: 30px;
border: 1px solid var(--vw-border);
border-radius: 22px;
background: rgba(255,255,255,0.83);
box-shadow: 0 10px 26px rgba(19,43,60,0.07);
}
.vw-feature-card h3 {
margin: 0 0 10px;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.65rem;
color: var(--vw-navy);
}
.vw-feature-card p {
margin: 0 0 15px;
line-height: 1.6;
color: var(--vw-muted);
}
.vw-feature-card a {
color: var(--vw-blue) !important;
font-weight: 700;
}
/* =========================================================
START EXPLORING PANEL
========================================================= */
.vw-start-panel {
margin-top: 78px;
padding: 54px;
border-radius: 28px;
background:
linear-gradient(
135deg,
#0b2f4f 0%,
#194b67 55%,
#466b60 100%
);
color: #fff;
box-shadow: var(--vw-shadow);
}
.vw-start-panel h2 {
margin: 0 0 14px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2.2rem, 4vw, 3.5rem);
color: #fff;
}
.vw-start-panel p {
max-width: 850px;
margin: 0;
font-size: 1.08rem;
line-height: 1.65;
color: rgba(255,255,255,0.9);
}
/* =========================================================
PLACE PAGES
========================================================= */
body.page-Williamsburg_Virginia .mw-first-heading,
body.page-Williamsburg_Virginia #firstHeading,
body.page-Jamestown_Virginia .mw-first-heading,
body.page-Jamestown_Virginia #firstHeading,
body.page-Yorktown_Virginia .mw-first-heading,
body.page-Yorktown_Virginia #firstHeading {
display: none !important;
}
/* =========================================================
PLACE HERO
========================================================= */
.vw-place-hero {
position: relative;
width: 100%;
min-height: 560px;
overflow: hidden;
margin-bottom: 28px;
border-radius: 28px;
background: var(--vw-navy);
box-shadow: var(--vw-shadow);
}
.vw-place-hero-image {
position: absolute;
inset: 0;
}
.vw-place-hero-image .mw-file-element,
.vw-place-hero-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
}
.vw-place-hero-image a {
display: block;
width: 100%;
height: 100%;
}
.vw-place-hero::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
180deg,
rgba(6,27,44,0.08) 0%,
rgba(6,27,44,0.25) 35%,
rgba(6,27,44,0.88) 100%
);
}
.vw-place-hero-overlay {
position: absolute;
z-index: 3;
left: 6%;
right: 6%;
bottom: 8%;
color: #fff;
}
.vw-place-kicker {
margin-bottom: 12px;
font-size: 0.83rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
color: rgba(255,255,255,0.92);
}
.vw-place-title {
max-width: 1050px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(4rem, 8vw, 7rem);
font-weight: 700;
line-height: 0.9;
letter-spacing: -0.035em;
color: #fff;
}
.vw-place-summary {
max-width: 920px;
margin-top: 20px;
font-size: clamp(1.15rem, 2vw, 1.45rem);
line-height: 1.55;
color: rgba(255,255,255,0.96);
}
/* =========================================================
PLACE QUICK FACTS
========================================================= */
.vw-place-quickfacts {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
margin: 0 0 38px;
}
.vw-place-quickfacts > div {
padding: 20px 22px;
border: 1px solid var(--vw-border);
border-radius: 16px;
background: rgba(255,255,255,0.84);
box-shadow: 0 8px 20px rgba(17,44,64,0.06);
line-height: 1.45;
}
.vw-place-quickfacts strong,
.vw-place-quickfacts b {
color: var(--vw-navy);
}
/* =========================================================
PLACE INTRO
========================================================= */
.vw-place-intro {
max-width: 1040px;
margin: 0 auto 50px;
padding: 30px 34px;
border-left: 5px solid var(--vw-green);
border-radius: 0 18px 18px 0;
background: rgba(255,255,255,0.68);
font-size: 1.12rem;
line-height: 1.75;
}
/* =========================================================
PLACE HEADINGS
========================================================= */
.vw-place h2 {
margin-top: 58px;
padding-bottom: 10px;
border-bottom: 1px solid var(--vw-border);
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2rem, 3vw, 2.65rem);
color: var(--vw-navy);
}
.vw-place h3 {
font-family: Georgia, "Times New Roman", serif;
color: var(--vw-navy);
}
/* =========================================================
PLACE CARD GRID
========================================================= */
.vw-place-card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
margin: 28px 0 42px;
}
.vw-place-card {
padding: 27px;
border: 1px solid var(--vw-border);
border-radius: 18px;
background: rgba(255,255,255,0.83);
box-shadow: 0 10px 24px rgba(17,44,64,0.065);
}
.vw-place-card h3 {
margin: 0 0 10px;
font-size: 1.45rem;
}
.vw-place-card h3 a {
color: var(--vw-navy) !important;
text-decoration: none !important;
}
.vw-place-card h3 a:hover {
color: var(--vw-blue) !important;
}
.vw-place-card p {
margin-bottom: 0;
}
/* =========================================================
PLACE EXPLORE / NEARBY GRID
========================================================= */
.vw-place-explore-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin: 25px 0 42px;
}
.vw-place-explore-grid > div {
padding: 23px 25px;
border: 1px solid var(--vw-border);
border-radius: 17px;
background: rgba(255,255,255,0.82);
box-shadow: 0 8px 20px rgba(17,44,64,0.055);
}
.vw-place-explore-grid a {
color: var(--vw-navy) !important;
font-size: 1.08rem;
text-decoration: none !important;
}
/* =========================================================
ATTRACTION PAGES
========================================================= */
body.page-Colonial_Williamsburg .mw-first-heading,
body.page-Colonial_Williamsburg #firstHeading,
body.page-Busch_Gardens_Williamsburg .mw-first-heading,
body.page-Busch_Gardens_Williamsburg #firstHeading,
body.page-Historic_Jamestowne .mw-first-heading,
body.page-Historic_Jamestowne #firstHeading,
body.page-Jamestown_Settlement .mw-first-heading,
body.page-Jamestown_Settlement #firstHeading,
body.page-American_Revolution_Museum_at_Yorktown .mw-first-heading,
body.page-American_Revolution_Museum_at_Yorktown #firstHeading {
display: none !important;
}
/* =========================================================
ATTRACTION HERO
========================================================= */
.vw-attraction-hero {
position: relative;
width: 100%;
min-height: 560px;
overflow: hidden;
margin-bottom: 28px;
border-radius: 28px;
background: var(--vw-navy);
box-shadow: var(--vw-shadow);
}
.vw-attraction-hero-image {
position: absolute;
inset: 0;
}
.vw-attraction-hero-image .mw-file-element,
.vw-attraction-hero-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
}
.vw-attraction-hero-image a {
display: block;
width: 100%;
height: 100%;
}
.vw-attraction-hero::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
180deg,
rgba(5,21,35,0.08) 0%,
rgba(5,21,35,0.27) 34%,
rgba(5,21,35,0.93) 100%
);
}
.vw-attraction-hero-overlay {
position: absolute;
z-index: 3;
left: 6%;
right: 6%;
bottom: 8%;
color: #fff;
}
.vw-attraction-kicker {
margin-bottom: 12px;
font-size: 0.83rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
color: rgba(255,255,255,0.92);
}
.vw-attraction-title {
max-width: 1120px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(4rem, 8vw, 7rem);
font-weight: 700;
line-height: 0.9;
letter-spacing: -0.035em;
color: #fff;
}
.vw-attraction-summary {
max-width: 980px;
margin-top: 20px;
font-size: clamp(1.12rem, 2vw, 1.45rem);
line-height: 1.52;
color: rgba(255,255,255,0.96);
}
/* =========================================================
ATTRACTION QUICK FACTS
========================================================= */
.vw-attraction-quickfacts {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
margin: 0 0 38px;
}
.vw-attraction-quickfacts > div {
padding: 20px 22px;
border: 1px solid var(--vw-border);
border-radius: 16px;
background: rgba(255,255,255,0.84);
box-shadow: 0 8px 20px rgba(17,44,64,0.06);
line-height: 1.45;
}
.vw-attraction-quickfacts strong,
.vw-attraction-quickfacts b {
color: var(--vw-navy);
}
/* =========================================================
ATTRACTION INTRO
========================================================= */
.vw-attraction-intro {
max-width: 1040px;
margin: 0 auto 50px;
padding: 30px 34px;
border-left: 5px solid var(--vw-blue);
border-radius: 0 18px 18px 0;
background: rgba(255,255,255,0.68);
font-size: 1.12rem;
line-height: 1.75;
}
/* =========================================================
ATTRACTION HEADINGS
========================================================= */
.vw-attraction h2 {
margin-top: 58px;
padding-bottom: 10px;
border-bottom: 1px solid var(--vw-border);
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(2rem, 3vw, 2.65rem);
color: var(--vw-navy);
}
.vw-attraction h3 {
font-family: Georgia, "Times New Roman", serif;
color: var(--vw-navy);
}
/* =========================================================
ATTRACTION CARD GRID
========================================================= */
.vw-attraction-card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
margin: 28px 0 42px;
}
.vw-attraction-card {
padding: 27px;
border: 1px solid var(--vw-border);
border-radius: 18px;
background: rgba(255,255,255,0.83);
box-shadow: 0 10px 24px rgba(17,44,64,0.065);
}
.vw-attraction-card h3 {
margin: 0 0 10px;
font-size: 1.45rem;
}
.vw-attraction-card h3 a {
color: var(--vw-navy) !important;
text-decoration: none !important;
}
.vw-attraction-card h3 a:hover {
color: var(--vw-blue) !important;
}
.vw-attraction-card p {
margin-bottom: 0;
}
/* =========================================================
VISIT / PLANNING GRID
========================================================= */
.vw-visit-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin: 27px 0 42px;
}
.vw-visit-grid > div {
padding: 23px 25px;
border: 1px solid var(--vw-border);
border-radius: 17px;
background: rgba(246,242,231,0.75);
box-shadow: 0 7px 20px rgba(17,44,64,0.05);
line-height: 1.58;
}
.vw-visit-grid strong,
.vw-visit-grid b {
color: var(--vw-navy);
font-size: 1.04rem;
}
/* =========================================================
ATTRACTION NEARBY GRID
========================================================= */
.vw-attraction-nearby-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
margin: 25px 0 42px;
}
.vw-attraction-nearby-grid > div {
padding: 23px 24px;
border: 1px solid var(--vw-border);
border-radius: 17px;
background: rgba(255,255,255,0.82);
box-shadow: 0 8px 20px rgba(17,44,64,0.055);
line-height: 1.55;
}
.vw-attraction-nearby-grid a {
color: var(--vw-navy) !important;
font-size: 1.07rem;
text-decoration: none !important;
}
/* =========================================================
TABLES
========================================================= */
.vw-place .wikitable,
.vw-attraction .wikitable {
width: 100%;
margin: 24px 0 36px;
border: 1px solid var(--vw-border);
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
border-radius: 14px;
background: rgba(255,255,255,0.80);
box-shadow: 0 6px 18px rgba(17,44,64,0.045);
}
.vw-place .wikitable th,
.vw-attraction .wikitable th {
padding: 14px 16px;
border: 0;
border-bottom: 1px solid rgba(255,255,255,0.20);
background: var(--vw-navy);
color: #fff;
text-align: left;
}
.vw-place .wikitable td,
.vw-attraction .wikitable td {
padding: 13px 16px;
border: 0;
border-bottom: 1px solid var(--vw-border);
vertical-align: top;
}
.vw-place .wikitable tr:last-child td,
.vw-attraction .wikitable tr:last-child td {
border-bottom: 0;
}
/* =========================================================
REFERENCES
========================================================= */
.vw-place .references,
.vw-attraction .references {
font-size: 0.92rem;
line-height: 1.5;
color: #4d5963;
}
.vw-place .references li,
.vw-attraction .references li {
margin-bottom: 8px;
}
/* =========================================================
LINKS
========================================================= */
.vw-place a,
.vw-attraction a {
text-underline-offset: 2px;
}
.vw-place a.new,
.vw-attraction a.new {
color: #a34242;
}
/* =========================================================
RESPONSIVE — TABLET
========================================================= */
@media (max-width: 1000px) {
.vw-home-hero {
min-height: 560px;
padding: 85px 60px 110px;
}
.vw-photo-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vw-feature-grid {
grid-template-columns: 1fr;
}
.vw-place-quickfacts,
.vw-attraction-quickfacts {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vw-attraction-nearby-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vw-place-hero,
.vw-attraction-hero {
min-height: 510px;
}
}
/* =========================================================
RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 700px) {
.vw-home-hero {
min-height: 520px;
padding: 65px 28px 100px;
border-radius: 20px;
}
.vw-home-title {
font-size: clamp(3.4rem, 17vw, 5.1rem);
}
.vw-home-subtitle {
font-size: 1.1rem;
}
.vw-home-search form {
flex-direction: column;
gap: 10px;
}
.vw-home-search input[type="submit"],
.vw-home-search .mw-ui-button {
width: 100%;
}
.vw-photo-grid,
.vw-destination-grid,
.vw-feature-grid,
.vw-place-card-grid,
.vw-place-explore-grid,
.vw-attraction-card-grid,
.vw-visit-grid,
.vw-attraction-nearby-grid {
grid-template-columns: 1fr;
}
.vw-photo-card {
min-height: 270px;
}
.vw-destination-card {
min-height: 360px;
}
.vw-start-panel {
padding: 34px 26px;
border-radius: 20px;
}
.vw-place-hero,
.vw-attraction-hero {
min-height: 500px;
border-radius: 20px;
}
.vw-place-hero-overlay,
.vw-attraction-hero-overlay {
left: 7%;
right: 7%;
bottom: 7%;
}
.vw-place-title,
.vw-attraction-title {
font-size: clamp(3rem, 15vw, 4.6rem);
line-height: 0.92;
}
.vw-place-summary,
.vw-attraction-summary {
margin-top: 16px;
font-size: 1.06rem;
line-height: 1.45;
}
.vw-place-quickfacts,
.vw-attraction-quickfacts {
grid-template-columns: 1fr;
}
.vw-place-intro,
.vw-attraction-intro {
padding: 24px 24px;
font-size: 1.04rem;
}
.vw-place h2,
.vw-attraction h2 {
margin-top: 46px;
font-size: 2rem;
}
.vw-place-card,
.vw-attraction-card {
padding: 23px;
}
.vw-place .wikitable,
.vw-attraction .wikitable {
display: block;
overflow-x: auto;
white-space: normal;
}
}
/* =========================================================
VERY SMALL SCREENS
========================================================= */
@media (max-width: 430px) {
.vw-home-hero {
padding-left: 22px;
padding-right: 22px;
}
.vw-home-title {
font-size: 3.3rem;
}
.vw-place-title,
.vw-attraction-title {
font-size: 2.85rem;
}
.vw-place-hero,
.vw-attraction-hero {
min-height: 470px;
}
.vw-place-summary,
.vw-attraction-summary {
font-size: 1rem;
}
}