Skip to content

Commit 9392ebb

Browse files
Merge pull request #4805 from fikzzzy/fix-style-2
Fix Missing Styles
2 parents 0f91bf0 + 30bb211 commit 9392ebb

File tree

1 file changed

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

1 file changed

+159
-44
lines changed

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

Lines changed: 159 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -113,67 +113,182 @@ $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,
157+
h6 {
158+
margin: (4 * $base-unit) 0 (2 * $base-unit);
159+
}
154160

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

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

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

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

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;
178+
@include linkStyle;
179+
180+
margin: (2 * $base-unit) 0 (3 * $base-unit);
181+
}
182+
183+
ul {
184+
@include roboto-regular;
172185

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

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

0 commit comments

Comments
 (0)