template work

This commit is contained in:
Mirek Kratochvil 2023-06-07 00:00:43 +02:00
parent aef05617b7
commit 1b320c5b47
10 changed files with 377 additions and 6 deletions

148
assets/static/lcsb.svg Normal file
View file

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg2"
xml:space="preserve"
width="65.818382"
height="64"
viewBox="0 0 65.818382 64"
sodipodi:docname="lcsb.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs6" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1166"
id="namedview4"
showgrid="false"
inkscape:zoom="3.1081068"
inkscape:cx="38.608712"
inkscape:cy="40.700017"
inkscape:window-x="0"
inkscape:window-y="2194"
inkscape:window-maximized="1"
inkscape:current-layer="g10"
inkscape:pagecheckerboard="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="lcsb"
transform="scale(1.3333333)"><path
d="m 11.374279,26.438966 c 1.409096,0 2.55128,1.141658 2.55128,2.548522 0,1.406864 -1.142184,2.548522 -2.55128,2.548522 -1.4112257,0 -2.5505702,-1.141658 -2.5505702,-2.548522 0,-1.406864 1.1393445,-2.548522 2.5505702,-2.548522"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path14" /><path
d="m 11.42468,35.862257 c 1.16135,0 2.10477,0.941691 2.10477,2.102495 0.0021,1.160805 -0.94058,2.102496 -2.10477,2.102496 -1.162061,0 -2.1047707,-0.938855 -2.1047707,-2.102496 0,-1.160804 0.9427097,-2.102495 2.1047707,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path16" /><path
d="m 11.394155,44.521134 c 0.951229,0 1.724279,0.772924 1.724279,1.72596 0,0.952328 -0.770211,1.725252 -1.724279,1.725252 -0.954068,0 -1.7278282,-0.772924 -1.7278282,-1.725252 0,-0.953036 0.7737602,-1.72596 1.7278282,-1.72596"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path18" /><path
d="m 2.5512799,26.438966 c 1.408386,0 2.5512799,1.141658 2.5512799,2.548522 0,1.406864 -1.1428939,2.548522 -2.5512799,2.548522 C 1.142184,31.53601 0,30.394352 0,28.987488 0,27.580624 1.142184,26.438966 2.5512799,26.438966"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path20" /><path
d="m 2.5704465,35.862257 c 1.1620604,0 2.1047704,0.941691 2.1047704,2.102495 0,1.160805 -0.94271,2.102496 -2.1047704,2.102496 -1.1649,0 -2.10477048,-0.938855 -2.10477048,-2.102496 0,-1.160804 0.93987048,-2.102495 2.10477048,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path22" /><path
d="m 2.5704465,44.521134 c 0.9540679,0 1.7278283,0.772924 1.7278283,1.72596 0,0.952328 -0.7737604,1.725252 -1.7278283,1.725252 -0.954068,0 -1.72711858,-0.772924 -1.72711858,-1.725252 0,-0.953036 0.77305058,-1.72596 1.72711858,-1.72596"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path24" /><path
d="m 20.247679,35.862257 c 1.16206,0 2.10477,0.941691 2.10477,2.102495 0,1.160805 -0.94271,2.102496 -2.10477,2.102496 -1.164191,0 -2.1069,-0.938855 -2.1069,-2.102496 0,-1.160804 0.942709,-2.102495 2.1069,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path26" /><path
d="m 20.286722,44.521134 c 0.954068,0 1.727828,0.772924 1.727828,1.72596 0,0.952328 -0.77376,1.725252 -1.727828,1.725252 -0.954068,0 -1.727119,-0.772924 -1.727119,-1.725252 0,-0.953036 0.773051,-1.72596 1.727119,-1.72596"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path28" /><path
d="m 29.107591,35.862257 c 1.164899,0 2.107609,0.941691 2.107609,2.102495 0,1.160805 -0.94271,2.102496 -2.107609,2.102496 -1.16206,0 -2.10477,-0.938855 -2.10477,-2.102496 0,-1.160804 0.94271,-2.102495 2.10477,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path30" /><path
d="m 29.096233,44.521134 c 0.954068,0 1.727828,0.772924 1.727828,1.72596 0,0.952328 -0.77376,1.725252 -1.727828,1.725252 -0.953358,0 -1.727119,-0.772924 -1.727119,-1.725252 0,-0.953036 0.773761,-1.72596 1.727119,-1.72596"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path32" /><path
d="m 37.941948,35.862257 c 1.1649,0 2.10761,0.941691 2.10761,2.102495 0,1.160805 -0.94271,2.102496 -2.10761,2.102496 -1.162061,0 -2.104771,-0.938855 -2.104771,-2.102496 0,-1.160804 0.94271,-2.102495 2.104771,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path34" /><path
d="m 37.917102,44.521134 c 0.954068,0 1.727829,0.772924 1.727829,1.72596 0,0.952328 -0.773761,1.725252 -1.727829,1.725252 -0.954068,0 -1.724989,-0.772924 -1.724989,-1.725252 0,-0.953036 0.770921,-1.72596 1.724989,-1.72596"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path36" /><path
d="m 46.784822,35.862257 c 1.164901,0 2.107611,0.941691 2.107611,2.102495 0,1.160805 -0.94271,2.102496 -2.107611,2.102496 -1.161349,0 -2.104769,-0.938855 -2.104769,-2.102496 0,-1.160804 0.94342,-2.102495 2.104769,-2.102495"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path38" /><path
d="m 46.799021,44.551626 c 0.954067,0 1.727118,0.770087 1.727118,1.723124 0,0.953036 -0.773051,1.725251 -1.727118,1.725251 -0.954068,0 -1.727829,-0.772215 -1.727829,-1.725251 0,-0.953037 0.773761,-1.723124 1.727829,-1.723124"
style="fill:#00a4e1;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path40" /><path
d="m 37.925621,21.558199 c -1.409096,0 -2.55128,-1.14095 -2.55128,-2.547813 0,-1.407573 1.142184,-2.548522 2.55128,-2.548522 1.408386,0 2.55128,1.140949 2.55128,2.548522 0,1.406863 -1.142894,2.547813 -2.55128,2.547813"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path42" /><path
d="m 37.87522,12.137744 c -1.164191,0 -2.106901,-0.941691 -2.106901,-2.105332 0,-1.1600947 0.94271,-2.1017861 2.106901,-2.1017861 1.16206,0 2.10477,0.9416914 2.10477,2.1017861 0,1.163641 -0.94271,2.105332 -2.10477,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path44" /><path
d="m 37.905744,3.4760309 c -0.953358,0 -1.727118,-0.7729241 -1.727118,-1.7252516 0,-0.95303659 0.770921,-1.72596063 1.727118,-1.72596063 0.951229,0 1.724989,0.77292404 1.724989,1.72596063 0,0.9523275 -0.770921,1.7252516 -1.724989,1.7252516"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path46" /><path
d="m 46.743651,21.558199 c -1.409097,0 -2.55412,-1.14095 -2.55412,-2.547813 0,-1.407573 1.142184,-2.548522 2.55128,-2.548522 1.411226,0 2.55341,1.140949 2.55341,2.548522 0,1.406863 -1.142184,2.547813 -2.55057,2.547813"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path48" /><path
d="m 46.723774,12.137744 c -1.164191,0 -2.106901,-0.941691 -2.106901,-2.105332 0,-1.1600947 0.94271,-2.1017861 2.106901,-2.1017861 1.162061,0 2.104771,0.9416914 2.104771,2.1017861 0,1.163641 -0.94271,2.105332 -2.104771,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path50" /><path
d="m 46.726614,3.4760309 c -0.954068,0 -1.727119,-0.7729241 -1.727119,-1.7252516 0,-0.95303659 0.773051,-1.72596063 1.727119,-1.72596063 0.954068,0 1.727828,0.77292404 1.727828,1.72596063 0,0.9523275 -0.77376,1.7252516 -1.727828,1.7252516"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path52" /><path
d="m 29.021696,21.558199 c -1.409095,0 -2.551279,-1.14095 -2.551279,-2.547813 0,-1.407573 1.142184,-2.548522 2.551279,-2.548522 1.411226,0 2.55128,1.140949 2.55128,2.548522 0,1.406863 -1.140054,2.547813 -2.55128,2.547813"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path54" /><path
d="m 29.052221,12.137744 c -1.162061,0 -2.104771,-0.941691 -2.104771,-2.105332 0,-1.1600947 0.94271,-2.1017861 2.104771,-2.1017861 1.16419,0 2.10761,0.9416914 2.10761,2.1017861 0,1.163641 -0.94342,2.105332 -2.10761,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path56" /><path
d="m 29.010338,3.4760309 c -0.954067,0 -1.727119,-0.7729241 -1.727119,-1.7252516 0,-0.95303659 0.773052,-1.72596063 1.727119,-1.72596063 0.954068,0 1.727829,0.77292404 1.727829,1.72596063 0,0.9523275 -0.773761,1.7252516 -1.727829,1.7252516"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path58" /><path
d="m 20.237031,21.558199 c -1.409096,0 -2.55128,-1.14095 -2.55128,-2.547813 0,-1.407573 1.142184,-2.548522 2.55128,-2.548522 1.408386,0 2.55128,1.140949 2.55128,2.548522 0,1.406863 -1.142894,2.547813 -2.55128,2.547813"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path60" /><path
d="m 20.192309,12.137744 c -1.161352,0 -2.104771,-0.941691 -2.1069,-2.105332 0,-1.1600947 0.94271,-2.1017861 2.1069,-2.1017861 1.16206,0 2.10477,0.9416914 2.10477,2.1017861 0,1.163641 -0.94271,2.105332 -2.10477,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path62" /><path
d="m 20.200827,3.4760309 c -0.954068,0 -1.727828,-0.7729241 -1.727828,-1.7252516 0,-0.95303659 0.77376,-1.72596063 1.727828,-1.72596063 0.954068,0 1.727829,0.77292404 1.727829,1.72596063 0,0.9523275 -0.773761,1.7252516 -1.727829,1.7252516"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path64" /><path
d="m 11.416161,21.561036 c -1.408386,0 -2.5512796,-1.14095 -2.5512796,-2.55065 0,-1.407573 1.1428936,-2.548522 2.5512796,-2.548522 1.408386,0 2.55128,1.140949 2.55128,2.548522 0,1.406863 -1.142894,2.55065 -2.55128,2.55065"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path66" /><path
d="m 11.349433,12.137744 c -1.16135,0 -2.1047701,-0.941691 -2.1047701,-2.105332 0,-1.1600947 0.9434201,-2.1017861 2.1047701,-2.1017861 1.1649,0 2.10761,0.9416914 2.10761,2.1017861 0,1.163641 -0.94271,2.105332 -2.10761,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path68" /><path
d="m 11.379958,3.4760309 c -0.953358,0 -1.7271187,-0.7729241 -1.7271187,-1.7252516 0,-0.95303659 0.7737607,-1.72596063 1.7271187,-1.72596063 0.954068,0 1.724989,0.77292404 1.724989,1.72596063 0.0028,0.9523275 -0.770921,1.7252516 -1.724989,1.7252516"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path70" /><path
d="m 2.5590885,16.406554 c 1.4090959,0 2.5512799,1.140949 2.5512799,2.547812 0,1.407574 -1.142184,2.548523 -2.5512799,2.548523 -1.408386,0 -2.55057004,-1.140949 -2.55057004,-2.548523 0,-1.406863 1.14218404,-2.547812 2.55057004,-2.547812"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path72" /><path
d="m 2.5150764,12.137744 c -1.1620604,0 -2.1047704,-0.941691 -2.10760988,-2.105332 0,-1.1600947 0.94270998,-2.1017861 2.10760988,-2.1017861 1.1620604,0 2.1047704,0.9416914 2.1047704,2.1017861 0,1.163641 -0.94271,2.105332 -2.1047704,2.105332"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path74" /><path
d="m 2.4987494,3.4483758 c -0.954068,0 -1.72782842,-0.7700876 -1.72782842,-1.7224151 C 0.77092098,0.77292402 1.5446814,0 2.4987494,0 c 0.9533581,0 1.7271185,0.77292402 1.7271185,1.7259607 0,0.9523275 -0.7737604,1.7224151 -1.7271185,1.7224151"
style="fill:#e41f18;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path76" /><path
d="m 30.371873,25.178887 c -2.035203,0 -3.568527,1.406864 -3.568527,3.462558 0,1.055147 0.354936,1.944365 0.981753,2.561995 0.628947,0.61763 1.524805,0.958 2.578255,0.958 0.38546,0 0.99879,-0.02198 1.528355,-0.243222 l 0.127066,-0.05531 -0.08305,-1.343753 -0.274011,0.163803 c -0.258393,0.154585 -0.865334,0.282224 -1.289837,0.282224 -1.228079,0 -2.206993,-0.892054 -2.206993,-2.296081 0,-1.343753 0.875983,-2.293953 2.251715,-2.293953 0.432312,0 0.845457,0.111329 1.21672,0.326897 l 0.269042,0.15813 0.10861,-1.332407 -0.124937,-0.05815 c -0.490522,-0.21344 -1.00092,-0.290733 -1.514157,-0.290733 z m 8.000257,0 c -0.61049,0 -1.1649,0.157421 -1.578045,0.484318 -0.410306,0.329734 -0.66515,0.831071 -0.66515,1.445865 0,0.540337 0.196634,0.947364 0.482003,1.243769 0.288208,0.293569 0.651662,0.482192 0.998079,0.648122 0.349968,0.16664 0.682187,0.310588 0.910057,0.482191 0.227159,0.17444 0.349257,0.343207 0.349257,0.637485 0,0.309879 -0.136296,0.498501 -0.343579,0.639613 -0.205862,0.138275 -0.485552,0.204931 -0.709871,0.204931 -0.415985,0 -0.954068,-0.171604 -1.250795,-0.29357 l -0.244196,-0.09998 -0.132746,1.263625 0.149783,0.04963 c 0.426633,0.138276 0.884501,0.276552 1.366503,0.276552 0.6687,0 1.292678,-0.138276 1.761193,-0.47581 0.468515,-0.341079 0.765242,-0.889217 0.765242,-1.621013 0,-0.567284 -0.194505,-0.999837 -0.479873,-1.318225 -0.28253,-0.318386 -0.648823,-0.52899 -0.99808,-0.70343 -0.349257,-0.177275 -0.687866,-0.321224 -0.917865,-0.479354 -0.229998,-0.160258 -0.344288,-0.304915 -0.346418,-0.537502 0,-0.271587 0.102222,-0.404189 0.271172,-0.504173 0.169659,-0.102111 0.415985,-0.146784 0.648823,-0.146784 0.452188,0 0.66586,0.06949 1.125857,0.249604 l 0.230708,0.09147 0.188116,-1.246606 -0.155462,-0.05247 C 39.331167,25.253343 38.812961,25.178887 38.37213,25.178887 Z m -19.604534,0.110621 v 6.761312 h 3.973153 V 30.85456 H 20.07305 v -5.565052 z m 26.073597,0 v 6.761312 h 1.896779 c 0.66515,0 1.303325,-0.08013 1.796686,-0.360225 0.4962,-0.282224 0.82913,-0.794907 0.82913,-1.534503 0,-0.489991 -0.174628,-0.911199 -0.474194,-1.213278 -0.196635,-0.199258 -0.50472,-0.254568 -0.790089,-0.34037 0.246327,-0.10282 0.518207,-0.182949 0.689996,-0.365898 0.264073,-0.282224 0.408177,-0.670103 0.408177,-1.146622 0,-0.639612 -0.266202,-1.121804 -0.712711,-1.4097 -0.44367,-0.285769 -1.037123,-0.390716 -1.71931,-0.390716 z m 1.303326,1.140948 h 0.765242 c 0.241356,0 0.501879,0.04751 0.682187,0.160967 0.183147,0.11062 0.299565,0.268751 0.299565,0.589976 0,0.418371 -0.127776,0.573665 -0.371973,0.687122 -0.240647,0.110621 -0.626106,0.138275 -1.064807,0.138275 h -0.310214 z m 0,2.720126 h 0.398947 c 0.382622,0 0.770922,0.039 1.037123,0.169476 0.263363,0.132602 0.421665,0.321225 0.421665,0.755906 0,0.371571 -0.129907,0.537501 -0.368424,0.662303 -0.235678,0.124093 -0.601971,0.171604 -0.99879,0.171604 h -0.490521 z"
style="fill:#5f5e5e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.709487"
id="path78" /></g></svg>

