1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00
Files
help/_scss/_article.scss
David Choi 80a0b17ac6 Staging (#294)
* jekyll redirect from

* Organizations rev (#262)

* Organizations revisions initial commit.

* API doc updates

* Fix absolute link causing build failure.

* Add import to org article, and downstream order changes.

* Bitwarden 101 videos: 1st steps toward proliferating these throughout /help.

* Added 'Create Your Account' article, which references B101 Videos.

* About SSO redirect & promote importing for orgs up the list

* Create Org FAQs & trim Feature FAQs accordingly.

* Image for Org FAQs

* Move 'About the Business Portal' to Orgs category, and re-order accordingly.

* Final edits.

* Dchoi/bootstrap upgrade (#264)

* bootstrap 4 upgrade and cleanup update gulp tasks

* bootstrap package updates

* renaming file convention

* general outline of help outline

* bitwarden help cleanup

* article cleanup

* article general styling complete

* bootstrap help page upgrades

* sidebar updates

* Dchoi/bootstrap upgrade (#267)

* bootstrap 4 upgrade and cleanup update gulp tasks

* bootstrap package updates

* renaming file convention

* general outline of help outline

* bitwarden help cleanup

* article cleanup

* article general styling complete

* bootstrap help page upgrades

* sidebar updates

* toc dynamic and more updates

* fix callout conditions

* sidebar collapse functionality added

* sidebar header toggle functionality

* sidebar article fixes

* Update sidebar.html

Fix sidebar Release Notes link.

* Update releasenotes.md

Remove unnecessary category tag.

* Delete release-notes.md

Remove unnecessary category.

* Update why-choose-bitwarden-for-your-team.md

Test table image differentiation

* Update why-choose-bitwarden-for-your-team.md

Second image differentiation test

* removed links from category breadcrumb and replaced with badges

Co-authored-by: fred_the_tech_writer <69817454+fschillingeriv@users.noreply.github.com>
2020-11-13 14:23:00 -08:00

119 lines
2.2 KiB
SCSS

.article-header {
border-bottom: 1px solid $border-color;
display: flex;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
font-weight: normal;
i {
margin-right: 10px;
}
}
.article-breadcrumb {
align-items: center;
.badge {
margin-left: 0.25rem;
}
}
.article-card.card {
margin-bottom: 1.5rem;
.card-body {
>*:first-child,
>*:nth-child(2) {
margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 25px;
}
}
.header-link {
color: $text-muted;
font-size: $h3-font-size;
text-decoration: none;
opacity: 0;
margin-left: 5px;
}
h2:hover > .header-link,
h3:hover > .header-link {
opacity: .5;
-webkit-transition: color .16s linear;
transition: color .16s linear;
&:hover,
&:focus {
opacity: 1;
}
}
ol {
counter-reset: li;
list-style: none;
padding-left: 0;
> li {
padding: 0.5rem 0 0.5rem 2.5rem;
position: relative;
margin-bottom: 0.5rem;
&:before {
content: counter(li);
counter-increment: li;
color: $gray-600;
font-size: 1.25rem;
font-weight: bold;
border-right: 1px solid $border-color;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 1.5rem;
padding: 0 10px 0 0;
}
}
}
.bd-toc {
margin-bottom: 25px;
strong {
margin-top: 0;
margin-bottom: 0.5rem;
padding: 0;
}
.toc-entry {
a {
color: $link-color;
padding: .125rem 0;
&:hover {
color: $link-hover-color;
text-decoration: underline;
}
}
&.toc-h3 {
padding-left: 1rem;
}
}
}
}
.search-results {
small.text-muted {
margin-left: 0.5rem;
}
}