Skip to content

Commit

Permalink
chore: extract style and component updates from BitcoinDesign#20
Browse files Browse the repository at this point in the history
@GBKS getting started pr contains updates to styles that would be used by other writers - while that pr is under review this PR extracts those styles so they can be available to new contributors
  • Loading branch information
johnsBeharry committed Dec 5, 2020
1 parent 9530fd0 commit 34685d3
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _includes/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
width="{{ include.width }}"
height="{{ include.height }}"
>
{% if include.caption %}<figcaption class="small">{{ include.caption }}</figcaption>{% endif %}
{% if include.caption %}<figcaption markdown="1">{{ include.caption | markdownify }}</figcaption>{% endif %}
</figure>
2 changes: 1 addition & 1 deletion _includes/picture.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
height="{{ include.height }}"
>
</picture>
{% if include.caption %}<figcaption class="small">{{ include.caption }}</figcaption>{% endif %}
{% if include.caption %}<figcaption markdown="1">{{ include.caption | markdownify }}</figcaption>{% endif %}
</figure>
27 changes: 21 additions & 6 deletions _sass/minima/_nav-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,25 @@
position: relative;
margin: 0;

.nav-list-link {
a.nav-list-link {
display: block;
font-size: 15px;
line-height: 34px;
margin-left: 34px;
color: black;

&:visited {
color: black;
}

&.-active {
font-weight: 500;
color: $primary-color;
text-decoration: none;

&:visited {
color: $primary-color;
}
}

&:hover,
Expand Down Expand Up @@ -82,13 +91,19 @@
}

&.-active {
> .nav-list-link {
// color: $primary-color;
> a.nav-list-link {
color: $primary-color;

&:visited {
color: $primary-color;
}
}

> .nav-list-expander svg {
transform: rotate(90deg);
color: $primary-color;
> .nav-list-expander {
svg {
transform: rotate(90deg);
color: $primary-color;
}
}

> .nav-list {
Expand Down
Binary file modified assets/images/guide/bitcoin-island-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/guide/bitcoin-island-mobile@2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/guide/bitcoin-island-preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/guide/bitcoin-island.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/guide/bitcoin-island@2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34685d3

Please sign in to comment.