Skip to content

Commit

Permalink
404 & mobile css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrorcult committed Sep 10, 2023
1 parent 97467c6 commit f1bd94a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ preferred-dark-theme = "navy"

git-repository-url = "https://github.com/space-wizards/space-station-14"
edit-url-template = "https://github.com/space-wizards/docs/blob/master/{path}"
site-url = "/docs/" # remove when we move to docs.ss14.io -- needed for 404 pages to render properly in subdirectories

mathjax-support = true
curly-quotes = true
Expand Down
4 changes: 2 additions & 2 deletions theme/sidebar-style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@media only screen and (max-width:1439px) {
@media only screen and (max-width:1365px) {
.sidetoc {
display: none;
}
}

@media only screen and (min-width:1440px) {
@media only screen and (min-width:1366px) {
main {
position: relative;
}
Expand Down
10 changes: 6 additions & 4 deletions theme/ss14.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
--sidebar-active: #e23229;
}

.content>main {
/* navbar button was basically a margin left but dont have that no more so */
margin-left: 200px;
}
@media only screen and (min-width: 1366px) {
.content>main {
/* navbar button was basically a margin left but dont have that no more so */
margin-left: 200px;
}
}

/* Mostly stolen from the Rhai book (rhai.rs) theme */
.part-title {
Expand Down

0 comments on commit f1bd94a

Please sign in to comment.