mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
303 lines
6.2 KiB
CSS
303 lines
6.2 KiB
CSS
#blur[data-decrypted="false"] {
|
|
-webkit-backdrop-filter: blur(10px);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
#blur[data-decrypted="true"] {
|
|
z-index: -1;
|
|
}
|
|
|
|
#blur {
|
|
z-index: 999;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.paste-information {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-bottom: 1px solid var(--neutral-700);
|
|
}
|
|
|
|
.paste-information p {
|
|
margin-left: 2.5px;
|
|
margin-right: 2.5px;
|
|
}
|
|
|
|
.paste-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.main-container {
|
|
max-height: 80% !important;
|
|
}
|
|
|
|
.paste-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
max-height: 80%;
|
|
margin-top: 15px;
|
|
background-color: var(--neutral-800);
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-700);
|
|
}
|
|
|
|
#paste-content {
|
|
padding: 10px;
|
|
max-width: 100%;
|
|
max-height: 20vh;
|
|
overflow-y: scroll;
|
|
overflow-wrap: break-word;
|
|
word-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
border-radius: 0px;
|
|
border-bottom-right-radius: 5px;
|
|
border-bottom-left-radius: 5px;
|
|
display: block !important;
|
|
}
|
|
|
|
.paste-actions {
|
|
padding: 10px;
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--neutral-700);
|
|
}
|
|
|
|
button {
|
|
padding: 5px;
|
|
margin: 5px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--neutral-700);
|
|
background-color: var(--neutral-800);
|
|
color: var(--neutral-50);
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: var(--neutral-700);
|
|
border-color: var(--neutral-600);
|
|
}
|
|
|
|
button:active {
|
|
background-color: var(--neutral-600);
|
|
border-color: var(--neutral-500);
|
|
}
|
|
|
|
.hljs {
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.hljs-ln-numbers {
|
|
border-right: 1px solid var(--neutral-700);
|
|
padding-right: 8px !important;
|
|
text-align: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.hljs-ln-code {
|
|
padding-left: 16px !important;
|
|
text-align: left;
|
|
user-select: text;
|
|
}
|
|
|
|
pre code.hljs {
|
|
display: block !important;
|
|
overflow-x: auto;
|
|
padding: 1em
|
|
}
|
|
|
|
code.hljs {
|
|
padding: 3px 5px
|
|
}
|
|
.hljs {
|
|
color: #c9d1d9;
|
|
background: var(--neutral-900);
|
|
}
|
|
|
|
.hljs-doctag,
|
|
.hljs-keyword,
|
|
.hljs-meta .hljs-keyword,
|
|
.hljs-template-tag,
|
|
.hljs-template-variable,
|
|
.hljs-type,
|
|
.hljs-variable.language_ {
|
|
color: #ff7b72
|
|
}
|
|
|
|
.hljs-title,
|
|
.hljs-title.class_,
|
|
.hljs-title.class_.inherited__,
|
|
.hljs-title.function_ {
|
|
color: #d2a8ff
|
|
}
|
|
|
|
.hljs-attr,
|
|
.hljs-attribute,
|
|
.hljs-literal,
|
|
.hljs-meta,
|
|
.hljs-number,
|
|
.hljs-operator,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-class,
|
|
.hljs-selector-id,
|
|
.hljs-variable {
|
|
color: #79c0ff
|
|
}
|
|
|
|
.hljs-meta .hljs-string,
|
|
.hljs-regexp,
|
|
.hljs-string {
|
|
color: #a5d6ff
|
|
}
|
|
|
|
.hljs-built_in,
|
|
.hljs-symbol {
|
|
color: #ffa657
|
|
}
|
|
|
|
.hljs-code,
|
|
.hljs-comment,
|
|
.hljs-formula {
|
|
color: #8b949e
|
|
}
|
|
|
|
.hljs-name,
|
|
.hljs-quote,
|
|
.hljs-selector-pseudo,
|
|
.hljs-selector-tag {
|
|
color: #7ee787
|
|
}
|
|
|
|
.hljs-subst {
|
|
color: #c9d1d9
|
|
}
|
|
|
|
.hljs-section {
|
|
color: #1f6feb;
|
|
font-weight: 700
|
|
}
|
|
|
|
.hljs-bullet {
|
|
color: #f2cc60
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
color: #c9d1d9;
|
|
font-style: italic
|
|
}
|
|
|
|
.hljs-strong {
|
|
color: #c9d1d9;
|
|
font-weight: 700
|
|
}
|
|
|
|
.hljs-addition {
|
|
color: #aff5b4;
|
|
background-color: #033a16
|
|
}
|
|
|
|
.hljs-deletion {
|
|
color: #ffdcd7;
|
|
background-color: #67060c
|
|
}
|
|
|
|
.throbber {
|
|
border: 4px solid var(--neutral-700);
|
|
border-top: 4px solid var(--neutral-50);
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
animation: spin 1s linear infinite;
|
|
margin: auto;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Minimal, clean style for paste information card */
|
|
.paste-information-card {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
padding: 0 0 8px 0;
|
|
margin: 0 0 8px 0;
|
|
border-bottom: 1px solid var(--neutral-700);
|
|
min-width: 0;
|
|
}
|
|
.paste-info-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 1rem;
|
|
color: var(--neutral-100);
|
|
font-weight: 400;
|
|
background: none;
|
|
border-radius: 0;
|
|
padding: 0 6px;
|
|
transition: none;
|
|
}
|
|
.info-icon {
|
|
font-size: 1em;
|
|
opacity: 0.7;
|
|
margin-right: 2px;
|
|
}
|
|
#author-link {
|
|
color: var(--neutral-100);
|
|
text-decoration: underline dotted;
|
|
font-weight: 400;
|
|
transition: color 0.2s;
|
|
}
|
|
#author-link:hover {
|
|
color: #4ea1f7;
|
|
}
|
|
.paste-header h1#paste-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 6px;
|
|
color: var(--neutral-50);
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.info-icon {
|
|
display: inline-block;
|
|
width: 1.1em;
|
|
height: 1.1em;
|
|
margin-right: 4px;
|
|
vertical-align: middle;
|
|
opacity: 0.7;
|
|
}
|
|
.syntax-icon {
|
|
background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23aaa" stroke-width="2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 7l-4 3 4 3M13 7l4 3-4 3"/></svg>') no-repeat center/1em 1em;
|
|
}
|
|
.date-icon {
|
|
background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23aaa" stroke-width="2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="8"/><path d="M10 6v4l2 2"/></svg>') no-repeat center/1em 1em;
|
|
}
|
|
.size-icon {
|
|
background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23aaa" stroke-width="2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="4" y="3" width="12" height="14" rx="2"/><path d="M10 7v5m0 0l-2-2m2 2l2-2"/></svg>') no-repeat center/1em 1em;
|
|
}
|
|
.views-icon {
|
|
background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23aaa" stroke-width="2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><ellipse cx="10" cy="10" rx="8" ry="5"/><circle cx="10" cy="10" r="2.5"/></svg>') no-repeat center/1em 1em;
|
|
}
|
|
.author-icon {
|
|
background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23aaa" stroke-width="2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="7.5" r="3.5"/><path d="M3 17c0-3.3 3.1-6 7-6s7 2.7 7 6"/></svg>') no-repeat center/1em 1em;
|
|
} |