Skip to content

Commit fcddb27

Browse files
committed
Better styling for challenge link in Phoenix spec
1 parent 5b2688c commit fcddb27

File tree

1 file changed

+26
-2
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+26
-2
lines changed

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

+26-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ $tc-link-visited: #0c4e98;
9797
color: $tc-black;
9898
line-height: 25px;
9999
margin: (5 * $base-unit) 0 0;
100-
text-transform: uppercase;
101100
}
102101

103102
h4 {
@@ -274,7 +273,6 @@ $tc-link-visited: #0c4e98;
274273
color: $tc-black;
275274
line-height: 25px;
276275
margin: (5 * $base-unit) 0 0;
277-
text-transform: uppercase;
278276
}
279277

280278
h4 {
@@ -444,3 +442,29 @@ $tc-link-visited: #0c4e98;
444442
max-width: 95vw;
445443
}
446444
}
445+
446+
article {
447+
>*:first-child {
448+
margin-top: 0;
449+
}
450+
}
451+
452+
a[href*="/talent-routes/details"] {
453+
width: fit-content;
454+
padding: 11px 23px 11px 19px;
455+
border: 1px solid $color-link-blue-dark;
456+
border-radius: 3px;
457+
font-weight: 500;
458+
text-decoration: none;
459+
460+
&:hover {
461+
text-decoration: none;
462+
}
463+
}
464+
465+
*:not(br)+h1,
466+
*:not(br)+h2,
467+
*:not(br)+h3 {
468+
margin-top: 40px;
469+
470+
}

0 commit comments

Comments
 (0)