Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,125 @@
1
+@import "../../variables-layout";
2
+
3
+@import "../../../_vendor/node_modules/bootstrap/scss/functions";
4
+@import "../../../_vendor/node_modules/bootstrap/scss/variables";
5
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins";
6
+
7
+@import "../../scss-variables";
8
+@import "../../_theme/variables-layout";
9
+
10
+html body {
11
+  .ce_rsce_timeline {
12
+    .ce--timeline {
13
+      position: relative;
14
+      margin-top: rfs-fluid-value(4rem);
15
+
16
+      @include media-breakpoint-up(md) {
17
+        &:before {
18
+          content: "";
19
+          width: 1px;
20
+          height: 100%;
21
+          left: 50%;
22
+          top: 0;
23
+          position: absolute;
24
+          background-color: var(--bs-gray-500);
25
+        }
26
+      }
27
+
28
+      .year--wrapper {
29
+        > div {
30
+          position: relative;
31
+
32
+          @include media-breakpoint-up(md) {
33
+            &:after {
34
+              content: "";
35
+              height: 1px;
36
+              width: 50px;
37
+              position: absolute;
38
+              top: 35px;
39
+              display: block;
40
+              background-color: var(--bs-gray-500);
41
+            }
42
+
43
+            &:before {
44
+              content: "";
45
+              display: block;
46
+              width: 20px;
47
+              height: 20px;
48
+              border-radius: 50%;
49
+              background-color: var(--bs-primary);
50
+              border: 3px solid var(--bs-white);
51
+              position: absolute;
52
+              top: 25px;
53
+              z-index: 3;
54
+            }
55
+          }
56
+        }
57
+
58
+        &:first-child {
59
+          .year--content {
60
+            //padding-top: 0px;
61
+          }
62
+        }
63
+
64
+        &:last-child {
65
+          .year--content {
66
+            padding-bottom: 0px;
67
+          }
68
+        }
69
+
70
+        &:nth-child(even) {
71
+          text-align: right;
72
+
73
+          > div {
74
+            &:after {
75
+              right: 0;
76
+            }
77
+
78
+            &:before {
79
+              right: -10px;
80
+            }
81
+
82
+            .year--content {
83
+              margin: 0 0 0 auto;
84
+
85
+              @include media-breakpoint-up(md) {
86
+                padding-right: 50px;
87
+              }
88
+            }
89
+          }
90
+        }
91
+
92
+        &:nth-child(odd) {
93
+          flex-direction: row-reverse;
94
+
95
+          > div {
96
+            &:after {
97
+              left: 0;
98
+            }
99
+
100
+            &:before {
101
+              left: -10px;
102
+            }
103
+
104
+            .year--content {
105
+              @include media-breakpoint-up(md) {
106
+                padding-left: 50px;
107
+              }
108
+            }
109
+          }
110
+        }
111
+
112
+        .year--content {
113
+          position: relative;
114
+          z-index: 3;
115
+          padding-top: 20px;
116
+          padding-bottom: 20px;
117
+
118
+          @include media-breakpoint-up(md) {
119
+            max-width: 300px;
120
+          }
121
+        }
122
+      }
123
+    }
124
+  }
125
+}
0 126
\ No newline at end of file