add: better index
This commit is contained in:
parent
92bc424361
commit
a54bc7f6c3
3 changed files with 12 additions and 7 deletions
|
@ -103,11 +103,14 @@ article {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
/* background: var(--color-raised); */
|
|
||||||
height: var(--nav-height);
|
height: var(--nav-height);
|
||||||
/* position: sticky;
|
}
|
||||||
|
|
||||||
|
nav.sticky {
|
||||||
|
background: var(--color-raised);
|
||||||
|
position: sticky;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
top: 2; */
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 900px) {
|
@media screen and (max-width: 900px) {
|
||||||
|
@ -132,7 +135,7 @@ nav {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container:not(#preview_tab):not(#tabs_group) {
|
.container {
|
||||||
margin: 10px auto 0;
|
margin: 10px auto 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,7 @@
|
||||||
(meta ("property" "twitter:title") ("content" "{{ name }}"))
|
(meta ("property" "twitter:title") ("content" "{{ name }}"))
|
||||||
(link ("rel" "icon") ("href" "/public/favicon.svg"))
|
(link ("rel" "icon") ("href" "/public/favicon.svg"))
|
||||||
(text "{% endblock %} {% block body %}")
|
(text "{% endblock %} {% block body %}")
|
||||||
(h1 (text "{{ name }}"))
|
(div
|
||||||
|
("class" "card")
|
||||||
|
(h1 (text "{{ name }}")))
|
||||||
(text "{% endblock %}")
|
(text "{% endblock %}")
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
(body
|
(body
|
||||||
; nav
|
; nav
|
||||||
(nav
|
(nav
|
||||||
("class" "flex w_full justify_between gap_2")
|
("class" "flex w_full justify_between gap_2 sticky")
|
||||||
(div
|
(div
|
||||||
("class" "flex side")
|
("class" "flex side")
|
||||||
(div
|
(div
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
("href" "https://trisua.com/t/malachite")
|
("href" "https://trisua.com/t/malachite")
|
||||||
(text "source"))
|
(text "source"))
|
||||||
(text "{% block dropdown %}{% endblock %}")))
|
(text "{% block dropdown %}{% endblock %}")))
|
||||||
(a ("href" "/") (b (text "{{ name }}"))))
|
(a ("class" "button camo") ("href" "/") (b (text "{{ name }}"))))
|
||||||
|
|
||||||
(div
|
(div
|
||||||
("class" "side flex")
|
("class" "side flex")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue