move current style to subdir

This commit is contained in:
Rhiannon Morris 2020-07-19 22:36:15 +02:00
parent 9e98398830
commit 76e54d0297
10 changed files with 10 additions and 10 deletions

View File

@ -15,9 +15,9 @@ YAMLS != find $(DATADIR) -name $(INFONAME)
SCRIPTS := $(wildcard script/*.js)
STYLES := $(wildcard style/*.css)
STYLESVGS := $(wildcard style/*.svg)
STYLEPNGS := $(wildcard style/*.png)
STYLES != find style -name '*.css'
STYLESVGS != find style -name '*.svg'
STYLEPNGS != find style -name '*.png'
FONTS := $(shell find fonts \
-iname '*.eot' -or -iname '*.svg' -or \

View File

@ -27,7 +27,7 @@ make' title nsfw infos = [b|@0
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<link rel=stylesheet href=/style/gallery.css>
<link rel=stylesheet href=/style/tum/gallery.css>
<link rel=alternate href=rss.xml type=application/rss+xml>
<title>$*title</title>

View File

@ -13,7 +13,7 @@ make' (IndexInfo {title, galleries, links, footer}) = [b|@0
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<link rel=stylesheet href=/style/index.css>
<link rel=stylesheet href=/style/tum/index.css>
<title>$*title</title>

View File

@ -33,7 +33,7 @@ make' nsfw (Info {date, title, artist, tags, nsfwTags,
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content='width=1200,viewport-fit=cover'>
<link rel=stylesheet href=/style/single.css>
<link rel=stylesheet href=/style/tum/single.css>
<title>$*title</title>

View File

@ -1,4 +1,4 @@
@import url(../fonts/muller/muller.css);
@import url(/fonts/muller/muller.css);
html {
--thumb-size: 200px;

View File

@ -42,7 +42,7 @@ body {
.item.nsfw::after {
--size: calc(1/4 * var(--image-size));
content: url(18_plus_white.svg);
content: url(../18_plus_white.svg);
height: var(--size);
width: var(--size);

View File

@ -63,7 +63,7 @@ li.nsfw {
}
.nsfw a::after {
content: url(18_plus.svg);
content: url(../18_plus.svg);
display: inline-block;
width: 1em; height: 1em;
padding-left: 0.15em;

View File

@ -101,7 +101,7 @@ figcaption p {
}
.alts .nsfw label::after {
content: url(18_plus.svg);
content: url(../18_plus.svg);
display: inline-block;
height: 0.8em; width: 0.8em;
vertical-align: -0.1em;