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) SCRIPTS := $(wildcard script/*.js)
STYLES := $(wildcard style/*.css) STYLES != find style -name '*.css'
STYLESVGS := $(wildcard style/*.svg) STYLESVGS != find style -name '*.svg'
STYLEPNGS := $(wildcard style/*.png) STYLEPNGS != find style -name '*.png'
FONTS := $(shell find fonts \ FONTS := $(shell find fonts \
-iname '*.eot' -or -iname '*.svg' -or \ -iname '*.eot' -or -iname '*.svg' -or \

View file

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

View file

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

View file

@ -33,7 +33,7 @@ make' nsfw (Info {date, title, artist, tags, nsfwTags,
<html lang=en> <html lang=en>
<meta charset=utf-8> <meta charset=utf-8>
<meta name=viewport content='width=1200,viewport-fit=cover'> <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> <title>$*title</title>

View file

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

View file

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

View file

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

View file

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