313 lines
4.6 KiB
CSS
313 lines
4.6 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
background: #1a1a2e;
|
|
color: #e0e0e0;
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2.5rem;
|
|
color: #e94560;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
header h1 a {
|
|
color: #e94560;
|
|
text-decoration: none;
|
|
}
|
|
|
|
header p {
|
|
color: #a0a0a0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.error {
|
|
background: #e94560;
|
|
color: white;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 2px solid #16213e;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.tab {
|
|
background: transparent;
|
|
border: none;
|
|
color: #a0a0a0;
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -2px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.tab:hover {
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.tab.active {
|
|
color: #e94560;
|
|
border-bottom-color: #e94560;
|
|
}
|
|
|
|
.panel {
|
|
display: none;
|
|
}
|
|
|
|
.panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: #a0a0a0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
input[type="text"],
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
background: #16213e;
|
|
border: 1px solid #0f3460;
|
|
color: #e0e0e0;
|
|
padding: 0.75rem;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
outline: none;
|
|
border-color: #e94560;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
min-height: 200px;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
}
|
|
|
|
.file-input {
|
|
position: relative;
|
|
}
|
|
|
|
.file-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
background: #16213e;
|
|
border: 2px dashed #0f3460;
|
|
padding: 1.5rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.file-label:hover {
|
|
border-color: #e94560;
|
|
}
|
|
|
|
.file-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.file-text {
|
|
color: #a0a0a0;
|
|
}
|
|
|
|
.chosen-file {
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
color: #e94560;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
background: #e94560;
|
|
color: white;
|
|
border: none;
|
|
padding: 1rem;
|
|
font-size: 1.1rem;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background: #c83a54;
|
|
}
|
|
|
|
.paste-view {
|
|
background: #16213e;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.paste-view h2 {
|
|
color: #e94560;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid #0f3460;
|
|
font-size: 0.85rem;
|
|
color: #a0a0a0;
|
|
}
|
|
|
|
.meta code {
|
|
background: #0f3460;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 3px;
|
|
color: #e94560;
|
|
}
|
|
|
|
.content-wrapper {
|
|
background: #0f3460;
|
|
border-radius: 6px;
|
|
padding: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.content-wrapper pre {
|
|
margin: 0;
|
|
}
|
|
|
|
.content-wrapper code {
|
|
font-family: 'Courier New', Courier, monospace;
|
|
font-size: 0.9rem;
|
|
color: #e0e0e0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.image-wrapper {
|
|
text-align: center;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
.paste-image {
|
|
max-width: 100%;
|
|
max-height: 60vh;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.file-info {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.file-info p {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #e94560;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: #c83a54;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #0f3460;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #1a4a8a;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.tabs {
|
|
gap: 0;
|
|
}
|
|
|
|
.tab {
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.meta {
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
} |