Compare commits
5 commits
3bbe9d6109
...
e47b790242
Author | SHA1 | Date | |
---|---|---|---|
e47b790242 | |||
47fff05d48 | |||
223c784f64 | |||
3b076315bb | |||
bf381cba7a |
5 changed files with 18 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -9,3 +9,5 @@ fonts/muller/**/*.woff
|
||||||
fonts/muller/**/*.woff2
|
fonts/muller/**/*.woff2
|
||||||
.directory
|
.directory
|
||||||
data
|
data
|
||||||
|
tags
|
||||||
|
TAGS
|
||||||
|
|
|
@ -68,7 +68,12 @@ make' root prefix nsfw dataDir dir info@(Info {date, title, artist, bg}) = do
|
||||||
</figcaption>
|
</figcaption>
|
||||||
|]
|
|]
|
||||||
|
|
||||||
let warning' = ifJust (#warning image0) makeWarning
|
let defWarning = "oops i forgot to put one, sorry!<br>\
|
||||||
|
\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 warningT = makeWarning [b|.|]
|
let warningT = makeWarning [b|.|]
|
||||||
|
|
||||||
let bgStyle = ifJust bg \col -> [b|@0
|
let bgStyle = ifJust bg \col -> [b|@0
|
||||||
|
|
|
@ -100,8 +100,11 @@ function useFragment() {
|
||||||
clearForm();
|
clearForm();
|
||||||
} else {
|
} else {
|
||||||
let set = new Set(frag.split(';'));
|
let set = new Set(frag.split(';'));
|
||||||
allBoxes.forEach(b => b.checked = set.has(b.id));
|
if (new Array(...set).every(x => /^(require|exclude)_/.test(x))) {
|
||||||
document.getElementById('filters-details').open = true;
|
allBoxes.forEach(b => b.checked = set.has(b.id));
|
||||||
|
let details = document.getElementById('filters-details');
|
||||||
|
details.open = !set.has('hide_filters');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
updateItems();
|
updateItems();
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
grid-gap: 1.5em 0;
|
grid-gap: 1.5em;
|
||||||
|
|
||||||
font-size: 175%;
|
font-size: 175%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,6 +143,10 @@
|
||||||
margin-left: 0.8em;
|
margin-left: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#info .floating.left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
#info .shaped {
|
#info .shaped {
|
||||||
/* maybe one day... */
|
/* maybe one day... */
|
||||||
/* shape-outside: attr(src url); */
|
/* shape-outside: attr(src url); */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue