added custom hr

This commit is contained in:
Eorn 2020-11-11 17:00:39 +01:00
parent c77b820b21
commit e723c0bcd5
3 changed files with 101 additions and 0 deletions

View file

@ -383,6 +383,14 @@ article .post-content {
padding-top: 10px; padding-top: 10px;
} }
.page-content hr {
border: none;
width: 30px;
height: 30px;
background-image: url("/img/hr-stars.png");
background-repeat: no-repeat;
background-size: 30px;
}
figure { figure {
padding: 5px; padding: 5px;

BIN
static/img/hr-stars.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

93
static/img/hr-stars.svg Normal file
View file

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="25.304945mm"
height="23.275415mm"
viewBox="0 0 25.304945 23.275415"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="hr-stars.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="72.374409"
inkscape:cy="55.008262"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1040"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata5">
<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(-59.161416,-80.094464)">
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:24.9549px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#767676;fill-opacity:1;stroke:none;stroke-width:0.623874"
x="58.820236"
y="110.79055"
id="text837"><tspan
sodipodi:role="line"
id="tspan835"
x="58.820236"
y="110.79055"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Roboto;-inkscape-font-specification:Roboto;fill:#767676;fill-opacity:1;stroke-width:0.623874">*</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:24.9549px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#767676;fill-opacity:1;stroke:none;stroke-width:0.623874"
x="74.072548"
y="110.79055"
id="text841"><tspan
sodipodi:role="line"
id="tspan839"
x="74.072548"
y="110.79055"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Roboto;-inkscape-font-specification:Roboto;fill:#767676;fill-opacity:1;stroke-width:0.623874">*</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:24.9549px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#767676;fill-opacity:1;stroke:none;stroke-width:0.623874"
x="66.446396"
y="97.835838"
id="text845"><tspan
sodipodi:role="line"
id="tspan843"
x="66.446396"
y="97.835838"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Roboto;-inkscape-font-specification:Roboto;fill:#767676;fill-opacity:1;stroke-width:0.623874">*</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB