Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat: add reverse border radius to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Jan 28, 2024
1 parent 43bc715 commit 9896e64
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
16 changes: 14 additions & 2 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,27 @@
#side-menu {
background: #1d1b1e !important;
color: #e8e0e5;
padding-right: 0.5rem;
margin-right: -0.5rem;
/* logo header */
/* footer with links: Privacy, Terms, Accessibility */
}
#side-menu::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 0.5rem;
border-top-left-radius: 0.5rem;
border-bottom-left-radius: 0.5rem;
background: #fffbff;
}
#side-menu header {
background: #1d1b1e !important;
background: transparent !important;
color: #e8e0e5;
border: none !important;
box-shadow: none !important;
margin-bottom: 2rem;
}
#side-menu header a {
display: block;
Expand Down
Binary file modified screenshots/blackboard_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions styles/_online.manchester.ac.uk_ultra.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,27 @@ button.anchor,
#side-menu {
background: $header !important;
color: $on-header;
padding-right: 0.5rem;
margin-right: -0.5rem;

&::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 0.5rem;
border-top-left-radius: 0.5rem;
border-bottom-left-radius: 0.5rem;
background: $background;
}

/* logo header */
header {
background: $header !important;
background: transparent !important;
color: $on-header;
border: none !important;
box-shadow: none !important;
margin-bottom: 2rem;

a {
display: block;
Expand Down

0 comments on commit 9896e64

Please sign in to comment.