Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!-- Flickity CSS -->
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css" />
<link rel="stylesheet" href="https://unpkg.com/flickity-fullscreen@1/fullscreen.css" />

<link rel="stylesheet"
      href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@700&family=Fira+Sans:wght@400;500;700&display=swap" />
<link href="https://fonts.googleapis.com/css2?family=Pangolin&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/about-me.css" />

<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/394a6f4148.js" crossorigin="anonymous"></script>

<!-- Flickity JS -->
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://unpkg.com/flickity-fullscreen@1/fullscreen.js"></script>

<header>
  <h1>In the beginning...</h1>
</header>

<ol class="timeline">
  <div class="timeline-period">
    <h2>Childhood <span class="fad fa-child"></span></h2>
  </div>
  <li class="timeline-item">
    <div class="timeline-date">1982-1990</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                            "fullscreen": true,
                            "lazyLoad": true,
                            "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/0.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/1.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/2.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/3.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/4.jpg" />
        </div>
      </div>
      <h3>Being born &nbsp; <i class="fad fa-baby-carriage"></i></h3>
      <p>I had a blessed childhood.  I was effectively an only child.  My dad worked the opposite hours of my mom, and then retired when I was 2, so I had constant parental attention.  My mother was a highschool biology teacher and our house was always full of pets and animals.  She often came home with birds she would find that were either orphaned babies or badly injured.  I believe my earliest memory was releasing one into our backyard and watching it successfully fly away.  I consider myself a huge animal lover and I'm sure her influence is the reason why.</p>
    </div>
  </li>
  <li class="timeline-item">
    <div class="timeline-date">1987-2000</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                            "fullscreen": true,
                            "lazyLoad": true,
                            "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/11.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/12.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/13.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/14.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/15.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/16.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/17.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/18.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/19.jpg" />
        </div>
      </div>
      <h3>Traveling &nbsp; <i class="fad fa-rv"></i></h3>
      <p>My father was retired from the army, which meant we got to fly <a href="https://www.militaryonesource.mil/recreation-travel-shopping/travel/travel-planning/plan-your-trip-with-space-a-travel" target="_blank">"space-available"</a>.  In other words: we could ride along for free on any military flight with extra space.  This resulted in epic trips every summer.  During these years I got to visit Australia, Turkey, Iceland, London, The Azores, Paris, Alaska, and China, often for several months.  Did I mention before that my childhood was blessed?</p>
    </div>
  </li>
  <div class="timeline-period">
    <h2>Early Adulthood &nbsp; <i class="fad fa-school"></i></h2>
  </div>
  <li class="timeline-item">
    <div class="timeline-date">June, 2004</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                            "fullscreen": true,
                            "lazyLoad": true,
                            "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/20.jpg" />
        </div>
      </div>
      <h3>Learning &nbsp; <i class="fad fa-graduation-cap"></i></h3>
      <p>I majored in Computer Science from <a href="https://vt.edu/" target="_blank">Va Tech</a>.  I enjoyed the social aspects of college, and I made great lifelong friends while there.  But from a career perspective I'm not sure it was really worth the time and money.  C'est la vie.</p>
    </div>
  </li>
  <li class="timeline-item">
    <div class="timeline-date">2004-2005</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                            "fullscreen": true,
                            "lazyLoad": true,
                            "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/21.jpg" />
        </div>
      </div>
      <h3>Teaching &nbsp; <i class="fad fa-chalkboard-teacher"></i></h3>
      <p>Somehow I got the idea it could be fun to share my passion for coding as a highschool Computer Science teacher.  This is a photo of the students in my class.  These are middle schoolers (I was waiting for a CS position to become available).  Hopefully they went on to have much better teachers than me.</p>
    </div>
  </li>
  <div class="timeline-period">
    <h2>The Facebook Years &nbsp; <i class="fab fa-facebook"></i></h2>
  </div>
  <li class="timeline-item">
    <div class="timeline-date">2008-2010</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                              "fullscreen": true,
                              "lazyLoad": true,
                              "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/26.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/27.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/28.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/29.jpg" />
        </div>
      </div>
      <h3>Moving to Palo Alto &nbsp; <i class="fab fa-facebook"></i></h3>
      <p>In 2008 I moved to Palo Alto to join a "startup" called <a href="https://www.facebook.com/" target="_blank">Facebook</a>.  After bootcamp I joined the <a href="https://developers.facebook.com/" target="_blank">Platform</a> Team.  I was unreasonably excited, and it turned out to be justified: my 4 years at FB were the best of my career.  It was an amazing experience.</p>
    </div>
  </li>
  <li class="timeline-item">
    <div class="timeline-date">Jan, 2011</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                              "fullscreen": true,
                              "lazyLoad": true,
                              "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/34.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/35.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/36.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/37.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/38.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/39.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/40.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/41.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/42.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/43.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/44.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/45.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/46.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/47.jpg" />
        </div>
      </div>
      <h3>Falling in love &nbsp; <i class="fad fa-heart"></i></h3>
      <p>At a friends' birthday party I had the amazing fortune to meet <a href="https://www.facebook.com/danielle.zipp" target="_blank">Danielle Zipp</a>.  We've been inseparable ever since and I wouldn't have it any other way.</p>
    </div>
  </li>
  <div class="timeline-period">
    <h2>The Retirement Years &nbsp; <i class="fad fa-plane-departure"></i></h2>
  </div>
  <li class="timeline-item">
    <div class="timeline-date">All of 2013</div>
    <div class="timeline-content">
      <div class="carousel"
           data-flickity='{ "wrapAround": true,
                              "fullscreen": true,
                              "lazyLoad": true,
                              "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/48.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/49.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/50.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/51.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/52.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/53.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/54.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/55.jpg" />
        </div>
      </div>
      <h3>Traveling &nbsp; <i class="fad fa-luggage-cart"></i></h3>
      <p>In late 2012 I quit FB and embarked on a year long journey of world travel.  It will undoubtedly always remain one of the most memorable years of my life.  Danielle and I often reminisce on it.</p>
    </div>
  </li>
  <li class="timeline-item">
    <div class="timeline-date">April, 2015</div>
    <div class="timeline-content">
      <div class="carousel"
            data-flickity='{ "wrapAround": true,
                              "fullscreen": true,
                              "lazyLoad": true,
                              "pageDots": false }'>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/56.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/57.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/58.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/59.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/60.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/61.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/62.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/63.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/64.jpg" />
        </div>
        <div class="carousel-cell">
          <img class="carousel-image" data-flickity-lazyload="http://jubishop.com/img/65.jpg" />
        </div>
      </div>
      <h3>Adopting Belle &nbsp; <i class="fad fa-dog"></i></h3>
      <p>Our first addition to our family came in the form of an incredibly sweet and adorable Australian Shepherd we named "Belle".  She's full of energy and love and makes all our hikes and adventures magnitudes more fun.  We love her tremendously.</p>
    </div>
  </li>
  <div class="timeline-period">
    <h2>Returning to Work &nbsp; <i class="fad fa-house-leave"></i></h2>
  </div>
  <li class="timeline-item">
    <div class="timeline-date">Sept, 2019</div>
    <div class="timeline-content">
      <div class="carousel">
        <div class="carousel-cell">
          <img class="carousel-image" src="http://jubishop.com/img/81.jpg" />
        </div>
      </div>
      <h3>Google &nbsp; <i class="fab fa-google"></i></h3>
      <p>After nearly 7 years of mid-life retirement:  I finally got another job.  I put a lot of effort into choosing my first foray back into professional life.  The perks and opportunities offered by Google were just too good to pass up, so in September of 2019 I officially became a Noogler.  I began on the Core Maps team, focusing on the rendering platform for Maps on the Web, before joining an internal team named "Perfgate" that develops Google's primary performance-testing infrastructure.  It is a fascinating place, with unique technical challenges.</p>
    </div>
  </li>
