mirror of https://github.com/zcash/zips.git
Move custom stylesheet to css/style.css
Author: copernicus-mogley <ryan@z.cash> Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
25ada6f826
commit
2b62e7574b
4
Makefile
4
Makefile
|
@ -15,14 +15,14 @@ protocol:
|
|||
index.html: README.rst
|
||||
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed 's|.*Title:\s*||'))
|
||||
rst2html5 -v --title="$(TITLE)" $< >$@
|
||||
sed -i.sedbak 's|</head>|<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="assets/css/style.css"></head>|' $@
|
||||
sed -i.sedbak 's|</head>|<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="css/style.css"></head>|' $@
|
||||
sed -i.sedbak 's|<a href="\([^":]*\).rst">|<a href="\1">|' $@
|
||||
rm -f *.sedbak
|
||||
|
||||
%.html: %.rst
|
||||
$(eval TITLE := $(shell echo '$(basename $<)' | sed -E 's|zip-0{0,3}|ZIP |'): $(shell grep -E '^(\.\.)?\s*Title:' $< |sed 's|.*Title:\s*||'))
|
||||
rst2html5 -v --title="$(TITLE)" $< >$@
|
||||
sed -i.sedbak 's|</head>|<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="assets/css/style.css"></head>|' $@
|
||||
sed -i.sedbak 's|</head>|<meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="css/style.css"></head>|' $@
|
||||
sed -i.sedbak 's|<a href="\([^":]*\).rst">|<a href="\1">|' $@
|
||||
rm -f *.sedbak
|
||||
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
@font-face {
|
||||
font-family: robotolight;
|
||||
src: url('../fonts/Roboto-Light-webfont.woff') format('woff');
|
||||
src: url('../assets/fonts/Roboto-Light-webfont.woff') format('woff');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: robotoregular;
|
||||
src: url('../fonts/Roboto-Regular-webfont.woff') format('woff');
|
||||
src: url('../assets/fonts/Roboto-Regular-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: robotomedium;
|
||||
src: url('../fonts/Roboto-Medium-webfont.woff') format('woff');
|
||||
src: url('../assets/fonts/Roboto-Medium-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
Loading…
Reference in New Issue