Skip to content

Commit d6dbf98

Browse files
committed
Add gradescope link
1 parent 47c5645 commit d6dbf98

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

_config.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,10 @@ course_department: dsus
9494
class_archive_path: /
9595

9696
# # TODO(setup): Set these auxiliary links as you wish - they show up on the top right
97-
# aux_links:
98-
# # TODO(template): Move this to be built-in.
99-
# Ed:
100-
# - 'https://edstem.org'
101-
# OH Queue:
102-
# - 'https://oh.c88c.org'
103-
# Berkeley Class Site on GitHub:
104-
# - 'https://github.com/berkeley-eecs/berkeley-class-site'
97+
aux_links:
98+
Gradescope:
99+
- 'https://www.gradescope.com/courses/1229310'
100+
aux_links_new_tab: true
105101

106102
######################################################################
107103
# Just the Docs / Berkeley Class Site Common Config

_sass/custom/course_overrides.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,29 @@
9797
background-color: #5e1c82;
9898
color: white;
9999
}
100+
101+
.aux-nav .aux-nav-list-item {
102+
display: inline-flex;
103+
align-items: center;
104+
}
105+
106+
.aux-nav .aux-nav-list-item + .aux-nav-list-item {
107+
margin-left: 0.5rem;
108+
}
109+
110+
.aux-nav .site-button {
111+
height: auto;
112+
padding: 0.35rem 0.6rem;
113+
border-radius: 4px;
114+
background-color: #1f4ba5;
115+
color: #fff;
116+
line-height: 1.2;
117+
text-decoration: none;
118+
}
119+
120+
.aux-nav .site-button:hover,
121+
.aux-nav .site-button:focus {
122+
background-color: #1a3f8f;
123+
color: #e6efff;
124+
text-decoration: none;
125+
}

0 commit comments

Comments
 (0)