mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Generate thumbnails on the fly with PIL
Removed the need of having 3 copies of an image Fixes more Sass(y) stuff
This commit is contained in:
parent
2455d3f88c
commit
a10a5a8793
10 changed files with 149 additions and 76 deletions
|
@ -9,6 +9,7 @@
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="notification-list"></div>
|
||||
<nav id="navRoot">
|
||||
<div>
|
||||
<a href="{{url_for('gallery.index')}}">
|
||||
|
@ -66,7 +67,6 @@
|
|||
|
||||
document.onscroll = function() {
|
||||
document.querySelector('header').style.opacity = `${1 - window.scrollY / 621}`;
|
||||
//document.querySelector('header').style.height = `calc(50vh - ${window.scrollY / 2}px)`;
|
||||
document.querySelector('header').style.top = `-${window.scrollY / 5}px`;
|
||||
|
||||
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 20) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue