Add header layouts and hamburger menu layout

Ref #167, #88, #43, #29
This commit is contained in:
James Panther
2022-06-27 12:31:15 +10:00
parent efbeceaa4f
commit e2b7af1e72
13 changed files with 204 additions and 66 deletions
+11
View File
@@ -21,6 +21,17 @@ body button {
@apply hidden;
}
/* Hamburger menu */
body:has(#menu-controller:checked) {
@apply fixed overflow-y-scroll;
}
#menu-button:has(#menu-controller:checked) {
@apply invisible;
}
#menu-controller:checked ~ #menu-wrapper {
@apply visible opacity-100;
}
/* RTL support */
.prose blockquote {
@apply rtl:pr-4 rtl:border-l-0 rtl:border-r-4;