Newer
Older
<section id="narrativeIntro">
<div id="grid-container" class= "text-container">
<div id="text2" >
<p v-html="t('text.components.introNarrative.paragraph1')"></p>
<img id="image1" src="@/assets/images/water_security_not-stylized.png" class="img" alt="Stylized city-scape image with buildings in background and lush green grass surrounding pond in foreground."/>
<img id="image2" src="@/assets/images/water_insecurity_not-stylized.png" class="img" alt="Stylized image with an orange hue displaying a home surrounded by sagebrush, barren land, and a nearby road."/>
<p v-html="t('text.components.introNarrative.paragraph2')"></p>
</div>
<div id="text4" class="text-container">
<p v-html="t('text.components.introNarrative.paragraph3')"></p>
</div>
<div id="text5" class="text-container">
<p v-html="t('text.components.introNarrative.paragraph4')"></p>
</div>
</section>
</template>
}
#grid-container {
display: grid;
vertical-align: middle;
grid-template-areas:
"text2 image1"
"image2 text3";
box-sizing: border-box;
}
#text2 {
grid-area: text2;
}
#text3 {
grid-area: text3;
}
#image1 {
grid-area: image1;
}
#image2 {
grid-area: image2;
@media screen and (max-width: 700px) {
#grid-container {
grid-template-columns: 1fr;
grid-template-areas:
"image1"
"text2"
"image2"
"text3";
}
}
#water-hazards-tooltip {
z-index: 99;
margin-left: -175px;
}
#social-vulnerability-tooltip {
margin-left: -145px;