File tree 2 files changed +97
-0
lines changed
src/shared/components/Contentful/ContentBlock
2 files changed +97
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import zurichTheme from './themes/zurich.scss';
17
17
import generalTheme from './themes/general.scss' ;
18
18
import blobCard from './themes/blobCard.scss' ;
19
19
import TCO20Theme from './themes/TCO20.scss' ;
20
+ import largeCard from './themes/largeCard.scss' ;
20
21
21
22
const THEMES = {
22
23
Default : defaultTheme ,
@@ -28,6 +29,7 @@ const THEMES = {
28
29
General : generalTheme ,
29
30
'Blob Card' : blobCard ,
30
31
TCO20 : TCO20Theme ,
32
+ 'Large Card' : largeCard ,
31
33
} ;
32
34
33
35
/* Loads content block background asset. */
Original file line number Diff line number Diff line change
1
+ @import " ~styles/mixins" ;
2
+ @import " ./TCO19_thypo" ;
3
+
4
+ .contentWrapper {
5
+ background-color : #555 ;
6
+ border-radius : 10px ;
7
+ width : 100% ;
8
+ padding : 0 ;
9
+ }
10
+
11
+ .container {
12
+ display : flex ;
13
+ flex : 1 ;
14
+ justify-content : flex-end ;
15
+ margin : 5px ;
16
+ padding : 0 ;
17
+
18
+ @include xs-to-sm {
19
+ margin : 0 15px ;
20
+ }
21
+ }
22
+
23
+ .content {
24
+ padding : 30px 40px 30px 40px ;
25
+ color : $tc-white ;
26
+
27
+ @include xs-to-sm {
28
+ padding : 20px ;
29
+ }
30
+
31
+ h1 ,
32
+ h2 ,
33
+ h3 ,
34
+ h4 ,
35
+ h5 ,
36
+ h6 {
37
+ font-family : " Barlow" , Helvetica , Arial , sans-serif ;
38
+ color : $tc-white ;
39
+ text-transform : uppercase ;
40
+ margin-bottom : 20px ;
41
+ }
42
+
43
+ @include TCO19-default-headers ;
44
+
45
+ p {
46
+ font-family : " Roboto" , Helvetica , Arial , sans-serif ;
47
+ color : $tc-white ;
48
+ font-size : 16px ;
49
+ font-weight : 400 ;
50
+ line-height : 26px ;
51
+
52
+ @include xs-to-sm {
53
+ font-size : 20px ;
54
+ font-weight : 400 ;
55
+ line-height : 30px ;
56
+ }
57
+
58
+ strong {
59
+ font-weight : bold ;
60
+ }
61
+ }
62
+
63
+ ul {
64
+ color : white ;
65
+
66
+ li p {
67
+ margin : 0 ;
68
+ }
69
+ }
70
+
71
+ button {
72
+ margin : 40px 5px 0 0 !important ;
73
+
74
+ @include xs-to-sm {
75
+ margin-top : 30px !important ;
76
+ }
77
+ }
78
+ }
79
+
80
+ .image {
81
+ flex : 1 ;
82
+ margin : 0 ;
83
+
84
+ img {
85
+ height : 100% ;
86
+ width : 100% ;
87
+ border-top-right-radius : 10px ;
88
+ border-bottom-right-radius : 10px ;
89
+
90
+ @include xs-to-sm {
91
+ border-top-left-radius : 10px ;
92
+ border-bottom-right-radius : 0 ;
93
+ }
94
+ }
95
+ }
You can’t perform that action at this time.
0 commit comments