Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/stylesheets/base/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ ol {
list-style-type: disc;
margin-bottom: $small-spacing;
padding-left: $base-spacing;

> li {
padding: ($small-spacing / 2) 0;
}
}

&%default-ol {
Expand Down
4 changes: 4 additions & 0 deletions source/stylesheets/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ picture {
margin: 0;
max-width: 100%;
}

figure {
text-align: center;
}
47 changes: 24 additions & 23 deletions source/stylesheets/components/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ article {
}
}

h2,
h3 {
margin-top: $large-spacing;
}

hr + h2,
hr + h3 {
margin-top: 0;
}

h4 {
margin-top: $base-spacing;
}

ul {
@extend %default-ul;
}
Expand All @@ -35,15 +49,21 @@ article {
margin-top: 5em;
padding: $base-spacing 0;

a {
&::before,
&::after {
display: inline-block;
font-weight: 700;
margin: 0 0.5em;
transition: transform $duration;
}
}

.previous-guide {
float: left;

&::before {
content: "\2039";
display: inline-block;
font-weight: 700;
margin: 0 0.5em;
transition: transform $duration;
}

&:hover::before {
Expand All @@ -56,10 +76,6 @@ article {

&::after {
content: "\203A";
display: inline-block;
font-weight: 700;
margin: 0 0.5em;
transition: transform $duration;
}

&:hover::after {
Expand All @@ -68,18 +84,3 @@ article {
}
}
}

.anchorable-tock {
h2#{&},
h3#{&} {
margin-top: $large-spacing;
}

h4#{&} {
margin-top: $base-spacing;
}

hr + & {
margin-top: 0;
}
}
12 changes: 11 additions & 1 deletion source/stylesheets/components/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ li.toc-level-0 {
display: block;
line-height: 1.25;
padding: 0.33em 0;

&:hover {
color: $ember-orange;
}
}

> a {
Expand All @@ -50,10 +54,16 @@ ol.toc-level-1 {

li {
border-left: 3px solid transparent;
transition: border-width $duration;

&.selected {
&.selected,
&:hover {
border-left-color: $base-border-color;
}

&:hover {
border-left-width: 6px;
}
}

a {
Expand Down