After

Width:  |  Height:  |  Size: 16 KiB

1
assets/static/r3.svg Normal file
View file

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 74.49 61.04"><title>r3-logo</title><path d="M6.36,5.4H24.93c2.67,0,8.14,0,12,2.45a12.21,12.21,0,0,1,5.76,10.59A12.6,12.6,0,0,1,32.86,31c5,1.29,7.2,3.53,7.92,10C41.5,47.17,42,51.63,44,57.39H36.31c-1.15-3.45-1.87-9.79-2.37-13.75-.87-7.56-2.67-9.72-11.38-9.72H13.49V57.39H6.36Zm7,22.4H24.72c.79,0,4.9,0,6.84-1.15a7.39,7.39,0,0,0,3.53-6.77c0-8.43-7.49-8.43-10.37-8.43H13.34Z" style="fill:#00aae5"/><path d="M54.23,26.89c0,2.69,1.77,4.6,5.33,4.6,4.08,0,5.8-2.52,5.8-5a4.91,4.91,0,0,0-4.2-5,16.64,16.64,0,0,0-4-.21V18c2.9.25,7.77-.32,7.77-4.88,0-3.18-2.23-4.44-5.13-4.44-2.18,0-4.91.94-5.29,4.44H50.24c.26-7,7.06-7.7,9.41-7.7,6.34,0,9.48,3.71,9.48,7.62,0,2.32-1.3,5.66-5.79,6.63a6.67,6.67,0,0,1,6.21,6.84c0,3.95-3.31,8.31-10.07,8.31-3.06,0-6.13-.86-8-2.93a7.3,7.3,0,0,1-1.72-5Z" style="fill:#ee2e27"/></svg>

