Change colors.
Some checks are pending
Build and Push Docker Images (Default + Simple Mode) / build-and-release (push) Waiting to run
Build and Push Docker Images (Default + Simple Mode) / build-amd64 (map[name:default simple_mode:false suffix:]) (push) Waiting to run
Build and Push Docker Images (Default + Simple Mode) / build-amd64 (map[name:simple simple_mode:true suffix:-simple]) (push) Waiting to run
Build and Push Docker Images (Default + Simple Mode) / build-arm64 (map[name:default simple_mode:false suffix:]) (push) Waiting to run
Build and Push Docker Images (Default + Simple Mode) / build-arm64 (map[name:simple simple_mode:true suffix:-simple]) (push) Waiting to run
Build and Push Docker Images (Default + Simple Mode) / merge-manifests-ghcr (map[name:default suffix:]) (push) Blocked by required conditions
Build and Push Docker Images (Default + Simple Mode) / merge-manifests-ghcr (map[name:simple suffix:-simple]) (push) Blocked by required conditions
Build and Push Docker Images (Default + Simple Mode) / push-to-dockerhub (map[name:default suffix:]) (push) Blocked by required conditions
Build and Push Docker Images (Default + Simple Mode) / push-to-dockerhub (map[name:simple suffix:-simple]) (push) Blocked by required conditions
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run
Trivy Security Scan / scan-image (map[file:Dockerfile name:bentopdf]) (push) Waiting to run
Trivy Security Scan / scan-image (map[file:Dockerfile.nonroot name:bentopdf-nonroot]) (push) Waiting to run
Trivy Security Scan / scan-dependencies (push) Waiting to run
Trivy Security Scan / scan-config (push) Waiting to run

This commit is contained in:
Djokavex
2026-04-18 21:22:49 +02:00
parent 322b2a2692
commit 6d8ba32bed
10 changed files with 156 additions and 172 deletions

View File

