aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-01-26 14:44:47 +0100
committersptaule <lecas83@gmail.com>2022-01-26 14:44:47 +0100
commite0977c983abff89ac3a9e37f616399dc0b6c61c7 (patch)
tree51aec127e129ad291063d745904bbe43d906a44d /src
parentee4d6a01e16ac53fa3e48340a47455281d5f6bc0 (diff)
downloadgaragehq.deuxfleurs.fr-e0977c983abff89ac3a9e37f616399dc0b6c61c7.tar.gz
garagehq.deuxfleurs.fr-e0977c983abff89ac3a9e37f616399dc0b6c61c7.zip
Fix doc links & added noJS support for the doc
Diffstat (limited to 'src')
-rwxr-xr-xsrc/input.css32
1 files changed, 29 insertions, 3 deletions
diff --git a/src/input.css b/src/input.css
index ba1be60..1a5d06b 100755
--- a/src/input.css
+++ b/src/input.css
@@ -4,6 +4,10 @@
/* ARTICLES BASIC ELEMENTS */
+article .page-content {
+ @apply text-lg;
+}
+
/** Pre */
article pre {
@@ -66,8 +70,8 @@ article ol ul {
@apply ml-4 py-0 list-disc;
}
-p > code {
- @apply bg-gray-100 p-1 rounded font-semibold text-garage-gray shadow-inner;
+p > code, p > strong > code, li > code, li > strong > code {
+ @apply bg-gray-100 text-base py-0.5 px-1 rounded font-semibold text-garage-gray shadow-inner;
}
.page-content > h1 {
@@ -87,9 +91,31 @@ p > code {
}
.page-content a {
- @apply font-semibold text-garage-orange border-b hover:border-garage-gray px-0.5 border-garage-orange bg-transparent hover:bg-garage-orange hover:text-white hover:rounded-sm hover:no-underline duration-150 transition;
+ @apply font-semibold text-garage-orange border-b hover:border-garage-gray border-garage-orange bg-transparent hover:bg-garage-orange hover:text-white hover:rounded-sm hover:no-underline duration-150 transition;
+}
+
+.page-content img {
+ @apply inline-block my-8 shadow rounded;
}
.is-active {
@apply text-orange-600;
}
+
+@layer utilities {
+
+ /** Global ToC */
+ #global_toc .deploySubMenu {
+ position: absolute;
+ left: -100vw;
+ }
+
+ #global_toc .deploySubMenu:checked ~ .subMenu {
+ display: none;
+ }
+
+ #global_toc .deploySubMenu:checked + label .arrow {
+ transform: rotate(0deg);
+ }
+
+} \ No newline at end of file