After

Width:  |  Height:  |  Size: 887 B

8
assets/static/unilu.svg Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="500px" height="423.45px" viewBox="0 0 500 423.45" enable-background="new 0 0 500 423.45" xml:space="preserve">
<line fill="none" stroke="#676A69" stroke-width="2" x1="0" y1="257.093" x2="500" y2="257.093"/>
<path fill="#676A69" d="M23.256,340.698c-10.965,0-18.596-7.046-18.596-18.785v-29.619h6.58v29.619c0,9.189,5.754,12.652,12.016,12.652c6.191,0,12.195-3.523,12.195-12.652v-29.619h6.459v29.619C41.91,333.265,33.883,340.698,23.256,340.698 M92.192,339.913v-47.619h-6.512v33.658c0,0.586,0.12,1.568,0.12,1.568s-0.456-0.845-0.844-1.37l-24.658-33.856h-5.538v47.619h6.521v-34.235c0-0.525-0.13-1.576-0.13-1.576s0.595,0.922,0.845,1.301l24.977,34.511H92.192z M105.369,339.913h6.521v-47.619h-6.521V339.913z M159.313,292.294h-6.201l-12.127,34.382c-0.189,0.586-0.396,1.628-0.396,1.628s-0.189-1.042-0.388-1.628l-12.075-34.382h-6.322l16.77,47.619h4.039L159.313,292.294z M197.07,339.913v-6.132h-21.325V319.76h19.628v-6.132h-19.628v-15.202h20.094v-6.132h-26.614v47.619H197.07z M242.796,339.913l-17.544-19.955c7.105,0,13.564-6.004,13.564-13.643c0-7.684-5.873-14.021-14.744-14.021h-15.383v47.619h6.52v-22.246l19.241,22.246H242.796z M222.9,298.426c6.201,0,9.139,4.376,9.139,7.648c0,5.081-3.395,8.733-9.268,8.733h-7.563v-16.382H222.9 M263.863,340.698c7.949,0,14.607-4.824,14.607-13.367c0-7.967-5.736-11.422-11.154-14.1c-5.865-2.929-10.422-4.677-10.422-9.845c0-3.583,3.118-5.47,6.83-5.47c3.988,0,6.469,0.845,9.406,2.998l3.514-5.357c-3.713-2.602-8.079-4.039-12.851-4.039c-8.535,0-13.755,5.211-13.755,12.265c0,9.052,6.916,12.058,13.686,15.528c4.256,2.154,7.967,4.358,7.967,8.406c0,4.505-3.332,6.658-8.147,6.658c-3.272,0-7.372-1.249-9.922-3.531l-3.712,5.029C254.277,339.466,259.049,340.698,263.863,340.698 M289.176,339.913h6.512v-47.619h-6.512V339.913z M332.8,298.426v-6.132h-26.338v6.132h9.716v41.487h6.52v-41.487H332.8z M371.42,339.913v-6.132h-21.326V319.76h19.629v-6.132h-19.629v-15.202h20.086v-6.132h-26.613v47.619H371.42z M365.029,278.927h-6.262l-6.072,9.594h6.271L365.029,278.927z M420.918,339.913c16.32,0,26.027-10.688,26.027-23.935c0-12.987-9.189-23.685-25.434-23.685h-12.135v47.619H420.918 M421.374,298.167c11.421,0,18.784,8.148,18.784,17.872c0,8.871-5.934,18.009-20.016,18.009h-4.246v-35.881H421.374 M476.428,340.698c10.628,0,18.664-7.434,18.664-18.785v-29.619h-6.469v29.619c0,9.129-5.994,12.652-12.195,12.652c-6.262,0-12.007-3.463-12.007-12.652v-29.619h-6.571v29.619C457.85,333.652,465.472,340.698,476.428,340.698 M29.482,422.675v-6.133h-18.07v-41.488h-6.52v47.621H29.482z M60.402,423.45c10.619,0,18.646-7.434,18.646-18.777v-29.619H72.59v29.619c0,9.121-5.995,12.645-12.188,12.645c-6.27,0-12.016-3.454-12.016-12.645v-29.619h-6.58v29.619C41.807,416.413,49.438,423.45,60.402,423.45 M132.525,422.675l-16.563-25.443l14.548-22.178h-7.502l-9.198,13.953c-0.844,1.258-1.559,2.618-1.559,2.618s-0.784-1.36-1.508-2.472l-9.129-14.1h-8.02l14.607,22.506l-16.502,25.115h7.57l10.56-16.115c0.913-1.378,2.153-3.453,2.153-3.453s1.24,2.152,2.023,3.324l10.629,16.244H132.525z M173.23,422.675v-6.133h-21.326v-14.03h19.629v-6.124h-19.629v-15.201h20.094v-6.133h-26.621v47.621H173.23z M236.432,422.675v-47.621h-5.806l-17.415,23.289l-17.932-23.289h-5.547v47.621h6.528v-34.512c0-0.854-0.138-1.758-0.138-1.758s0.388,0.715,0.654,1.043l15.072,19.637h2.602l14.943-20.162c0.267-0.328,0.654-1.111,0.654-1.111s-0.138,0.973-0.138,1.834v35.029H236.432z M268.781,422.675c10.508,0,14.685-6.985,14.685-12.92c0-5.873-4.315-10.24-8.027-11.343c3.075-1.964,5.478-5.495,5.478-10.964c0-7.434-5.736-12.395-13.832-12.395H254.5v47.621H268.781 M265.981,381.187c5.349,0,8.157,2.541,8.157,6.795c0,3.963-1.637,8.269-8.742,8.269h-4.367v-15.063H265.981 M268.721,402.382c4.822,0,7.958,2.74,7.958,6.848c0,4.444-2.739,7.313-8.612,7.313h-7.037v-14.16H268.721 M318.873,423.45c13.444,0,24.34-10.758,24.34-24.59c0-13.824-9.914-24.59-24.658-24.59c-13.764,0-24.134,10.568-24.134,24.461C294.421,413.089,305.248,423.45,318.873,423.45 M318.623,380.669c10.49,0,17.803,7.614,17.803,17.933c0,11.412-8.217,18.466-17.553,18.466c-9.379,0-17.665-7.769-17.665-18.336C301.208,388.283,308.313,380.669,318.623,380.669 M374.641,423.45c10.629,0,18.664-7.434,18.664-18.777v-29.619h-6.468v29.619c0,9.121-5.995,12.645-12.196,12.645c-6.262,0-12.006-3.454-12.006-12.645v-29.619h-6.572v29.619C356.063,416.413,363.677,423.45,374.641,423.45 M442.217,422.675l-17.544-19.965c7.114,0,13.565-6.004,13.565-13.625c0-7.691-5.874-14.031-14.746-14.031h-15.391v47.621h6.529v-22.238l19.24,22.238H442.217z M422.33,381.187c6.193,0,9.129,4.375,9.129,7.631c0,5.09-3.401,8.742-9.258,8.742h-7.57v-16.373H422.33 M474.11,423.45c11.481,0,21.79-9.19,21.79-22.109h-21.92v6.132h14.35c-1.688,5.736-7.166,9.595-14.021,9.595c-9.655,0-17.545-8.483-17.545-18.146c0-11.017,7.691-18.252,17.287-18.252c5.537,0,9.594,1.5,13.693,4.893l3.979-4.832c-4.573-3.979-9.853-6.459-17.544-6.459c-13.117,0-24.203,9.844-24.203,24.59C449.977,413.604,462.053,423.45,474.11,423.45"/>
<path fill="#E31B1D" d="M238.326,55.157c7.02,0,13.1-3.979,16.131-10.104h2.068v158.717c0,10.034-8.148,18.191-18.199,18.191c-10.043,0-18.19-8.157-18.19-18.191V45.054h2.075C225.252,51.178,231.324,55.157,238.326,55.157 M223.142,18.518c0,8.406,6.804,15.228,15.219,15.228c8.406,0,15.228-6.821,15.228-15.228c0-8.406-6.821-15.201-15.228-15.201C229.945,3.316,223.142,10.112,223.142,18.518 M223.142,18.518c0,8.406,6.804,15.228,15.219,15.228c8.406,0,15.228-6.821,15.228-15.228c0-8.406-6.821-15.201-15.228-15.201C229.945,3.316,223.142,10.112,223.142,18.518 M41.118,221.97V63.235c0-10.051-8.156-18.189-18.198-18.189c-10.052,0-18.217,8.139-18.217,18.189v140.535c0,10.061,8.165,18.199,18.217,18.199l0,0H41.118z M50.963,221.97h7.605c10.051,0,18.207-9.689,18.207-19.732h-0.018c0,9.742,1.98,19.732,10.586,19.732h-0.026V63.235c0-10.051-8.147-18.189-18.19-18.189s-18.182,8.139-18.182,18.189V221.97h0.009 M158.734,45.036V203.78c0,10.051,8.166,18.189,18.208,18.189c10.025,0,18.182-8.139,18.182-18.189V63.244c0-10.06-8.156-18.208-18.182-18.208l0,0H158.734z M141.268,45.036c-10.033,0-18.182,9.698-18.182,19.741h0.018c0-9.741-1.998-19.731-10.594-19.741h0.018V203.78c0,10.051,8.147,18.189,18.207,18.189c10.034,0,18.182-8.139,18.182-18.189V45.036h-0.025H141.268z"/>
<path fill="#00A4DD" d="M369.344,10.095c7.002,0,13.092-3.971,16.133-10.095h2.031v203.771c0,10.034-8.139,18.191-18.172,18.191c-10.129,0-18.251-8.157-18.251-18.191V0h2.059C356.176,6.124,362.333,10.095,369.344,10.095 M449.056,221.97V63.235c0-10.051-8.165-18.199-18.208-18.199c-10.033,0-18.182,8.148-18.182,18.199v140.535c0,10.052,8.148,18.199,18.182,18.199l0,0H449.056z M466.514,221.97c10.034,0,18.19-9.689,18.19-19.74h-0.017c0,9.74,1.998,19.732,10.602,19.74h-0.025V63.235c0-10.051-8.148-18.199-18.199-18.199c-10.043,0-18.189,8.148-18.189,18.199V221.97h0.033H466.514z M285.688,203.736c0,10.068,8.165,18.233,18.251,18.233c10.06,0,18.233-8.165,18.233-18.233s-8.174-18.241-18.233-18.241C293.853,185.495,285.688,193.668,285.688,203.736"/>
</svg>

