Skip to content

Commit

Permalink
[BSv5] Drop import of rtl/main (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Feb 27, 2023
1 parent 36c7405 commit 0edc7d6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ For a list of issues targeted for the next release, see the [23Q1][] milestone.
- Clean up of unused, or rarely used, variables and functions:
- Dropped `$primary-light`.
- Dropped `color-diff()`.
- BSv4 RTL support, being incompatible with BSv5, has been removed. For
progress in RTL support, see [#1442][1442].

[1442]: https://github.com/google/docsy/issues/1442

**Other changes**:

Expand Down
45 changes: 21 additions & 24 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,36 @@
@import "shortcodes";

@if $td-enable-google-fonts {
@import url($web-font-path);
@import url($web-font-path);
}

footer {
min-height: 150px;
min-height: 150px;

@include media-breakpoint-down(lg) {
min-height: 200px;
}
@include media-breakpoint-down(lg) {
min-height: 200px;
}
}

// Adjust anchors vs the fixed menu.
@include media-breakpoint-up(md) {
.td-offset-anchor:target {
display: block;
position: relative;
top: -4rem;
visibility: hidden;
}
.td-offset-anchor:target {
display: block;
position: relative;
top: -4rem;
visibility: hidden;
}

h2[id]:before,
h3[id]:before,
h4[id]:before,
h5[id]:before {
display: block;
content: " ";
margin-top: -5rem;
height: 5rem;
visibility: hidden;
}
h2[id]:before,
h3[id]:before,
h4[id]:before,
h5[id]:before {
display: block;
content: " ";
margin-top: -5rem;
height: 5rem;
visibility: hidden;
}
}



@import "rtl/main";
@import "styles_project";

0 comments on commit 0edc7d6

Please sign in to comment.