article
dl
div.cell
div.cell-content
dt Sep 24
dd Cargo Ready
div.cell
div.cell-content
dt Sep 25
dd Pickup Date
div.cell
div.cell-content
dt Oct 01
dd Cutoff Date
div.cell
div.cell-content
dt Oct 07
dd FMC Date
div.cell
div.cell-content
dt Oct 20
dd ATD
dd ETD
div.cell
div.cell-content
dt Nov 20
dd Est DSH
dd DSH
div.cell
div.cell-content
dt Nov 28
dd ETA Original
div.cell
div.cell-content
dt Dec 31
dd FMC End Date
View Compiled
@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900);
html {
--background: #212226;
--primary: #00af41;
--line: #a6a7b5;
}
body {
background: var(--background);
// background: black;
font-family: Montserrat;
letter-spacing: 0.03em;
color: white;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
article {
padding: .25rem .5rem 0 1rem;
background: var(--background);
}
dl {
display: grid;
grid-auto-columns: max-content;
grid-auto-flow: column;
grid-template-rows: auto auto;
.cell {
grid-column: span 2;
display: flex;
padding: 0 1rem;
&:nth-child(2) {
grid-column: span 3;
justify-content: flex-end;
}
.cell-content {
display: inline-flex;
flex-direction: column;
border-left: 1px dashed var(--line);
position: relative;
background: var(--background);
&::after {
content: '';
display: block;
background: var(--line);
height: .5rem;
width: .5rem;
position: absolute;
left: -.25rem;
border-radius: 50%;
}
dt {
background: var(--background);
color: var(--primary);
padding-bottom: .25em;
position: relative;
left: -.25rem;
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 600;
}
dd {
background: var(--background);
margin: 0;
position: relative;
left: -.25rem;
color: #f4f4f6;
}
}
&:nth-child(odd) .cell-content {
padding-bottom: 1rem;
border-bottom: 1px solid var(--line);
&::after {
bottom: -.25rem;
}
dd:last-child {
padding-bottom: .5rem;
}
}
&:nth-child(even) .cell-content {
padding-top: 1rem;
position: relative;
top: -1px;
border-top: 1px solid var(--line);
&::after {
top: -.25rem;
}
dt {
padding-top: .5rem;
}
dd {
flex-grow: 1;
}
}
&:last-child .cell-content {
border-top-color: transparent;
border-bottom-color: transparent;
}
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.