Skip to content
Merged
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
10 changes: 9 additions & 1 deletion paragon/_discussion.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Discussion style

#root #courseTabsNavigation {
#root {
#courseTabsNavigation {
padding: 20px 15px !important;
max-width: 1600px;
margin: 0 auto;
Expand All @@ -14,6 +15,13 @@
margin: 0 !important;
}
}
}

&:has(.header-action-bar) {
.sr-only.sr-only-focusable {
display: none;
}
}
}
#root .header-action-bar {
max-width: 1600px;
Expand Down
31 changes: 28 additions & 3 deletions paragon/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
position: relative;
z-index: 1;
width: 100%;

header {
.sr-only-focusable {
z-index: 9999;
position: absolute;
top: 5px;
left: 50%;
background-color: black;
opacity: 0.8;
color: white;
text-decoration: none;
outline: none;
transform: translateX(-50%);
font-size: 1rem;
padding: 0 5px;

&:focus {
clip: auto;
}
}
}
header.site-header-mobile {
padding: 0 15px;
height: auto;
Expand Down Expand Up @@ -133,9 +154,13 @@
.nav-link:focus,
.nav-link.active,
.expanded .nav-link {
background: transparent;
color: $primary;
text-decoration: underline;
background: transparent;
color: $primary;
text-decoration: underline;
}

.dropdown-divider {
display: none;
}
}
.logo {
Expand Down