* Package updates * Fix up things that look broken * Add to utils * Lead now just sets font size, just use f3 where needed * Update package-lock.json * Update index.tsx * Delete bump-link.scss * Update trigger-error.js * Update components/GenericError.tsx Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com> * Update ArticlePage.tsx * Update ActionBar.tsx * Changes from meeting * Found a few more monos * Fix from a merge conflict * Missed a few f3s * Update SubLandingHero.tsx * Bye gradients * Match up breadcrumbs * Update SubLandingHero.tsx * Update lists.scss Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
82 lines
1.3 KiB
SCSS
82 lines
1.3 KiB
SCSS
.markdownBody {
|
|
ol {
|
|
counter-reset: li;
|
|
list-style: none;
|
|
position: relative;
|
|
padding-bottom: 10px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
ol > li {
|
|
padding: 15px 0 15px 55px;
|
|
position: relative;
|
|
margin-bottom: 5px;
|
|
border-top: 3px solid var(--color-auto-gray-2);
|
|
}
|
|
|
|
ol > li:before {
|
|
content: counter(li);
|
|
counter-increment: li;
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 30px;
|
|
padding: 0 10px 0 0;
|
|
color: var(--color-auto-gray-4);
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
line-height: 35px;
|
|
text-align: right;
|
|
}
|
|
|
|
ol > li > p {
|
|
margin: 0;
|
|
}
|
|
|
|
ol > li > p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
ol > li:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
ol > li {
|
|
padding: 8px 0 8px 40px;
|
|
border: 0;
|
|
|
|
&:before {
|
|
top: 2px;
|
|
font-size: 16px;
|
|
width: 24px;
|
|
}
|
|
|
|
p:not(:first-child) {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
[class~="extended-markdown"] {
|
|
margin-top: 15px;
|
|
}
|
|
}
|
|
|
|
ul ul,
|
|
ul ol,
|
|
ol ol,
|
|
ol ul {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
/* Override primer style */
|
|
.markdownBody div > ol:not([type]) {
|
|
list-style-type: none;
|
|
}
|