diff --git a/assets/css/oof.css b/assets/css/oof.css index 0dfbdaa..bedd409 100644 --- a/assets/css/oof.css +++ b/assets/css/oof.css @@ -1,21 +1,22 @@ -html { - --scrollbarBG: #4B0082; - --thumbBG: #FF69B4; - overflow: hidden; +/* Works on Firefox */ +* { + scrollbar-width: thin; + scrollbar-color: #FF69B4 #4B0082; } -body::-webkit-scrollbar { - width: 11px; +/* Works on Chrome, Edge, and Safari */ +*::-webkit-scrollbar { + width: 12px; } -body::-webkit-scrollbar-track { - background: var(--scrollbarBG); +*::-webkit-scrollbar-track { + background: #4B0082; } -body::-webkit-scrollbar-thumb { - background-color: var(--thumbBG); - border-radius: 6px; - border: 3px solid var(--scrollbarBG); +*::-webkit-scrollbar-thumb { + background-color: #FF69B4; + border-radius: 20px; + border: 3px solid #4B0082; } body { @@ -23,15 +24,13 @@ body { background-repeat: no-repeat; background-attachment: fixed; height: 100vh; - overflow-y: auto; - scrollbar-width: thin; - scrollbar-color: var(--thumbBG) var(--scrollbarBG); } .fixedep { position: -webkit-sticky; position: sticky; top: 20px; + cursor: move; } .star { @@ -69,4 +68,4 @@ body { #ws:active { text-decoration: none; color: inherit; -} \ No newline at end of file +} diff --git a/assets/js/site.js b/assets/js/site.js index f8b9742..9920c9b 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -29,6 +29,8 @@ jQuery(function($) { dateFormat: 'DD/MM/YYYY', dateLocale: 'fr-ca', }); + + }); function play(src, title, date) { @@ -47,4 +49,22 @@ jQuery(function($) { function switchTab() { $('[href="#ep"]').tab('show'); - } \ No newline at end of file + } + + $( function() { + $( "#draggable" ).draggable(); + $("#draggable").data({ + 'originalLeft': $("#draggable").css('left'), + 'origionalTop': $("#draggable").css('top') + }); + $(".reset").click(function() { + $("#draggable").css({ + 'left': $("#draggable").data('originalLeft'), + 'top': $("#draggable").data('origionalTop') + }); + }); + } ); + + + + \ No newline at end of file diff --git a/index.html b/index.html index cd3fd5a..cb16a61 100644 --- a/index.html +++ b/index.html @@ -14,10 +14,12 @@ + + + - @@ -75,6 +77,7 @@
@@ -112,13 +115,13 @@