Jake Vanderwerf
7 days ago 46d681c6b825d21b3f698d793c4e630c687d90ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
main {
    --gap: 0;
    section:last-of-type {
        margin-bottom: 0;
    }
}
 
#at-a-glance {
    padding: 0 10vw;
    --gap: 0;
    img {
        width: 100%;
        height: auto;
        border: 2px solid var(--action-0);
    }
    h3 {
        font-size: var(--txt-x-small);
    }
    .before {
        img {
            border-right-width: 1px;
            border-left: 0;
            border-top: 0;
        }
    }
    .after {
        img {
            border-left-width: 1px;
            border-right: 0;
            border-bottom: 0;
        }
    }
}
 
.timeline-point.timeline-point {
    --lineWidth: 1px;
    --gap: 2rem;
    padding: 0;
    margin:0;
    background-color: var(--base);
    max-width: 100vw;
    position: relative;
    overflow: hidden;
    img {
        width: 40%;
        border-radius: 4px;
        position: sticky;
        padding: .5rem;
    }
    .info {
        padding: 1rem .5rem .5rem;
        width: 60%;
        position: relative;
        h2 {
            margin: 0 0 .5rem;
            font-size: var(--txt-medium);
            position: relative;
            .icon {
                --w: 2.5rem;
                transform: rotate(-90deg);
                position: absolute;
                left: -2.5rem;
                top: .25rem;
                background-color: var(--action-100);
            }
        }
 
    }
    &::before,
    &::after {
        content: '';
        display: block;
        position: absolute;
        left: 45%;
        height: 100%;
        width: var(--lineWidth);
        background-color: var(--action-0);
        //box-shadow: var(--action-shadow);
    }
    &::before {
        height: 1rem;
    }
    &::after {
        top: 4rem;
    }
    &#before-treatment::before,
    &:last-of-type::after {
        display: none;
    }
}
@media (min-width:768px) {
    #at-a-glance {
        h3  {
            font-size: var(--txt-x-large);
        }
    }
    .timeline-point.timeline-point {
        --gap: 4rem;
        img {
            width: 50%;
        }
        .info {
            width: 50%;
            padding: 25vh 1rem 1rem;
            h2 {
                .icon {
                    --w: 4rem;
                    left: -6.15rem;
                    top: 0;
                }
            }
            a {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
            }
 
            time {
                text-transform: uppercase;
                font-size: var(--txt-x-small);
            }
        }
        &::before,
        &::after {
            left: calc(50% + 2rem);
        }
 
        &::before {
            height: calc(25vh - 2rem);
        }
        &::after {
            top: calc(25vh + 6rem);
        }
    }
}