Skip to content

Commit 8d7901b

Browse files
committed
Fix Missing Styles
1 parent 38fea9f commit 8d7901b

File tree

1 file changed

+158
-44
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+158
-44
lines changed

src/shared/components/challenge-detail/Specification/styles.scss

Lines changed: 158 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -113,67 +113,181 @@ $tc-link-visited: #0c4e98;
113113
padding-left: 17px;
114114
}
115115
}
116+
}
116117

117-
img {
118-
max-width: 100%;
119-
}
118+
h1 {
119+
@include roboto-bold;
120+
121+
font-size: 28px;
122+
color: #151516;
123+
letter-spacing: -0.78px;
124+
line-height: 40px;
125+
margin: (10 * $base-unit) 0 (2 * $base-unit);
120126
}
121-
}
122127

123-
h2 {
124-
@include roboto-bold;
128+
h2 {
129+
@include roboto-bold;
125130

126-
font-size: 20px;
127-
color: $tc-black;
128-
line-height: 30px;
129-
margin: (6 * $base-unit) 0 (2 * $base-unit);
130-
}
131+
font-size: 20px;
132+
color: $tc-black;
133+
line-height: 30px;
134+
margin: (6 * $base-unit) 0 (2 * $base-unit);
135+
}
131136

132-
h3 {
133-
@include roboto-bold;
137+
h3 {
138+
@include roboto-bold;
134139

135-
font-size: 15px;
136-
color: $tc-black;
137-
line-height: 25px;
138-
margin: (5 * $base-unit) 0 0;
139-
text-transform: uppercase;
140-
}
140+
font-size: 15px;
141+
color: $tc-black;
142+
line-height: 25px;
143+
margin: (5 * $base-unit) 0 0;
144+
text-transform: uppercase;
145+
}
141146

142-
p,
143-
em,
144-
strong {
145-
@include roboto-regular;
147+
h4 {
148+
@include roboto-bold;
146149

147-
font-size: 15px;
148-
color: $tc-gray-90;
149-
line-height: 25px;
150-
}
150+
margin: (4 * $base-unit) 0 (2 * $base-unit);
151+
font-size: 15px;
152+
line-height: 25px;
153+
color: $tc-gray-90;
154+
}
151155

152-
p {
153-
@include roboto-regular;
156+
h5, h6 {
157+
margin: (4 * $base-unit) 0 (2 * $base-unit);
158+
}
154159

155-
font-size: 15px;
156-
color: $tc-gray-90;
157-
line-height: 25px;
160+
p,
161+
em,
162+
strong {
163+
@include roboto-regular;
158164

159-
@include linkStyle;
165+
font-size: 15px;
166+
color: $tc-gray-90;
167+
line-height: 25px;
168+
}
160169

161-
margin: (2 * $base-unit) 0 (3 * $base-unit);
162-
}
170+
p {
171+
@include roboto-regular;
163172

164-
ul {
165-
@include roboto-regular;
173+
font-size: 15px;
174+
color: $tc-gray-90;
175+
line-height: 25px;
166176

167-
margin: 0 0 5px 20px;
168-
font-size: 15px;
169-
color: $tc-gray-90;
170-
line-height: 25px;
171-
list-style: disc outside none;
177+
@include linkStyle;
178+
179+
margin: (2 * $base-unit) 0 (3 * $base-unit);
180+
}
181+
182+
ul {
183+
@include roboto-regular;
172184

173-
li {
185+
margin: 0 0 5px 20px;
186+
font-size: 15px;
187+
color: $tc-gray-90;
188+
line-height: 25px;
189+
list-style: disc outside none;
190+
191+
li {
192+
font-weight: 400;
193+
194+
@include linkStyle;
195+
}
196+
}
197+
198+
em {
199+
@include roboto-regular;
200+
201+
font-style: italic;
174202
font-weight: 400;
203+
font-size: 15px;
204+
color: $tc-gray-90;
205+
line-height: 25px;
206+
}
175207

176-
@include linkStyle;
208+
ol {
209+
@include roboto-regular;
210+
211+
color: $tc-gray-80;
212+
font-size: 15px;
213+
line-height: 25px;
214+
padding-left: 20px;
215+
list-style-type: decimal;
216+
margin: 0 0 5px;
217+
counter-reset: item;
218+
display: table;
219+
220+
li {
221+
list-style-type: none;
222+
font-weight: 400;
223+
counter-increment: item;
224+
display: table-row;
225+
white-space: normal;
226+
227+
&::before {
228+
display: table-cell;
229+
font-weight: 700;
230+
text-align: right;
231+
content: counter(item) ".";
232+
padding: 0 10px 0 0;
233+
}
234+
}
235+
}
236+
237+
td,
238+
th {
239+
@include roboto-regular;
240+
241+
color: $tc-gray-80;
242+
font-size: 15px;
243+
line-height: 25px;
244+
}
245+
246+
img {
247+
max-width: 100%;
248+
}
249+
250+
code {
251+
white-space: pre;
252+
margin: 10px 0 15px;
253+
background: $tc-gray-neutral-light;
254+
border: 1px solid silver;
255+
border-radius: 6px;
256+
font-family: Roboto Mono, monospace;
257+
font-weight: 400;
258+
font-size: 13px;
259+
color: $tc-black;
260+
line-height: 20px;
261+
padding: 15px;
262+
display: block;
263+
}
264+
265+
sub {
266+
font-size: 75%;
267+
line-height: 0;
268+
position: relative;
269+
vertical-align: baseline;
270+
bottom: -0.25em;
271+
}
272+
273+
sup {
274+
font-size: 75%;
275+
line-height: 0;
276+
position: relative;
277+
vertical-align: baseline;
278+
top: -.5em;
279+
}
280+
281+
strong {
282+
@include roboto-bold;
283+
284+
font-size: 15px;
285+
color: $tc-gray-90;
286+
line-height: 25px;
287+
}
288+
289+
pre {
290+
overflow-x: scroll;
177291
}
178292
}
179293

0 commit comments

Comments
 (0)