</ol>
              
            
!

CSS

              
                :root {
  --main-bg-color: #111;
  --main-text-color: #EEE;
}

body {
  background: var(--main-bg-color);
  color: var(--main-text-color);
  font-family: "Fira Sans", sans-serif;
}

h1 {
  font-size: 3em;
  margin-bottom: 0;
  margin-top: 1em;
  text-align: center;
}

a:link,
a:visited {
  color: orange;
}
a:hover {
  color: teal;
}
a:active {
  color: hotpink;
}

.timeline {
  --dot-size: 1.6rem;
  --dot-margin: 0.6rem;
  --line-color: orange;
  --vertical-line-width: 0.2rem;

  list-style: none;
  margin: 0;
  padding: 1rem;
}

/* THIN (DEFAULT) CSS */
.timeline-item {
  margin-top: var(--dot-margin);
  padding-left: 2em;
  position: relative;
}

@keyframes heart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1); }
  50% { transform: scale(1.2); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}
.timeline-item::before {
  animation: heart-pulse 1s ease-in-out infinite alternate;
  content: "\f21e";
  display: inline-block;
  font-family: "Font Awesome 5 Pro";

  font-size: var(--dot-size);
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  font-weight: 900;

  left: 0;
  position: absolute;
  text-rendering: auto;
}

