mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 11:17:41 +02:00
update deps
This commit is contained in:
@@ -3,15 +3,15 @@ module github.com/skidoodle/pastebin
|
||||
go 1.26.2
|
||||
|
||||
require (
|
||||
github.com/stretchr/testify v1.10.0
|
||||
github.com/stretchr/testify v1.11.1
|
||||
go.etcd.io/bbolt v1.4.3
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/stretchr/objx v0.5.2 // indirect
|
||||
golang.org/x/sync v0.16.0 // indirect
|
||||
github.com/stretchr/objx v0.5.3 // indirect
|
||||
golang.org/x/sync v0.20.0 // indirect
|
||||
golang.org/x/sys v0.43.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
@@ -4,12 +4,18 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
||||
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
||||
github.com/stretchr/objx v0.5.3 h1:jmXUvGomnU1o3W/V5h2VEradbpJDwGrzugQQvL0POH4=
|
||||
github.com/stretchr/objx v0.5.3/go.mod h1:rDQraq+vQZU7Fde9LOZLr8Tax6zZvy4kuNKF+QYS+U0=
|
||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
|
||||
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
|
||||
go.etcd.io/bbolt v1.4.3 h1:dEadXpI6G79deX5prL3QRNP6JB8UxVkqo4UPnHaNXJo=
|
||||
go.etcd.io/bbolt v1.4.3/go.mod h1:tKQlpPaYCVFctUIgFKFnAlvbmB3tpy1vkTnDWohtc0E=
|
||||
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
|
||||
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
|
||||
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
|
||||
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
|
||||
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
|
||||
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
||||
|
||||
+49
-22
@@ -1,5 +1,4 @@
|
||||
:root {
|
||||
/* Unix/Terminal Aesthetic Palette */
|
||||
--bg: #0d1117;
|
||||
--text: #c9d1d9;
|
||||
--text-dim: #8b949e;
|
||||
@@ -9,7 +8,7 @@
|
||||
--secondary: #21262d;
|
||||
--secondary-hover: #30363d;
|
||||
--accent: #58a6ff;
|
||||
--highlight: rgba(241, 250, 140, 0.1); /* Subtle Dracula Yellow */
|
||||
--highlight: rgba(241, 250, 140, 0.1);
|
||||
|
||||
--margin: 1rem;
|
||||
--line-height: 1.5;
|
||||
@@ -22,7 +21,8 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html, body {
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
font-family: var(--font-mono);
|
||||
@@ -60,7 +60,9 @@ body {
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.nav-left .title:hover { color: var(--text); }
|
||||
.nav-left .title:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.source-link {
|
||||
font-size: 0.75rem !important;
|
||||
@@ -89,8 +91,15 @@ body {
|
||||
transition: all 0.1s ease;
|
||||
}
|
||||
|
||||
.primary { background-color: var(--primary); color: #ffffff; }
|
||||
.secondary { background-color: var(--secondary); color: var(--text); }
|
||||
.primary {
|
||||
background-color: var(--primary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.secondary {
|
||||
background-color: var(--secondary);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
#metadata {
|
||||
display: flex;
|
||||
@@ -139,7 +148,8 @@ textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
pre,
|
||||
code {
|
||||
background: transparent !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
@@ -157,7 +167,6 @@ code.with-line-numbers {
|
||||
grid-template-columns: calc(var(--digits, 1) * 1ch + 2rem) minmax(0, 1fr);
|
||||
width: 100%;
|
||||
min-height: calc(1em * var(--line-height));
|
||||
/* Breathing room when targeting a line */
|
||||
scroll-margin-top: 2rem;
|
||||
}
|
||||
|
||||
@@ -186,27 +195,34 @@ code.with-line-numbers {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/*
|
||||
Line Highlight via URL Hash (#L315)
|
||||
*/
|
||||
.line:target {
|
||||
background-color: var(--highlight);
|
||||
}
|
||||
|
||||
.line:target .line-number {
|
||||
opacity: 1;
|
||||
color: #f1fa8c; /* Dracula Yellow */
|
||||
color: #f1fa8c;
|
||||
border-right-color: #f1fa8c;
|
||||
border-right-width: 2px;
|
||||
}
|
||||
|
||||
/* Selection */
|
||||
::selection { background: rgba(59, 130, 246, 0.4); color: #ffffff; }
|
||||
::selection {
|
||||
background: rgba(59, 130, 246, 0.4);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* Scrollbar */
|
||||
::-webkit-scrollbar { width: 6px; height: 6px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { background: var(--secondary); }
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--secondary);
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
@@ -221,8 +237,19 @@ code.with-line-numbers {
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
#metadata { display: none; }
|
||||
.line { grid-template-columns: 1fr; }
|
||||
.line-number { display: none; }
|
||||
.line-code { padding-left: 0; }
|
||||
#metadata {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.line {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.line-number {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.line-code {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user