@@ -45,23 +45,23 @@
}
.md-editor-btn-secondary {
color: rgb(156, 163, 175);
background: rgb(31, 41, 55);
border: 1px solid rgb(55, 65, 81);
color: rgb(157, 191, 175);
background: rgb(0, 62, 28);
border: 1px solid rgb(2, 78, 37);
}
.md-editor-btn-secondary:hover {
background: rgb(55, 65, 81);
background: rgb(2, 78, 37);
color: white;
}
.md-editor-btn-primary {
color: white;
background: rgb(79, 70, 229);
background: rgb(117, 187, 153);
}
.md-editor-btn-primary:hover {
background: rgb(99, 102, 241);
background: rgb(117, 187, 153);
}
.md-editor-btn:disabled {
@@ -75,18 +75,18 @@
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.75rem;
background: rgb(31, 41, 55);
border: 1px solid rgb(55, 65, 81);
background: rgb(0, 62, 28);
border: 1px solid rgb(2, 78, 37);
border-radius: 0.375rem;
font-size: 0.875rem;
color: rgb(156, 163, 175);
color: rgb(157, 191, 175);
}
.theme-toggle-slider {
position: relative;
width: 40px;
height: 20px;
background: rgb(55, 65, 81);
background: rgb(2, 78, 37);
border-radius: 10px;
cursor: pointer;
transition: background 0.2s;
@@ -105,7 +105,7 @@
}
.theme-toggle-slider.active {
background: rgb(79, 70, 229);
background: rgb(117, 187, 153);
}
.theme-toggle-slider.active::before {
@@ -118,7 +118,7 @@
grid-template-columns: 1fr 1fr;
gap: 1rem;
height: 600px;
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
border-radius: 0.5rem;
overflow: hidden;
}
@@ -127,22 +127,22 @@
display: flex;
flex-direction: column;
min-height: 0;
background: rgb(31, 41, 55);
background: rgb(0, 62, 28);
}
.md-editor-pane-header {
padding: 0.75rem 1rem;
font-size: 0.875rem;
font-weight: 600;
color: rgb(156, 163, 175);
background: rgb(17, 24, 39);
border-bottom: 1px solid rgb(55, 65, 81);
color: rgb(157, 191, 175);
background: rgb(1, 17, 9);
border-bottom: 1px solid rgb(2, 78, 37);
flex-shrink: 0;
}
/* Separator between panes */
.md-editor-pane:first-child {
border-right: 2px solid rgb(55, 65, 81);
border-right: 2px solid rgb(2, 78, 37);
}
.md-editor.light-mode .md-editor-pane:first-child {
@@ -158,7 +158,7 @@
font-size: 0.875rem;
line-height: 1.6;
color: rgb(229, 231, 235);
background: rgb(31, 41, 55);
background: rgb(0, 62, 28);
border: none;
outline: none;
resize: none;
@@ -181,19 +181,19 @@
.md-editor.light-mode .md-editor-textarea {
background: white;
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
}
.md-editor.light-mode .md-editor-preview {
background: white;
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
}
.md-editor-preview {
flex: 1;
padding: 1.5rem;
overflow-y: auto;
background: rgb(31, 41, 55);
background: rgb(0, 62, 28);
color: rgb(229, 231, 235);
}
@@ -218,13 +218,13 @@
.md-editor-preview h1 {
font-size: 2em;
border-bottom: 1px solid rgb(55, 65, 81);
border-bottom: 1px solid rgb(2, 78, 37);
padding-bottom: 0.3em;
}
.md-editor-preview h2 {
font-size: 1.5em;
border-bottom: 1px solid rgb(55, 65, 81);
border-bottom: 1px solid rgb(2, 78, 37);
padding-bottom: 0.3em;
}
@@ -249,20 +249,20 @@
.md-editor-preview code {
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
font-size: 0.9em;
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
color: rgb(251, 191, 36);
padding: 0.2em 0.4em;
border-radius: 3px;
}
.md-editor-preview pre {
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
padding: 1rem;
overflow: auto;
border-radius: 0.5rem;
line-height: 1.45;
margin: 1em 0;
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
}
.md-editor-preview pre code {
@@ -274,8 +274,8 @@
.md-editor-preview blockquote {
margin: 1em 0;
padding: 0 1em;
color: rgb(156, 163, 175);
border-left: 4px solid rgb(79, 70, 229);
color: rgb(157, 191, 175);
border-left: 4px solid rgb(117, 187, 153);
}
.md-editor-preview ul,
@@ -296,24 +296,24 @@
.md-editor-preview th,
.md-editor-preview td {
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
padding: 8px 12px;
text-align: left;
}
.md-editor-preview th {
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
font-weight: 600;
color: white;
}
.md-editor-preview tr:nth-child(even) {
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
}
.md-editor-preview hr {
border: none;
border-top: 1px solid rgb(55, 65, 81);
border-top: 1px solid rgb(2, 78, 37);
margin: 2em 0;
}
@@ -330,7 +330,7 @@
.md-editor.light-mode .md-editor-preview h4,
.md-editor.light-mode .md-editor-preview h5,
.md-editor.light-mode .md-editor-preview h6 {
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
}
.md-editor.light-mode .md-editor-preview h1,
@@ -353,12 +353,12 @@
}
.md-editor.light-mode .md-editor-preview pre code {
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
}
.md-editor.light-mode .md-editor-preview blockquote {
color: rgb(75, 85, 99);
border-left-color: rgb(99, 102, 241);
border-left-color: rgb(117, 187, 153);
}
.md-editor.light-mode .md-editor-preview th,
@@ -368,7 +368,7 @@
.md-editor.light-mode .md-editor-preview th {
background: rgb(249, 250, 251);
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
}
.md-editor.light-mode .md-editor-preview tr:nth-child(even) {
@@ -382,7 +382,7 @@
/* Markdown Plugin Styles */
.md-editor-preview mark {
background-color: rgb(254, 243, 199);
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
padding: 0.1em 0.2em;
border-radius: 2px;
}
@@ -390,7 +390,7 @@
.md-editor-preview ins {
text-decoration: none;
background-color: rgb(134, 239, 172);
color: rgb(17, 24, 39);
color: rgb(1, 17, 9);
padding: 0.1em 0.2em;
border-radius: 2px;
}
@@ -403,7 +403,7 @@
.md-editor-preview .footnotes {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid rgb(55, 65, 81);
border-top: 1px solid rgb(2, 78, 37);
font-size: 0.9em;
}
@@ -412,11 +412,11 @@
}
.md-editor-preview .table-of-contents {
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
padding: 1em 1.5em;
border-radius: 0.5rem;
margin: 1em 0;
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
}
.md-editor.light-mode .md-editor-preview .table-of-contents {
@@ -430,9 +430,9 @@
justify-content: center;
margin: 1.5em 0;
padding: 1em;
background: rgb(17, 24, 39);
background: rgb(1, 17, 9);
border-radius: 0.5rem;
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
}
.md-editor-preview .mermaid-diagram svg {
@@ -473,14 +473,14 @@
}
.md-editor-modal {
background: rgb(31, 41, 55);
background: rgb(0, 62, 28);
border-radius: 0.75rem;
padding: 1.5rem;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
border: 1px solid rgb(55, 65, 81);
border: 1px solid rgb(2, 78, 37);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}
@@ -499,7 +499,7 @@
.md-editor-modal-close {
padding: 0.5rem;
color: rgb(156, 163, 175);
color: rgb(157, 191, 175);
background: transparent;
border: none;
cursor: pointer;
@@ -508,7 +508,7 @@
}
.md-editor-modal-close:hover {
background: rgb(55, 65, 81);
background: rgb(2, 78, 37);
color: white;
}
@@ -529,7 +529,7 @@
gap: 0.5rem;
padding: 0.375rem 0;
font-size: 0.875rem;
color: rgb(156, 163, 175);
color: rgb(157, 191, 175);
cursor: pointer;
}
@@ -541,8 +541,8 @@
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
color: white;
background: rgb(17, 24, 39);
border: 1px solid rgb(55, 65, 81);
background: rgb(1, 17, 9);
border: 1px solid rgb(2, 78, 37);
border-radius: 0.375rem;
cursor: pointer;
width: 100%;
@@ -554,12 +554,11 @@
.md-editor-settings-group select:focus {
outline: none;
border-color: rgb(79, 70, 229);
border-color: rgb(117, 187, 153);
}
/* Print Styles */
@media print {
/* Reset all backgrounds, margins, and padding */
html,
body {
@@ -584,10 +583,10 @@
nav,
footer,
#back-to-tools,
.bg-gray-800>h1.text-2xl,
.bg-gray-800>p.text-gray-400,
#markdown-editor-container~h1,
#markdown-editor-container~p {
.bg-gray-800 > h1.text-2xl,
.bg-gray-800 > p.text-gray-400,
#markdown-editor-container ~ h1,
#markdown-editor-container ~ p {
display: none !important;
}
@@ -600,7 +599,7 @@
.py-8,
.px-4,
#markdown-editor-container,
[class*="container"] {
[class*='container'] {
padding: 0 !important;
margin: 0 !important;
background: white !important;
@@ -658,8 +657,8 @@
page-break-after: avoid;
}
.md-editor-preview>h1:first-child,
.md-editor-preview>*:first-child {
.md-editor-preview > h1:first-child,
.md-editor-preview > *:first-child {
margin-top: 0 !important;
}
@@ -769,7 +768,7 @@
.md-editor-pane:first-child {
border-right: none;
border-bottom: 2px solid rgb(55, 65, 81);
border-bottom: 2px solid rgb(2, 78, 37);
}
.md-editor.light-mode .md-editor-pane:first-child {
@@ -814,4 +813,4 @@
.md-editor-actions {
gap: 0.375rem;
}
}
}