diff --git a/.gitignore b/.gitignore index c8cdda1..da63551 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,3 @@ fonts/muller/**/*.woff fonts/muller/**/*.woff2 .directory data -tags -TAGS diff --git a/make-pages/SinglePage.hs b/make-pages/SinglePage.hs index 9ff5a6d..dc8d4d2 100644 --- a/make-pages/SinglePage.hs +++ b/make-pages/SinglePage.hs @@ -68,12 +68,7 @@ make' root prefix nsfw dataDir dir info@(Info {date, title, artist, bg}) = do |] - let defWarning = "oops i forgot to put one, sorry!
\ - \if you can let me know i'd appreciate it" :: Text - let warning' - | Just w <- #warning image0 = makeWarning w - | #nsfw image0 = makeWarning defWarning - | otherwise = mempty + let warning' = ifJust (#warning image0) makeWarning let warningT = makeWarning [b|.|] let bgStyle = ifJust bg \col -> [b|@0 diff --git a/script/gallery.js b/script/gallery.js index 4a38eb6..47da313 100644 --- a/script/gallery.js +++ b/script/gallery.js @@ -100,11 +100,8 @@ function useFragment() { clearForm(); } else { let set = new Set(frag.split(';')); - if (new Array(...set).every(x => /^(require|exclude)_/.test(x))) { - allBoxes.forEach(b => b.checked = set.has(b.id)); - let details = document.getElementById('filters-details'); - details.open = !set.has('hide_filters'); - } + allBoxes.forEach(b => b.checked = set.has(b.id)); + document.getElementById('filters-details').open = true; } updateItems(); diff --git a/style/shiny/index.css b/style/shiny/index.css index a915631..9cc4d2f 100644 --- a/style/shiny/index.css +++ b/style/shiny/index.css @@ -67,7 +67,7 @@ align-items: center; justify-content: space-evenly; padding: 0; - grid-gap: 1.5em; + grid-gap: 1.5em 0; font-size: 175%; } diff --git a/style/shiny/single.css b/style/shiny/single.css index 2646a4d..d333cd5 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -143,10 +143,6 @@ margin-left: 0.8em; } -#info .floating.left { - float: left; -} - #info .shaped { /* maybe one day... */ /* shape-outside: attr(src url); */