aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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