-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
133 lines (115 loc) · 3.65 KB
/
styles.css
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
.ai2html-griffin-figure {
margin-bottom: 2rem;
line-height: 1.2;
}
.ai2html-griffin-figure p {
line-height: 1.2;
}
.ai2html-griffin-figure header span {
display: block;
}
.ai2html-griffin-figure header h1 {
font-weight: 700;
font-size: 1.32rem;
font-size: clamp(1.1em, 3.106vw, 1.32em);
margin: 0 0 0.25em;
letter-spacing: -.2px;
line-height: 1.1;
}
.ai2html-griffin-figure header h1 strong, .ai2html-griffin-figure header h1 b {
font-weight: 700;
}
.ai2html-griffin-figure .figure-label {
display: block;
font-size: .95em;
letter-spacing: -.2px;
margin: 0 0 .25em;
/* font-size: clamp(13px, 3.2vw, 1rem);*/
/* font-size: clamp(.83rem, 2.2353vw, .95rem) */
}
.ai2html-griffin-figure .subhead {
font-size: 1rem;
font-size: clamp(13px, 3.2vw, 1em);
font-weight: bold;
margin-top: 9px;
margin-bottom: 9px;
}
.ai2html-griffin-figure .figure-dek {
opacity: .9;
font-size: clamp(1em, 2.659vw, 1.13em);
white-space: normal !important;
line-height: 1.2;
margin: 0 0 1.125rem;
letter-spacing: -.2px;
}
.ai2html-griffin-figure figcaption {
padding-top: 1rem;
}
.ai2html-griffin-figure.has-legend.legend-position-bottom figcaption {
padding-top: 0rem;
}
.ai2html-griffin-figure .figure-note, .rich-text .ai2html-griffin-figure .figure-note {
font-size: 0.8rem;
font-size: clamp(10px, 3.17vw, 0.8em);
line-height: 1.3;
margin-top: 9px;
margin-bottom: 9px;
}
.ai2html-griffin-figure .figure-caption, .rich-text .ai2html-griffin-figure .figure-caption {
font-size: 1rem;
font-size: clamp(0.9rem, 3.07vw, 1em);
}
.ai2html-griffin-figure .figure-note--source {
/* color: #767676; */
color: #000;
}
@media screen and (max-width: 416px) {
.ai2html-griffin-figure .figure-note, .rich-text .ai2html-griffin-figure .figure-note {
font-size: 10px;
font-size: clamp(10px, 3vw, 0.8rem);
}
.ai2html-griffin-figure .figure-caption, .rich-text .ai2html-griffin-figure .figure-caption {
font-size: 0.9rem;
font-size: clamp(0.9rem, 3.07vw, 1rem);
}
.ai2html-griffin-figure .figure-dek {
/* font-size: 0.85rem;
font-size: clamp(.9rem, 2.636vw, 1rem); */
font-size: clamp(1rem, 0.3926rem + 2.8169vw, 1.125rem);
}
.ai2html-griffin-figure .figure-label, .ai2html-griffin-figure .subhead {
/* font-size: 13px;
font-size: clamp(13px, 3.2vw, 1rem); */
font-size: clamp(0.83rem, 0.3259rem + 2.338vw, 0.93375rem);
}
.ai2html-griffin-figure header h1 {
/* font-size: 1rem;
font-size: clamp(1.1rem, 3.06vw, 1.32rem); */
font-size: clamp(1.08rem, 0.424rem + 3.0423vw, 1.215rem);
}
}
/* TO DO temp fix. builder should prob use an iframe so that proper css is applied */
.griffin-chart-builder--mobile.ai2html-griffin-figure .figure-note, .rich-text .griffin-chart-builder--mobile.ai2html-griffin-figure .figure-note {
font-size: 0.8rem;
}
.griffin-chart-builder--mobile.ai2html-griffin-figure .figure-caption, .rich-text .griffin-chart-builder--mobile.ai2html-griffin-figure .figure-caption {
font-size: 0.9rem;
}
.griffin-chart-builder--mobile.ai2html-griffin-figure .figure-dek {
font-size: 1rem;
}
.griffin-chart-builder--mobile.ai2html-griffin-figure .figure-label, .griffin-chart-builder--mobile.ai2html-griffin-figure .subhead {
font-size: 1rem;
}
.griffin-chart-builder--mobile.ai2html-griffin-figure header h1 {
font-size: 1.1rem;
}
.visually-hidden {
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px);
/* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
}