Skip to content

Instantly share code, notes, and snippets.

@csessig86
Last active November 29, 2018 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csessig86/7f5279d8893bfc00c2e3112fff2d3011 to your computer and use it in GitHub Desktop.
Save csessig86/7f5279d8893bfc00c2e3112fff2d3011 to your computer and use it in GitHub Desktop.
Gulf infastructure embed
<!-- Pym -->
<script defer src="https://pym.nprapps.org/pym.v1.min.js"></script>
<!-- Graphic -->
<div class="dv201808-graphic dv201808-graphic--centered dv201808-graphic--centered-narrow" data-pym-src="https://graphics.texastribune.org/graphics/tx-gulf-infastructure-2018-11/">Loading...</div>
<!-- Styles to help with breakpoints -->
<style class="dv201808">
.dv201808-graphic {
clear: both;
margin-bottom: 1.25rem;
margin-top: 1.25rem;
padding-left: .85rem;
padding-right: .85rem;
}
.dv201808-graphic--centered {
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
@media screen and (min-width: 43.75em) {
.dv201808-graphic {
padding-left: 0;
padding-right: 0;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment