diff --git a/BinShortcut/BinShortcut.html b/BinShortcut/BinShortcut.html new file mode 100644 index 0000000..ccadbad --- /dev/null +++ b/BinShortcut/BinShortcut.html @@ -0,0 +1,27 @@ + + + + + + +Bin shortcut + + + + + + + + +
+

Type in your 5-Letter code

+

+ +
+ + + + + diff --git a/BinShortcut/darktheme.css b/BinShortcut/darktheme.css new file mode 100644 index 0000000..1d36e68 --- /dev/null +++ b/BinShortcut/darktheme.css @@ -0,0 +1,34 @@ +.day { background: #eee; color: black; } +.night { background: #333; color: white; } + +@media (prefers-color-scheme: dark) { + .day.dark-scheme { background: #333; color: white; } + .night.dark-scheme { background: black; color: #ddd; } +} + +@media (prefers-color-scheme: light) { + .day.light-scheme { background: white; color: #555; } + .night.light-scheme { background: #eee; color: black; } +} + +.classy{ +padding: 15px 0 15px 12px; + font-weight: 400; + color: #377D6A; + background: rgba(0, 10, 102,0.3); + border: none; + outline: none; + color: #fff; + text-shadow: 1px 1px 1px rgba(0,0,0,0.3); + border: 1px solid rgba(0,0,0,0.3); + border-radius: 4px; + box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2); +} + +footer{ + width: 100%; + bottom: 0; + position: absolute; + align-items: center; + color: rgb(57, 255, 20) +} diff --git a/BinShortcut/goto.js b/BinShortcut/goto.js new file mode 100644 index 0000000..ab41b0c --- /dev/null +++ b/BinShortcut/goto.js @@ -0,0 +1,12 @@ +function goto(){ + url = "https://clbin.com/" + document.getElementById("code").value; + window.open(url, '_blank') +} + +//attaching events to keys +document.onkeydown = function(e) { + //Enter or space bar + if (e.which == 13 || e.which == 32 ) { + goto(); + } +} diff --git a/BinShortcut/pastebin.png b/BinShortcut/pastebin.png new file mode 100644 index 0000000..2749f9b Binary files /dev/null and b/BinShortcut/pastebin.png differ diff --git a/README.md b/README.md index 0095607..457bdeb 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ improvements made. It's been in limbo for a while, but from Oct 2013 has been available on GitHub. +Forks +===== +* http://bitbucket.org/j-samuel/paste - this is a fork from 2010 and no update since 2015-04-19 + + To Do ===== This started out as a single-script site back in 2002, and grew somewhat @@ -31,17 +36,17 @@ pull request. Further documentation ===================== -See INSTALL for installation instructions -See UPGRADE for information on upgrading pastebin from an older verion -See CHANGES for version history -See LICENCE for licencing terms +* See INSTALL for installation instructions +* See UPGRADE for information on upgrading pastebin from an older verion +* See CHANGES for version history +* See LICENCE for licencing terms Contact ======= -email: paul at elphin dot com -blog: http:/blog.dixo.net -twitter: @lordelph -skype: lordelph +* email: paul at elphin dot com +* blog: http:/blog.dixo.net +* twitter: @lordelph +* skype: lordelph