Skip to content

Commit 2d5e510

Browse files
committed
Merge similar files
1 parent 526986a commit 2d5e510

File tree

3 files changed

+164
-168
lines changed

3 files changed

+164
-168
lines changed

packages/uui-css/lib/typography/uui-text.css

Lines changed: 0 additions & 165 deletions
This file was deleted.

packages/uui-css/lib/uui-root.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/uui-css/lib/uui-text.css

Lines changed: 164 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,164 @@
1-
@import './typography/uui-text.css';
1+
.uui-text {
2+
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3+
font-size: 15px;
4+
line-height: calc(var(--uui-size-2) * 4);
5+
-webkit-font-smoothing: antialiased;
6+
}
7+
8+
.uui-text h1,
9+
.uui-text .uui-h1 {
10+
font-size: var(--uui-type-h1-size);
11+
line-height: var(--uui-size-layout-4);
12+
font-weight: 300;
13+
margin-left: -5px;
14+
margin-top: var(--uui-size-layout-1);
15+
margin-bottom: var(--uui-size-layout-1);
16+
}
17+
.uui-text p + h1,
18+
.uui-text p + .uui-h1 {
19+
margin-top: var(--uui-size-layout-4);
20+
}
21+
.uui-text h1.--no-top-margin,
22+
.uui-text h1:first-child,
23+
.uui-text .uui-h1.--no-top-margin,
24+
.uui-text .uui-h1:first-child {
25+
margin-top: 0;
26+
}
27+
28+
.uui-text h2,
29+
.uui-text .uui-h2 {
30+
font-size: var(--uui-type-h2-size);
31+
line-height: var(--uui-size-layout-3);
32+
font-weight: 300;
33+
margin-left: -3px;
34+
margin-top: var(--uui-size-layout-1);
35+
margin-bottom: var(--uui-size-layout-1);
36+
}
37+
.uui-text p + h2,
38+
.uui-text p + .uui-h2 {
39+
margin-top: var(--uui-size-layout-3);
40+
}
41+
.uui-text h2.--no-top-margin,
42+
.uui-text h2:first-child,
43+
.uui-text .uui-h2.--no-top-margin,
44+
.uui-text .uui-h2:first-child {
45+
margin-top: 0;
46+
}
47+
48+
.uui-text h3,
49+
.uui-text .uui-h3 {
50+
font-size: var(--uui-type-h3-size);
51+
line-height: var(--uui-size-large);
52+
font-weight: 300;
53+
margin-left: -2px;
54+
margin-top: var(--uui-size-layout-1);
55+
margin-bottom: var(--uui-size-layout-1);
56+
}
57+
.uui-text h3.--no-top-margin,
58+
.uui-text h3:first-child,
59+
.uui-text .uui-h3.--no-top-margin,
60+
.uui-text .uui-h3:first-child {
61+
margin-top: 0;
62+
}
63+
64+
.uui-text h4,
65+
.uui-text .uui-h4 {
66+
font-size: var(--uui-type-h4-size);
67+
line-height: 21px;
68+
font-weight: 400;
69+
margin-left: -1px;
70+
margin-top: var(--uui-size-layout-1);
71+
margin-bottom: var(--uui-size-layout-1);
72+
}
73+
.uui-text h4.--no-top-margin,
74+
.uui-text h4:first-child,
75+
.uui-text .uui-h4.--no-top-margin,
76+
.uui-text .uui-h4:first-child {
77+
margin-top: 0;
78+
}
79+
80+
.uui-text h5,
81+
.uui-text .uui-h5 {
82+
font-size: var(--uui-type-h5-size);
83+
line-height: inherit;
84+
font-weight: 700;
85+
margin-left: 0;
86+
margin-top: var(--uui-size-layout-1);
87+
margin-bottom: 0;
88+
}
89+
90+
.uui-text h5.--no-top-margin,
91+
.uui-text h5:first-child,
92+
.uui-text .uui-h5.--no-top-margin,
93+
.uui-text .uui-h5:first-child {
94+
margin-top: 0;
95+
}
96+
97+
.uui-text p {
98+
margin-top: var(--uui-size-layout-1);
99+
margin-bottom: var(--uui-size-layout-1);
100+
}
101+
.uui-text p.uui-lead {
102+
font-size: var(--uui-size-6);
103+
}
104+
105+
.uui-text a:link,
106+
.uui-text a:active {
107+
color: var(--uui-color-space-cadet);
108+
}
109+
.uui-text a:hover {
110+
color: var(--uui-color-violet-blue);
111+
}
112+
113+
.uui-text small {
114+
display: inline-block;
115+
font-size: var(--uui-type-small-size);
116+
line-height: calc(var(--uui-size-2) * 3);
117+
margin-bottom: var(--uui-size-layout-1);
118+
}
119+
120+
.uui-text blockquote {
121+
float: right;
122+
font-size: 15px;
123+
font-weight: 700;
124+
font-style: italic;
125+
margin-top: 0;
126+
margin-bottom: var(--uui-size-layout-1);
127+
margin-right: -0.035em;
128+
max-width: 16em;
129+
quotes: '“' '”' '‘' '’';
130+
line-height: inherit;
131+
}
132+
133+
.uui-text blockquote:before {
134+
content: open-quote;
135+
margin-left: -0.4em;
136+
margin-right: 0.08em;
137+
vertical-align: bottom;
138+
font-weight: 400;
139+
font-size: 2em;
140+
}
141+
142+
.uui-text blockquote:after {
143+
content: close-quote;
144+
margin-left: 0.04em;
145+
margin-right: -0.4em;
146+
vertical-align: bottom;
147+
font-weight: 400;
148+
font-size: 2em;
149+
margin-bottom: -2px;
150+
display: inline-block;
151+
}
152+
153+
.uui-text ul {
154+
list-style-type: square;
155+
padding-left: var(--uui-size-layout-1);
156+
margin-top: var(--uui-size-layout-1);
157+
margin-bottom: var(--uui-size-layout-1);
158+
}
159+
160+
.uui-text ol {
161+
padding-left: var(--uui-size-layout-1);
162+
margin-top: var(--uui-size-layout-1);
163+
margin-bottom: var(--uui-size-layout-1);
164+
}

0 commit comments

Comments
 (0)