This commit is contained in:
lda committed 2025-12-25 23:25:12 +07:00
1 parent e61c34bc0d
commit 1911d55d5e
13 files changed
+539 -10

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ a:hover {
.container {
width: 100%;
max-width: 800px; /* Default width */
display: flex;
flex-direction: column;
align-items: center;
+1
View File
@@ -123,6 +123,7 @@ textarea.form-control {
/* Navbar */
.navbar {
width: 100%;
max-width: 800px; /* Default width */
background-color: var(--surface-color);
padding: 1rem 2rem;
display: flex;
+186
View File
@@ -0,0 +1,186 @@
:root {
--bg-color: #121212;
--surface-color: #1e1e1e;
--primary-color: #bb86fc;
--text-color: #e0e0e0;
--error-color: #cf6679;
--success-color: #03dac6;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: system-ui, -apple-system, sans-serif;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 20px;
box-sizing: border-box;
min-height: 100lvh;
}
.card {
background-color: var(--surface-color);
padding: 2rem;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
max-width: 400px;
width: 100%;
text-align: center;
border: 1px solid #333;
}
h1 {
margin-top: 0;
color: var(--error-color);
font-size: 1.8rem;
}
p {
line-height: 1.5;
margin-bottom: 1.5rem;
}
input {
width: 100%;
padding: 12px;
margin: 10px 0;
background: #2d2d2d;
border: 1px solid #444;
color: white;
border-radius: 6px;
box-sizing: border-box;
font-size: 1rem;
}
input:focus {
outline: 2px solid var(--primary-color);
border-color: transparent;
}
.buttons {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 20px;
}
button {
padding: 12px 24px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
font-size: 1rem;
transition: transform 0.1s, opacity 0.2s;
}
button:active {
transform: scale(0.98);
}
button.primary {
background-color: var(--error-color);
color: #000;
}
button.create-btn {
background-color: var(--primary-color);
color: #000;
}
button.secondary {
background-color: #333;
color: #fff;
border: 1px solid #444;
}
button:hover {
opacity: 0.9;
}
.hidden {
display: none;
}
#result-area {
margin-top: 20px;
padding: 15px;
background: #252525;
border-radius: 6px;
border: 1px solid #333;
text-align: left;
}
.link-display {
word-break: break-all;
color: var(--primary-color);
margin-bottom: 10px;
display: block;
font-family: monospace;
}
.copy-feedback {
display: none;
color: var(--success-color);
font-size: 0.8rem;
margin-left: 10px;
opacity: 0;
transition: opacity 0.3s;
}
.copy-feedback.show {
opacity: 1;
display: unset;
}
footer {
margin-top: 30px;
font-size: 0.8rem;
color: #666;
}
footer a {
color: #888;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
/* Utility Classes */
.text-primary {
color: var(--primary-color);
}
.text-muted {
color: #888;
font-size: 0.9em;
}
.mb-small {
margin: 0 0 5px 0;
}
.btn-full {
width: 100%;
padding: 8px;
}
.warning-box {
background: #252525;
padding: 10px;
border-radius: 4px;
margin-bottom: 20px;
text-align: left;
}
.destination-url {
color: white;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
+4 -2
View File
@@ -1,6 +1,6 @@
.pastepad-container {
width: 100%;
max-width: 1000px; /* Increased from 800px */
/* max-width handled by .layout-wide .container */
display: flex;
flex-direction: column;
gap: 20px;
@@ -51,6 +51,8 @@
box-sizing: border-box;
}
.navbar:has( ~ .container .pastepad-container) {
/* Wide Layout Override */
.layout-wide .navbar,
.layout-wide .container {
max-width: 1000px;
}
-4
View File
@@ -70,7 +70,3 @@ details:has(.route-list) {
.queue-form textarea {
resize: vertical;
}
.navbar:has(~ .container .queue-title) {
max-width: 800px;
}