After

Width:  |  Height:  |  Size: 6.9 KiB

View file

@ -0,0 +1,176 @@
html {
font-family: 'Roboto', sans-serif;
font-size: 12pt;
line-height: 1.5;
color: #000;
}
a {
text-decoration: none;
color: #0ad;
}
a:hover {
text-decoration: underline;
}
body {
margin: 0px;
background: white;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Condensed', sans-serif;
color: #444;
/* this might need rethinking but looks good for navigation
border-left: 1rem solid;
border-color: #aaa;
margin-left: -2rem;
padding-left: 1rem;
*/
}
h1 {
font-size: 250%;
font-weight: bold;
}
h2 {
font-size: 200%;
font-weight: bold;
}
h3 {
font-size: 150%;
font-weight: 300;
}
h4 {
font-size: 120%;
font-weight: bold;
}
h5 {
font-size: 100%;
font-weight: bold;
}
h6 {
font-size: 100%;
font-weight: 300;
}
.layout-topbar {
height: 8rem;
background: linear-gradient(to bottom, #fafafa, #fafafa 66%, #eeeeee);
display: flex;
}
.topbar-borderbottom {
border-bottom: 1pt solid #777;
}
.bar-fill {
flex-grow: 1;
}
.same-height {
height: inherit;
display: flex;
}
.topbar-lcsb {
align-self: flex-end;
padding-bottom: 1rem;
}
.logo-lcsb {
height: 5rem;
width: 5rem;
background-image: url('static/lcsb.svg');
background-size: contain;
background-repeat: no-repeat;
}
.topbar-text {
align-self: flex-end;
padding: 2rem;
padding-bottom: 1rem;
font-family: 'Roboto Condensed', sans-serif;
font-weight: 300;
line-height: 1.2;
color: #777;
}
.header-title {
font-size: 250%;
}
.header-subtitle {
font-size: 150%;
}
.topbar-unilu {
background: white;
align-self: flex-end;
padding: 1.5rem;
padding-bottom: 0.2rem;
border: solid 1pt #777;
border-bottom: none;
border-radius: 20px 20px 0 0;
}
.logo-unilu {
height: 5rem;
width: 6rem;
background-image: url('static/unilu.svg');
background-size: contain;
background-repeat: no-repeat;
}
.width-content {
width: 980px;
}
.footer-box {
height: 10rem;
background-color: #aaa;
box-shadow:
inset 10rem -10rem 10rem 0px #fff,
inset -10rem -10rem 10rem 0px #fff;
display: flex;
}
.footer-r3 {
align-self: center;
height: 2rem;
width: 2rem;
background-image: url('static/r3.svg');
background-size: contain;
background-repeat: no-repeat;
}
.footer-lcsb {
align-self: center;
margin-left: 1rem;
height: 2rem;
width: 2rem;
background-image: url('static/lcsb.svg');
background-size: contain;
background-repeat: no-repeat;
}
.footer-text {
align-self: center;
margin-left: 2rem;
max-width: 75%;
font: 'Roboto Condensed', sans-serif;
font-size: 80%;
color: #777;
}
.margin-center {
margin: 0 auto;
}

12
site.hs
View file

@ -66,7 +66,8 @@ loadPage fp = do
T.unpack . just ("mount point of " ++ fp) $ yml ^? key "mount" . _String
existing <- use $ pages . to (M.!? mount)
case existing of
Just pi -> error $ "mount for " ++ fp ++ " already exists from " ++ _pagePath pi
Just pi ->
error $ "mount for " ++ fp ++ " already exists from " ++ _pagePath pi
_ -> pure ()
{- save to the state -}
pages %=
@ -262,11 +263,10 @@ tagLink = rootUrl . ("tag" </>) . tagPath
-- | Make metadata for printing out a single hierarchical tag (all levels clickable)
makeHTagMeta :: [String] -> Site Y.Value
makeHTagMeta tag = do
links <- zip (Y.Null:map fromString tag) . map fromString <$> traverse tagLink (inits tag)
pure . Y.array $
map
(\(t, p) -> Y.object [("tag", t), ("href", p)])
links
links <-
zip (Y.Null : map fromString tag) . map fromString <$>
traverse tagLink (inits tag)
pure . Y.array $ map (\(t, p) -> Y.object [("tag", t), ("href", p)]) links
-- | Make metadata for printing out a single tag as-is, without levels
makeHTagLinkMeta :: [String] -> Site Y.Value

View file

@ -1,6 +1,8 @@
<html>
{{> head.html}}
<body>
{{> header.html}}
{{{body}}}
{{> footer.html}}
</body>
</html>

12
templates/footer.html Normal file
View file

@ -0,0 +1,12 @@
<div class="footer-box">
<div class="bar-fill"></div>
<div class="footer-r3"></div>
<div class="footer-lcsb"></div>
<div class="footer-text">
<div>Share this page: <a href="#">...</a></div>
<div>The contents are available under the <a href="#">Creative Commons Attribution-ShareAlike License (CC-BY-SA 4.0)</a>.</div>
<div><a href="#">Privacy Policy</a> (Only necessary cookies accepted — <a href="#">change</a>)</div>
</div>
<div class="bar-fill"></div>
<div>
</div>

View file

@ -6,4 +6,8 @@
All cards {{#htag}} » {{tag}}{{/htag}}
{{/htag}}
</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:ital,wght@0,100;0,400;0,700;1,100;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{root}}/style.css" />
</head>

18
templates/header.html Normal file
View file

@ -0,0 +1,18 @@
<div class="layout-topbar">
<div class="bar-fill topbar-borderbottom"></div>
<div class="width-content same-height">
<div class="topbar-lcsb topbar-borderbottom">
<div class="logo-lcsb"></div>
</div>
<div class="topbar-text topbar-borderbottom">
<div class="header-title">LCSB How-To Cards</div>
<div class="header-subtitle">Practical and handy reference</div>
</div>
<div class="bar-fill topbar-borderbottom"></div>
<div class="topbar-unilu topbar-borderbottom">
<div class="logo-unilu"></div>
</div>
</div>
<div class="bar-fill topbar-borderbottom"></div>
</div>
<div class="width-content margin-center">

View file

@ -2,6 +2,7 @@
<html>
{{> head.html}}
<body>
{{> header.html}}
<h1>
{{?htag}}
Category:
@ -29,5 +30,6 @@
{{/pages}}
</ul>
{{/pages}}
{{> footer.html}}
</body>
</html>