Skip to content

Commit

Permalink
Responsive fixes for nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Doughty committed Sep 16, 2024
1 parent e03063b commit 6a6dfdf
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 14 deletions.
16 changes: 13 additions & 3 deletions css/pause-anim-control.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions css/shared/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion css/shared/landmarks.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions less/pause-anim-control.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@

.play-pause-anim {
&__background-pill {
font-size: 1.125rem;
font-size: 1rem;
background-color: @dark-grey;
border-radius: 25px;
display: inline-flex;
align-items: center;
@media @tablet, @desktop {
font-size: 1.125rem;
}
}

&__checkbox-container {
Expand All @@ -35,16 +38,18 @@
text-align: center;
display: flex;
flex-direction: row;
//margin-right: 40px;
margin: 0 30px;
margin: 0 30px 0 20px;

@media @desktop {
margin: 0;
}

label {
cursor: pointer;
padding: 10px 20px;
padding: 10px 12px;
@media @desktop {
padding: 10px 20px;
}
}

.pause-button {
Expand Down
1 change: 0 additions & 1 deletion less/shared/landmarks.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
body {
margin: 0;
position: relative;
min-width: @min-screen-width;
}

header,
Expand Down
3 changes: 1 addition & 2 deletions templates/includes/documentation-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<!-- Enable Logo (link to homepage) -->
<div class="enable-logo">
<a href="/">
<img src="images/accessible-text-svg/logo-enable-white.svg" alt="" role="presentation" />
<span class="sr-only">Enable</span>
<img src="images/accessible-text-svg/logo-enable-white.svg" alt="Enable Logo" />
</a>
</div>
<!-- Here is the main menu will be placed by our global.js Javascript -->
Expand Down

0 comments on commit 6a6dfdf

Please sign in to comment.