mirror of https://github.com/jpanther/congo.git
🎨 Reformat CSS
parent
928aa0ed51
commit
99618781bc
|
@ -1188,8 +1188,8 @@ body:has(#menu-controller:checked) {
|
||||||
.copy-button {
|
.copy-button {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -1240,7 +1240,7 @@ body:has(#menu-controller:checked) {
|
||||||
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
||||||
|
|
||||||
.katex-display {
|
.katex-display {
|
||||||
overflow: auto hidden
|
overflow: auto hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix long tables breaking out of article on mobile */
|
/* Fix long tables breaking out of article on mobile */
|
||||||
|
|
|
@ -67,7 +67,7 @@ body:has(#menu-controller:checked) {
|
||||||
|
|
||||||
.toc ul,
|
.toc ul,
|
||||||
.toc li {
|
.toc li {
|
||||||
@apply list-none px-0 leading-snug;
|
@apply px-0 leading-snug list-none;
|
||||||
}
|
}
|
||||||
.toc ul ul {
|
.toc ul ul {
|
||||||
@apply ps-4;
|
@apply ps-4;
|
||||||
|
@ -90,7 +90,7 @@ body:has(#menu-controller:checked) {
|
||||||
@apply visible;
|
@apply visible;
|
||||||
}
|
}
|
||||||
.copy-button {
|
.copy-button {
|
||||||
@apply invisible absolute right-0 top-0 z-10 w-20 cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 py-1 font-mono text-sm text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200;
|
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer whitespace-nowrap rounded-bl-md rounded-tr-md bg-neutral-200 text-neutral-700 opacity-90 dark:bg-neutral-600 dark:text-neutral-200;
|
||||||
}
|
}
|
||||||
.copy-button:hover,
|
.copy-button:hover,
|
||||||
.copy-button:focus,
|
.copy-button:focus,
|
||||||
|
@ -103,7 +103,9 @@ body:has(#menu-controller:checked) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
||||||
.katex-display { overflow: auto hidden }
|
.katex-display {
|
||||||
|
overflow: auto hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/* Fix long tables breaking out of article on mobile */
|
/* Fix long tables breaking out of article on mobile */
|
||||||
table {
|
table {
|
||||||
|
@ -120,20 +122,20 @@ code {
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
/* Background */
|
/* Background */
|
||||||
.chroma {
|
.chroma {
|
||||||
@apply rounded-md bg-neutral-50 py-3 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
|
@apply py-3 rounded-md bg-neutral-50 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
|
||||||
}
|
}
|
||||||
.chroma pre {
|
.chroma pre {
|
||||||
@apply m-0 p-0;
|
@apply p-0 m-0;
|
||||||
}
|
}
|
||||||
/* LineTable */
|
/* LineTable */
|
||||||
.chroma .lntable {
|
.chroma .lntable {
|
||||||
@apply m-0 block w-auto overflow-auto text-base;
|
@apply block w-auto m-0 overflow-auto text-base;
|
||||||
}
|
}
|
||||||
/* LineNumbersTable */
|
/* LineNumbersTable */
|
||||||
/* LineNumbers */
|
/* LineNumbers */
|
||||||
.chroma .lnt,
|
.chroma .lnt,
|
||||||
.chroma .ln {
|
.chroma .ln {
|
||||||
@apply mr-2 px-2 text-neutral-600 dark:text-neutral-300;
|
@apply px-2 mr-2 text-neutral-600 dark:text-neutral-300;
|
||||||
}
|
}
|
||||||
.chroma .lntd {
|
.chroma .lntd {
|
||||||
@apply p-0 align-top;
|
@apply p-0 align-top;
|
||||||
|
@ -295,7 +297,7 @@ code {
|
||||||
}
|
}
|
||||||
/* CommentHashbang */
|
/* CommentHashbang */
|
||||||
.chroma .ch {
|
.chroma .ch {
|
||||||
@apply font-semibold italic text-neutral-500 dark:text-neutral-400;
|
@apply italic font-semibold text-neutral-500 dark:text-neutral-400;
|
||||||
}
|
}
|
||||||
/* GenericEmph */
|
/* GenericEmph */
|
||||||
.chroma .ge {
|
.chroma .ge {
|
||||||
|
|
Loading…
Reference in New Issue