Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion navigation.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ header = [
{ title = "Ecosystem", section = "ecosystem" },
{ title = "Homeserver", section = "homeserver" },
{ title = "Support us", href = "/support" },
{ title = "Try Matrix", href = "/try-matrix/", primary = true },
{ title = "Try Matrix", href = "/try-matrix/", button = true },
]

footer_internal = [
Expand Down
8 changes: 7 additions & 1 deletion sass/_base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
:root {
--page-max-width: 57rem;
--page-with-toc-max-width: 81rem;
--navbar-height: 5.937rem;
--navbar-height: 4.25rem;

@media all and (min-width: 768px) {
--navbar-height: 5.875rem;
}

--color-text: #333;
--color-text-light: #757575;
Expand Down Expand Up @@ -55,6 +59,8 @@ body {
}

main {
display: flex;
flex-direction: column;
flex: 1;
}

Expand Down
36 changes: 12 additions & 24 deletions sass/_docs.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
header {
margin-bottom: 1em;

h1 {
margin-bottom: 0;
}

.metadata {
font-size: 0.8rem;
}
}

.docs-body {
width: 100%;
display: flex;
Expand All @@ -21,6 +9,18 @@ header {
}

--docs-menu-width: 18rem;

header {
margin-bottom: 1em;

h1 {
margin-bottom: 0;
}

.metadata {
font-size: 0.8rem;
}
}
}

.docs-menu {
Expand Down Expand Up @@ -122,18 +122,6 @@ header {
}
}

#docs-menu-checkbox:not(:checked) ~ .docs-menu {
@media (max-width: 767px) {
display: none;
}
}

#docs-menu-checkbox:checked ~ .docs-content {
@media (max-width: 767px) {
display: none;
}
}

.mjolnir_button {
border: 1px solid rgb(217, 217, 217);
border-radius: 1000px;
Expand Down
Loading