chore: lint CSS

Lints CSS files from this repo. This does NOT affect minimized css via
the ignore file.
This commit is contained in:
FireIsGood committed 2024-05-16 14:37:27 -07:00
1 parent 8b522dc627
commit bf532d2d74
12 files changed
+384 -374

No files matched your search

+22 -23
View File
@@ -1,58 +1,57 @@
code {
@apply text-emerald-600;
@apply dark:text-slate-300;
@apply text-emerald-600;
@apply dark:text-slate-300;
}
pre {
line-height: 1.5;
@apply p-4 overflow-hidden overflow-x-auto bg-white;
@apply dark:bg-slate-800;
line-height: 1.5;
@apply overflow-hidden overflow-x-auto bg-white p-4;
@apply dark:bg-slate-800;
}
.mdLayout pre + p:not(:last-child) {
@apply border-t border-slate-200;
@apply dark:border-slate-700/50;
@apply border-t border-slate-200;
@apply dark:border-slate-700/50;
}
/* When there is only one pre code block, the scroll bar is displayed at the bottom */
pre:only-child {
@apply h-full;
@apply h-full;
}
pre > code {
color: #345;
padding: 0!important;
background: transparent;
overflow: visible;
color: #345;
padding: 0 !important;
background: transparent;
overflow: visible;
}
pre > code.wrap {
@apply break-words whitespace-pre-wrap !important;
@apply whitespace-pre-wrap break-words !important;
}
.mdLayout .line-highlight {
transform: translate3d(0, 2px, 0);
background: linear-gradient(to right, rgba(20, 175, 131, 0.05) 25%, transparent);
transform: translate3d(0, 2px, 0);
background: linear-gradient(to right, rgba(20, 175, 131, 0.05) 25%, transparent);
}
.mdLayout .line-highlight[data-end] {
margin-top: 0;
margin-top: 0;
}
.mdLayout .line-highlight::before, .mdLayout .line-highlight::after {
display: none;
.mdLayout .line-highlight::before,
.mdLayout .line-highlight::after {
display: none;
}
.mdLayout code.hljs {
background: transparent;
background: transparent;
}
.note-content pre {
padding: 6px 0 !important;
padding: 6px 0 !important;
}
.note-content pre code {
padding: 1rem !important;
padding: 1rem !important;
}