.timeline-item::after {
  background: var(--line-color);
  bottom: 0;
  content: "";
  left: calc((var(--dot-size) - var(--vertical-line-width)) / 2);
  position: absolute;
  top: calc(var(--dot-size) + var(--dot-margin));
  width: var(--vertical-line-width);
}

.timeline-date {
  font-family: 'Pangolin', cursive;
  font-size: 1.5em;
  text-transform: uppercase;
}

.timeline-content {
  padding-bottom: 2.5em;
}
.timeline-content h3 {
  font-size: 1.5em;
  margin-bottom: 0.5rem;
  margin-top: 0em;
}
.timeline-content p {
  margin: 0;
}

/* FLICKITY */
.carousel {
  background: dimgrey;
  margin-bottom: 0.5em;
  margin-top: calc(var(--dot-size) / 2);
}
.carousel-cell {
  align-items: center;
  display: flex;
  height: 20em;
  justify-content: center;
  width: 100%;
}
.carousel.is-fullscreen {
  margin: 0;
}
.carousel.is-fullscreen .carousel-cell {
  height: 100%;
}
.carousel-image {
  max-height: 100%;
  max-width: 100%;
}
.flickity-button {
  background: grey;
}
@media (hover: hover) {
  .flickity-button:hover {
    background: orange;
  }
}
.flickity-button-icon {
  fill: white;
}
.flickity-fullscreen-button {
  --corner-padding: 0.5em;
  --size: 2em;

  border-radius: 0.25em;
}
@media (pointer: coarse) {
  .flickity-fullscreen-button {
    --corner-padding: 1.5em;
    --size: 5em;

    border-radius: 0.75em;
  }
}
.flickity-fullscreen-button {
  height: var(--size);
  right: var(--corner-padding);
  top: var(--corner-padding);
  width: var(--size);
}
.flickity-fullscreen-button .flickity-button-icon {
  --icon-padding: 20%;

  height: calc(100% - var(--icon-padding) * 2);
  left: var(--icon-padding);
  top: var(--icon-padding);
  width: calc(100% - var(--icon-padding) * 2);
}
.flickity-prev-next-button {
  --edge-padding: 0.75em;
  --size: 3em;

  border-radius: 0.5em;
}
@media (pointer: coarse) {
  .flickity-prev-next-button {
    --edge-padding: 1.5em;
    --size: 6em;

    border-radius: 1em;
  }
}
.flickity-prev-next-button {
  height: var(--size);
  width: var(--size);
}
.flickity-prev-next-button.previous {
  left: var(--edge-padding);
}
.flickity-prev-next-button.next {
  right: var(--edge-padding);
}
/* END FLICKITY */

.timeline-period {
  --period-padding: 2em;
  --separator-thickness: 0.2em;

  border-bottom: var(--separator-thickness) solid var(--line-color);
  border-top: var(--separator-thickness) solid var(--line-color);
  margin: var(--period-padding) 0;
  position: relative;
  width: 100%;
}

.timeline-period::before,
.timeline-period::after {
  background: var(--line-color);
  content: "";
  left: calc((var(--dot-size) - var(--vertical-line-width)) / 2);
  position: absolute;
  width: var(--vertical-line-width);
}

.timeline-period::before {
  height: calc(var(--period-padding) + 1px);
  top: calc(var(--period-padding) * -1 - var(--separator-thickness));
}

