mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Remove unused template file and add outdated watermarks for manual
This commit is contained in:
parent
96e51ecddc
commit
eb02e6ee9e
5 changed files with 224 additions and 8 deletions
|
@ -1,7 +0,0 @@
|
||||||
<? if(Manual::GetRequestedVersion() !== Manual::GetLatestVersion()){ ?>
|
|
||||||
<aside class="alert">
|
|
||||||
<p>This is an outdated version of the manual that is no longer current.</p>
|
|
||||||
<p><a href="/manual/latest">Read the latest version instead.</a></p>
|
|
||||||
</aside>
|
|
||||||
<? } ?>
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
@media(prefers-color-scheme: dark){
|
@media(prefers-color-scheme: dark){
|
||||||
|
main.manual.outdated{
|
||||||
|
background: url('/images/outdated-dark.svg');
|
||||||
|
}
|
||||||
|
|
||||||
blockquote,
|
blockquote,
|
||||||
figure.text{
|
figure.text{
|
||||||
background: rgba(0,0,0,.25);
|
background: rgba(0,0,0,.25);
|
||||||
|
@ -8,7 +12,6 @@
|
||||||
background-color: var(--light-body-text);
|
background-color: var(--light-body-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.manual > article > section > section[id] > ol ol > li aside.number::after,
|
.manual > article > section > section[id] > ol ol > li aside.number::after,
|
||||||
.manual > article > section > section[id] section > ol > li aside.number::after,
|
.manual > article > section > section[id] section > ol > li aside.number::after,
|
||||||
.manual > article > section > section[id] section > aside.number::after{
|
.manual > article > section > section[id] section > aside.number::after{
|
||||||
|
|
|
@ -50,6 +50,10 @@ main.manual{
|
||||||
font-variant-numeric: initial;
|
font-variant-numeric: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main.manual.outdated{
|
||||||
|
background: url('/images/outdated.svg');
|
||||||
|
}
|
||||||
|
|
||||||
main code:first-child{
|
main code:first-child{
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
108
www/images/outdated-dark.svg
Normal file
108
www/images/outdated-dark.svg
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="225"
|
||||||
|
height="225"
|
||||||
|
viewBox="0 0 225 225"
|
||||||
|
version="1.1"
|
||||||
|
id="svg821"
|
||||||
|
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
|
||||||
|
sodipodi:docname="outdated-dark.svg">
|
||||||
|
<defs
|
||||||
|
id="defs815" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="1"
|
||||||
|
inkscape:cx="69.60993"
|
||||||
|
inkscape:cy="-2.3539781"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="false"
|
||||||
|
units="px"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1355"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata818">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(5.7317137,-151.22793)">
|
||||||
|
<g
|
||||||
|
aria-label="OUTDATED"
|
||||||
|
transform="rotate(-45,-8.8650705,-21.246063)"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.33333397px;line-height:1.25;font-family:'Crimson Text';-inkscape-font-specification:'Crimson Text';letter-spacing:0px;word-spacing:0px;opacity:0.05;fill:#ffffea;fill-opacity:1;stroke:none"
|
||||||
|
id="text814">
|
||||||
|
<path
|
||||||
|
d="m -209.2728,261.96572 c 0,7.06933 5.04534,12.55466 12.20267,12.55466 6.952,0 12.17333,-5.48533 12.17333,-12.55466 0,-7.06934 -5.456,-12.52534 -12.17333,-12.52534 -6.65867,0 -12.20267,5.456 -12.20267,12.52534 z m 5.95467,0 c 0,-3.608 1.99467,-7.216 6.248,-7.216 4.28267,0 6.21867,3.608 6.21867,7.216 0,3.608 -1.81867,7.216 -6.21867,7.216 -4.51733,0 -6.248,-3.608 -6.248,-7.216 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path816"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -163.86483,249.88038 h -5.51467 v 13.992 c 0,4.048 -1.232,5.22134 -3.93066,5.22134 -2.69867,0 -3.93067,-1.17334 -3.93067,-5.22134 v -13.992 h -5.51467 v 15.60534 c 0,5.984 3.28534,9.03466 9.44534,9.03466 6.16,0 9.44533,-3.05066 9.44533,-9.03466 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path818"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -163.57152,254.72038 h 5.74933 v 19.36 h 5.51467 v -19.36 h 5.74933 v -4.84 h -17.01333 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path820"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -144.56355,249.88038 v 24.2 h 7.01066 c 6.65867,0 12.20267,-5.04533 12.20267,-12.11466 0,-7.04 -5.57333,-12.08534 -12.20267,-12.08534 z m 5.51466,19.272 v -14.344 h 0.85067 c 4.10667,0 6.89333,3.13867 6.89333,7.18667 -0.0293,4.048 -2.816,7.15733 -6.89333,7.15733 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path822"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -110.62492,249.88038 h -5.104 l -9.768,24.2 h 5.92534 l 1.78933,-4.84 h 9.21067 l 1.78933,4.84 h 5.92533 z m 0.176,14.52 h -5.456 l 2.69867,-7.04 h 0.0587 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path824"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -102.85164,254.72038 h 5.749336 v 19.36 h 5.514667 v -19.36 h 5.749334 v -4.84 h -17.013337 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path826"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -69.998342,249.88038 h -13.845334 v 24.2 h 13.845334 v -4.84 h -8.330667 v -4.86933 h 7.978667 v -4.84 h -7.978667 v -4.81067 h 8.330667 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path828"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -66.830347,249.88038 v 24.2 h 7.010667 c 6.658666,0 12.202666,-5.04533 12.202666,-12.11466 0,-7.04 -5.573333,-12.08534 -12.202666,-12.08534 z m 5.514667,19.272 v -14.344 h 0.850666 c 4.106667,0 6.893334,3.13867 6.893334,7.18667 -0.02933,4.048 -2.816,7.15733 -6.893334,7.15733 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#ffffea;fill-opacity:1"
|
||||||
|
id="path830"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 6 KiB |
108
www/images/outdated.svg
Normal file
108
www/images/outdated.svg
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="225"
|
||||||
|
height="225"
|
||||||
|
viewBox="0 0 225 225"
|
||||||
|
version="1.1"
|
||||||
|
id="svg821"
|
||||||
|
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
|
||||||
|
sodipodi:docname="outdated.svg">
|
||||||
|
<defs
|
||||||
|
id="defs815" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="1"
|
||||||
|
inkscape:cx="268.60993"
|
||||||
|
inkscape:cy="-2.3539781"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="false"
|
||||||
|
units="px"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1355"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata818">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(5.7317137,-151.22793)">
|
||||||
|
<g
|
||||||
|
aria-label="OUTDATED"
|
||||||
|
transform="rotate(-45,-8.8650705,-21.246063)"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:29.33333397px;line-height:1.25;font-family:'Crimson Text';-inkscape-font-specification:'Crimson Text';letter-spacing:0px;word-spacing:0px;opacity:0.05;fill:#000000;fill-opacity:1;stroke:none"
|
||||||
|
id="text814">
|
||||||
|
<path
|
||||||
|
d="m -209.2728,261.96572 c 0,7.06933 5.04534,12.55466 12.20267,12.55466 6.952,0 12.17333,-5.48533 12.17333,-12.55466 0,-7.06934 -5.456,-12.52534 -12.17333,-12.52534 -6.65867,0 -12.20267,5.456 -12.20267,12.52534 z m 5.95467,0 c 0,-3.608 1.99467,-7.216 6.248,-7.216 4.28267,0 6.21867,3.608 6.21867,7.216 0,3.608 -1.81867,7.216 -6.21867,7.216 -4.51733,0 -6.248,-3.608 -6.248,-7.216 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path816"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -163.86483,249.88038 h -5.51467 v 13.992 c 0,4.048 -1.232,5.22134 -3.93066,5.22134 -2.69867,0 -3.93067,-1.17334 -3.93067,-5.22134 v -13.992 h -5.51467 v 15.60534 c 0,5.984 3.28534,9.03466 9.44534,9.03466 6.16,0 9.44533,-3.05066 9.44533,-9.03466 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path818"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -163.57152,254.72038 h 5.74933 v 19.36 h 5.51467 v -19.36 h 5.74933 v -4.84 h -17.01333 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path820"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -144.56355,249.88038 v 24.2 h 7.01066 c 6.65867,0 12.20267,-5.04533 12.20267,-12.11466 0,-7.04 -5.57333,-12.08534 -12.20267,-12.08534 z m 5.51466,19.272 v -14.344 h 0.85067 c 4.10667,0 6.89333,3.13867 6.89333,7.18667 -0.0293,4.048 -2.816,7.15733 -6.89333,7.15733 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path822"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -110.62492,249.88038 h -5.104 l -9.768,24.2 h 5.92534 l 1.78933,-4.84 h 9.21067 l 1.78933,4.84 h 5.92533 z m 0.176,14.52 h -5.456 l 2.69867,-7.04 h 0.0587 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path824"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -102.85164,254.72038 h 5.749336 v 19.36 h 5.514667 v -19.36 h 5.749334 v -4.84 h -17.013337 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path826"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -69.998342,249.88038 h -13.845334 v 24.2 h 13.845334 v -4.84 h -8.330667 v -4.86933 h 7.978667 v -4.84 h -7.978667 v -4.81067 h 8.330667 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path828"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m -66.830347,249.88038 v 24.2 h 7.010667 c 6.658666,0 12.202666,-5.04533 12.202666,-12.11466 0,-7.04 -5.573333,-12.08534 -12.202666,-12.08534 z m 5.514667,19.272 v -14.344 h 0.850666 c 4.106667,0 6.893334,3.13867 6.893334,7.18667 -0.02933,4.048 -2.816,7.15733 -6.893334,7.15733 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan'"
|
||||||
|
id="path830"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 5.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue