heavylifting
breaking the trend to say that i fully let AI do the work here im not touching Shit lowk idek how this thing works. There was an initial different style for the paste pad, but idk man thats what you get for AI works. you dont know everything. You dont need to.
This commit is contained in:
1 parent
57a73e9c17
commit
107e880cf8
16 files changed
+907
-334
No files matched your search
@@ -0,0 +1,28 @@
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
min-height: 100dvh;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -0,0 +1,201 @@
|
||||
/* Buttons */
|
||||
button,
|
||||
input[type="submit"],
|
||||
.btn {
|
||||
background-color: var(--surface-color);
|
||||
color: var(--primary-color);
|
||||
border: 1px solid var(--primary-color);
|
||||
padding: 10px 20px;
|
||||
border-radius: var(--border-radius);
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
transition: background-color 0.2s, color 0.2s;
|
||||
margin: 5px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
input[type="submit"]:hover,
|
||||
.btn:hover {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--bg-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-sm {
|
||||
padding: 5px 10px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
border-color: var(--error-color);
|
||||
color: var(--error-color);
|
||||
}
|
||||
|
||||
.btn-danger:hover {
|
||||
background-color: var(--error-color);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
border-color: #666;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
textarea {
|
||||
background-color: var(--surface-color);
|
||||
color: var(--text-color);
|
||||
border: 1px solid #333;
|
||||
border-radius: var(--border-radius);
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
/* max-width: 800px; Removed global max-width */
|
||||
font-family: monospace;
|
||||
min-width: 20%;
|
||||
min-height: 20dvh;
|
||||
box-sizing: border-box; /* Ensure padding doesn't break width */
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* align-items: center; Removed global alignment */
|
||||
width: 100%;
|
||||
/* max-width: 800px; Removed global max-width */
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #333;
|
||||
color: white;
|
||||
border: 1px solid #444;
|
||||
border-radius: var(--border-radius);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
min-height: 150px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Cards */
|
||||
.card {
|
||||
background-color: var(--surface-color);
|
||||
padding: 30px;
|
||||
border-radius: var(--border-radius);
|
||||
flex: 1;
|
||||
min-width: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* align-items: center; Removed to allow full width content */
|
||||
text-align: center;
|
||||
border: 1px solid #333;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.card h2 {
|
||||
color: var(--secondary-color);
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.card p {
|
||||
margin-bottom: 15px;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.card .actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar {
|
||||
width: 100%;
|
||||
background-color: var(--surface-color);
|
||||
padding: 1rem 2rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.nav-brand {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
margin-left: 1.5rem;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
/* Lists */
|
||||
/* Generic list styles can go here if needed */
|
||||
|
||||
/* Details/Summary */
|
||||
details {
|
||||
width: 100%;
|
||||
/* max-width: 600px; Removed global max-width */
|
||||
margin-top: 20px;
|
||||
background-color: var(--surface-color);
|
||||
border-radius: var(--border-radius);
|
||||
border: 1px solid #333;
|
||||
}
|
||||
|
||||
summary {
|
||||
padding: 15px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
color: var(--secondary-color);
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
summary::after {
|
||||
content: "+";
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
details[open] summary::after {
|
||||
content: "-";
|
||||
}
|
||||
|
||||
details[open] summary {
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
|
||||
summary::marker,
|
||||
summary::-webkit-details-marker {
|
||||
list-style-type: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Misc */
|
||||
.qrcode {
|
||||
margin-top: 10px;
|
||||
margin-inline: auto;
|
||||
background-color: white;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
width: fit-content;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
.hero {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
max-width: 1000px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
.pastepad-container {
|
||||
width: 100%;
|
||||
max-width: 1000px; /* Increased from 800px */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.editor {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.editor-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.paste-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.paste-item {
|
||||
background: var(--surface-color);
|
||||
padding: 15px;
|
||||
border-radius: var(--border-radius);
|
||||
text-align: left; /* Override card's center alignment */
|
||||
}
|
||||
|
||||
.paste-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid #333;
|
||||
padding-bottom: 10px;
|
||||
width: 100%; /* Ensure full width */
|
||||
}
|
||||
|
||||
.paste-item pre {
|
||||
background: #111;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
overflow-x: auto;
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
width: 100%; /* Ensure full width */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
.route-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
width: 800px;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.route-item {
|
||||
background-color: var(--surface-color);
|
||||
padding: 15px;
|
||||
border-radius: var(--border-radius);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-family: monospace;
|
||||
gap: 2em;
|
||||
}
|
||||
|
||||
.queue-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.queue-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
width: 800px;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.queue-grid li {
|
||||
flex: 1 1 300px;
|
||||
max-width: 400px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
/* Visual styles moved from components.css */
|
||||
background-color: var(--surface-color);
|
||||
margin-bottom: 10px;
|
||||
padding: 15px;
|
||||
border-radius: var(--border-radius);
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.queue-grid li a {
|
||||
align-items: center;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Specific override for the queue input form */
|
||||
.queue-form {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.queue-form textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.reader-btn {
|
||||
font-size: 1.5rem;
|
||||
padding: 20px 40px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
.trail-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 80dvh;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.trail-count {
|
||||
font-size: 5rem;
|
||||
font-weight: bold;
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.trail-hint {
|
||||
color: #666;
|
||||
margin-top: 20px;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
:root {
|
||||
--bg-color: #121212;
|
||||
--text-color: #e0e0e0;
|
||||
--primary-color: #bb86fc;
|
||||
--secondary-color: #03dac6;
|
||||
--error-color: #cf6679;
|
||||
--surface-color: #1e1e1e;
|
||||
--border-radius: 8px;
|
||||
}
|
||||
Reference in new issue
Block a user