From c83747faaad348660a3163c7d0cf5a630aee58a3 Mon Sep 17 00:00:00 2001 From: vlev Date: Fri, 3 May 2024 01:04:21 -0400 Subject: [PATCH] fix code blocks too long --- docs/assets/lu5-hljs-theme.css | 2 +- docs/index.html | 2 +- tasks/templates/css/lu5-hljs-theme.css | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/assets/lu5-hljs-theme.css b/docs/assets/lu5-hljs-theme.css index 09f42a07..f48ac7c2 100644 --- a/docs/assets/lu5-hljs-theme.css +++ b/docs/assets/lu5-hljs-theme.css @@ -1 +1 @@ -@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');pre code.hljs{display:block;overflow-x:auto;padding:1em;font-family:"Source Code Pro",monospace;font-optical-sizing:auto;font-weight:400;font-style:normal;border-radius:8px}code.hljs{padding:3px 5px}.hljs{background:#dfd4ff;color:#123422}.hljs-comment,.hljs-quote{color:#8575bf}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#AA36EF}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#461164}.hljs-attribute{color:#551b93}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#551b93}.hljs-title,.hljs-section{color:#9916cF}.hljs-keyword,.hljs-selector-tag{color:#551b93}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-string,.hljs-symbol,.hljs-type,.hljs-quote{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:bold}} \ No newline at end of file +@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');pre code.hljs{display:block;overflow-x:auto;padding:1em;font-family:"Source Code Pro",monospace;font-optical-sizing:auto;font-weight:400;font-style:normal;border-radius:8px;max-width:38em;width:fit-content;padding-right:6em}code.hljs{padding:3px 5px}.hljs{background:#dfd4ff;color:#123422}.hljs-comment,.hljs-quote{color:#8575bf}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#AA36EF}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#461164}.hljs-attribute{color:#551b93}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#551b93}.hljs-title,.hljs-section{color:#9916cF}.hljs-keyword,.hljs-selector-tag{color:#551b93}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-string,.hljs-symbol,.hljs-type,.hljs-quote{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:bold}} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 6d882e3d..bd71fb16 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@

Reference

v0.0.2 -

lu5_math

loaders

events

+

lu5_math

loaders

events

diff --git a/tasks/templates/css/lu5-hljs-theme.css b/tasks/templates/css/lu5-hljs-theme.css index 056e9f34..af3c3a9a 100644 --- a/tasks/templates/css/lu5-hljs-theme.css +++ b/tasks/templates/css/lu5-hljs-theme.css @@ -10,6 +10,9 @@ pre code.hljs { font-weight: 400; font-style: normal; border-radius: 8px; + max-width: 38em; + width: fit-content; + padding-right: 6em; } code.hljs { padding: 3px 5px