Skip to content
Open
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
33 changes: 33 additions & 0 deletions website/.sphinx/_static/css/custom-header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* Fix the odd looking navigation link (More Resources) on big screens */
ul.p-navigation__links {
max-width: unset !important;
}

/* Work around to make the logo look better on small devices */
@media (max-width: 550px) {
.p-logo-text {
color: transparent !important;
position: relative;
}
.p-logo-text::after {
content: "CODA";
position: absolute;
top: 0;
left: 0;
color:white;
}
}

/* Hide the unwanted empty link inside the header for small devices */
@media (max-width: 800px) {
.nav-ubuntu-com {
display: none !important;
}
}

/* Add margin to the right side of the header to improve UI */
@media only screen and (min-width: 1310px) {
ul.p-navigation__links {
margin-right: calc(50% - 41em) !important;
}
}
1 change: 1 addition & 0 deletions website/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@

html_css_files = [
"css/pdf.css",
"css/custom-header.css",
# For short-term announcement about survey
# TODO: Remove this block by 2025-08-11
"css/announcement.css",
Expand Down