.timeline-period::after {
  bottom: calc(var(--period-padding) * -1 + var(--dot-margin) - var(--separator-thickness));
  height: calc(var(--period-padding) - var(--dot-margin) + 1px);
}

/* FONT AWESOME ICONS */
.fad, .fab, .fas {
  --fa-primary-opacity: 1.0;
  --fa-secondary-opacity: 1.0;
  --fa-primary-color: teal;
  --fa-secondary-color: orange;
}
h2 .fad, h2 .fab, h2 .fas {
  font-size: 2em;
}
.fa-facebook {
  color: #4267B2;
}
@keyframes love-throb {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(2) translate(0, -0.1em); }
}
.fa-heart {
  --fa-primary-color: red;
  --fa-secondary-color: red;
  --fa-secondary-opacity: 0.6;

  animation: love-throb 1s ease-in-out infinite alternate;
}
@keyframes google-gradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
.fa-google {
  --google-red: rgb(219,68,55);
  --google-yellow: rgb(244,160,0);
  --google-green: rgb(15,157,88);
  --google-blue: rgb(66,133,244);
  animation: google-gradient 4s ease-in-out infinite;
  background: linear-gradient(
                  -45deg,
                  var(--google-blue) 0%,
                  var(--google-blue) 32%,
                  var(--google-yellow) 32%,
                  var(--google-yellow) 51%,
                  var(--google-green) 51%,
                  var(--google-green) 70%,
                  var(--google-red) 70%,
                  var(--google-red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 400%;
  padding: 1px;
  -webkit-text-fill-color: transparent;
}

@keyframes point-right {
  0% { transform: translate(0, 0); }
  20% { transform: translate(0, 0); }
  50% { transform: translate(0.2em, 0); }
  80% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); }
}
@keyframes point-left {
  0% { transform: translate(0, 0); }
  20% { transform: translate(0, 0); }
  50% { transform: translate(-0.2em, 0); }
  80% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); }
}

/* MEDIUM SCREENS */
@media only screen and (min-width: 768px) {
  .timeline {
    --grid-gap: 3rem;
    --left-column-width: 8rem;
  }

  .timeline-item {
    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: var(--left-column-width) auto;
    padding: 0;
  }
  .timeline-item::before {
    animation-name: point-right;
    content: "\f101";
    left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--dot-size) / 2);
  }

  .timeline-date {
    font-size: 1.3em;
    padding-top: calc((var(--dot-size) - 1em) / 2);
  }

  .timeline-period {
    left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--dot-size) / 2);
  }

  .timeline-period {
    width: calc(100% - var(--left-column-width) - var(--grid-gap) / 2 + var(--dot-size) / 2);
  }

  .timeline-item::after {
    left: calc(var(--left-column-width) + var(--grid-gap) / 2 - var(--vertical-line-width) / 2);
  }

  .timeline-content {
    padding-top: 0;
  }

  .timeline-date {
    text-align: right;
  }
}

/* WIDE SCREENS */
@media only screen and (min-width: 1024px) {
  .timeline-item {
    grid-template-columns: 50% 50%;
    width: calc(100% - var(--grid-gap));
  }

  .timeline-item:nth-of-type(even) {
    grid-template-areas: "date content";
  }

  .timeline-item:nth-of-type(odd) .timeline-date {
    text-align: left;
  }

  .timeline-item:nth-of-type(odd) .timeline-content {
    text-align: right;
  }

  .timeline-item:nth-of-type(odd) {
    grid-template-areas: "content date";
  }

  .timeline-item::before {
    left: calc(50% + var(--grid-gap) / 2 - var(--dot-size) / 2);
  }
  .timeline-item:nth-of-type(odd)::before {
    animation-name: point-left;
    content: "\f100";
  }

  .timeline-item::after {
    left: calc(50% + var(--grid-gap) / 2 - var(--vertical-line-width) / 2);
  }

  .timeline-date {
    font-size: 1.5em;
    grid-area: date;
  }

  .timeline-content {
    grid-area: content;
  }

  .timeline-period {
    left: 0;
    text-align: center;
    width: 100%;
  }

  .timeline-period::before,
  .timeline-period::after {
    left: calc(50% - var(--vertical-line-width) / 2);
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console