layout corrections

This commit is contained in:
marko
2021-12-23 17:04:53 +01:00
parent 6f65c06b32
commit bfb024d288
5 changed files with 166 additions and 23 deletions

View File

@@ -3,4 +3,11 @@
}
.parsedownCard h2{
font-size: 1.75rem;
}
}
.parsedownCard ul li {
list-style-type: disc;
}
.parsedownCard img{
max-width: 100%;
}

View File

@@ -1,21 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 744.09447 1052.362179" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="b">
<stop stop-color="#1f55d1" offset="0"/>
<stop stop-color="#c9daff" offset="1"/>
</linearGradient>
<linearGradient id="a" xlink:href="#b"/>
<radialGradient id="c" cx=".65278" cy=".67832" r="1.8433" fx=".67361" fy=".66434" xlink:href="#b"/>
</defs>
<path transform="translate(1.039 -1.7757)" d="m523.75 510.49a190.62 190.62 0 1 0 -381.25 0 190.62 190.62 0 1 0 381.25 0z" fill="url(#c)" fill-rule="evenodd" stroke="url(#a)" stroke-width="8"/>
<path transform="translate(32.914 40.099)" d="m445 468.61a143.75 143.75 0 1 0 -287.5 0 143.75 143.75 0 1 0 287.5 0z" fill="#fff" fill-rule="evenodd" stroke="url(#a)" stroke-width="8"/>
<path transform="scale(42.739 26.7)" d="m7.3966 17.236h1.0781v6.5625h-1.0781v-6.5625zm0-2.5547h1.0781v1.3594h-1.0781v-1.3594z" fill="#919191"/>
<text transform="scale(42.739 26.7)" x="6.15463" y="23.61115" font-family="Bitstream Vera Sans" font-size="12">
<tspan>i</tspan>
</text>
<path transform="scale(31.938 26.851)" d="m32.2376,17.8471c-.57544,1e-005-1.03034.22559-1.36468.67676s-.50153,1.06934-.50153,1.85449 .1662,1.40332.4986,1.85449 .78827.67676 1.36761.67676c.57153,0 1.02447-.22656 1.35883-.67969s.50152-1.07031.50153-1.85156-.16718-1.39355-.50153-1.84863-.7873-.68261-1.35883-.68262zm-.00293-.91406c.9375,1e-005 1.67382.30469 2.20898.91406s.80273,1.45313.80273,2.53125c-1e-005,1.07422-.26758,1.91699-.80273,2.52832s-1.27149.91699-2.20898.91699-1.67871-.30566-2.21191-.91699-.79981-1.4541-.7998-2.52832c0-1.07812.2666-1.92187.7998-2.53125s1.27051-.91406 2.21191-.91406zm-3.43359-2.39063v.89063h-1.02795c-.38794,1e-005-.65735.07838-.80823.23511s-.22632.43897-.22632.84668v.58227h1.78125v.84375h-1.78125v5.71875h-1.07813v-5.71875h-1.03125v-.84375h1.03125v-.4585c0-.72997.16974-1.26183.50922-1.59558s.87787-.5006 1.61517-.50061h1.01624zm-5.46094,5.14783v3.96936h-1.07813v-3.9342c0-.62011-.12171-1.08429-.36511-1.39252s-.60865-.46234-1.0957-.46234c-.58496,0-1.04633.18537-1.38409.55609s-.50666.87616-.50665,1.5163v3.71667h-1.07813v-6.5625h1.07813v1.00781c.25879-.39257.56372-.68603.91479-.88037s.75598-.2915 1.21472-.2915c.75683,1e-005 1.3294.23316 1.71771.69946s.58245,1.15223.58246,2.05774z" fill="#919191"/>
<text transform="scale(31.938 26.851)" x="16.58452" y="23.48566" font-family="Bitstream Vera Sans" font-size="12">
<tspan>nfo</tspan>
</text>
<?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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 986.16085 389.24982"
version="1.1"
id="svg27"
sodipodi:docname="info.svg"
width="260.92172mm"
height="102.98901mm"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
<metadata
id="metadata31">
<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>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="708"
id="namedview29"
showgrid="false"
units="mm"
inkscape:document-units="mm"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.51028059"
inkscape:cx="232.50824"
inkscape:cy="212.09171"
inkscape:window-x="-1"
inkscape:window-y="-1"
inkscape:window-maximized="1"
inkscape:current-layer="svg27" />
<defs
id="defs9">
<linearGradient
id="b">
<stop
stop-color="#1f55d1"
offset="0"
id="stop2" />
<stop
stop-color="#c9daff"
offset="1"
id="stop4" />
</linearGradient>
<linearGradient
id="a"
xlink:href="#b"
x1="153.49997"
y1="320.86013"
x2="448.99991"
y2="320.86013"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-106.625,-273.99038)" />
<radialGradient
id="c"
cx="392.59453"
cy="579.90115"
r="717.50437"
fx="400.7026"
fy="574.45945"
xlink:href="#b"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-138.5,-315.86508)" />
<linearGradient
inkscape:collect="always"
xlink:href="#b"
id="linearGradient33"
x1="138.49997"
y1="315.86515"
x2="527.74989"
y2="315.86515"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-138.5,-315.86508)" />
</defs>
<path
d="m 385.25,194.62492 a 190.625,190.625 0 1 0 -381.25,0 190.625,190.625 0 1 0 381.25,0 z"
fill="url(#c)"
fill-rule="evenodd"
stroke="url(#a)"
stroke-width="8"
id="path11"
style="fill:url(#c);stroke:url(#linearGradient33)" />
<path
d="m 338.375,194.61962 a 143.75,143.75 0 1 0 -287.5,0 143.75,143.75 0 1 0 287.5,0 z"
fill="#ffffff"
fill-rule="evenodd"
stroke="url(#a)"
stroke-width="8"
id="path13"
style="stroke:url(#a)" />
<path
d="m 176.58429,146.11182 h 46.07691 v 175.21875 h -46.07691 z m 0,-68.210492 h 46.07691 v 36.295982 h -46.07691 z"
fill="#919191"
id="path15"
style="stroke-width:33.7806" />
<text
transform="scale(1.2651923,0.79039367)"
x="97.616577"
y="400.21619"
font-family="'Bitstream Vera Sans'"
font-size="405.368px"
id="text19"
style="stroke-width:33.7806"><tspan
id="tspan17"
style="stroke-width:33.7806">i</tspan></text>
<path
d="m 890.06547,165.1231 c -18.3784,2.7e-4 -32.907,6.05732 -43.58515,18.17168 -10.67815,12.11437 -16.01787,28.71285 -16.01787,49.79491 0,21.08207 5.3081,37.68055 15.92429,49.79491 10.61619,12.11437 25.17577,18.17169 43.67873,18.17169 18.25352,0 32.71952,-6.08337 43.39831,-18.25036 10.67879,-12.16699 16.01755,-28.73889 16.01787,-49.71624 3.2e-4,-20.97734 -5.3394,-37.41821 -16.01787,-49.63756 -10.67847,-12.21935 -25.14479,-18.32876 -43.39831,-18.32903 z m -0.0926,-24.54343 c 29.94187,2.7e-4 53.45846,8.18124 70.5504,24.54343 17.09194,16.36219 25.63759,39.01799 25.63759,67.96659 -3.2e-4,28.84388 -8.54597,51.4731 -25.63759,67.88792 -17.09162,16.41483 -40.60885,24.6221 -70.5504,24.6221 -29.94156,0 -53.61464,-8.20727 -70.64398,-24.6221 -17.02934,-16.41482 -25.54433,-39.04404 -25.54402,-67.88792 0,-28.9486 8.51468,-51.60413 25.54402,-67.96659 17.02934,-16.36246 40.57755,-24.54343 70.64398,-24.54343 z M 780.31087,76.388869 V 100.30317 H 747.4802 c -12.39002,2.7e-4 -20.99444,2.10459 -25.81325,6.31294 -4.8188,4.20836 -7.2282,11.78679 -7.2282,22.73421 v 15.63453 h 56.88956 v 22.65553 H 714.43777 V 321.19454 H 680.00445 V 167.64038 h -32.93606 v -22.65553 h 32.93606 v -12.31118 c 0,-19.60043 5.42116,-33.881401 16.26347,-42.842922 10.84231,-8.961521 28.03741,-13.441611 51.5853,-13.441879 z M 605.89935,214.61325 V 321.19454 H 571.46603 V 215.55733 c 0,-16.65057 -3.88717,-29.11427 -11.66088,-37.39055 -7.77371,-8.27629 -19.43906,-12.41429 -34.99447,-12.41429 -18.68245,0 -33.41768,4.97737 -44.20506,14.93157 -10.78738,9.9542 -16.18171,23.52577 -16.18139,40.71417 v 99.79631 H 429.99091 V 144.98485 h 34.43332 v 27.06071 c 8.26523,-10.5409 18.00409,-18.4206 29.21656,-23.63882 11.21248,-5.21822 24.14449,-7.82707 38.79573,-7.82707 24.17164,2.7e-4 42.45838,6.26058 54.86022,18.78121 12.40185,12.52062 18.60229,30.93852 18.60261,55.25237 z"
fill="#919191"
id="path21"
style="stroke-width:29.2842" />
<text
transform="scale(1.0906204,0.91690929)"
x="357.72061"
y="345.20764"
font-family="'Bitstream Vera Sans'"
font-size="351.411px"
id="text25"
style="stroke-width:29.2842"><tspan
id="tspan23"
style="stroke-width:29.2842">nfo</tspan></text>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -78,7 +78,7 @@ class AppCard{
return
"<div style=\"padding:1%;\" class=\"col s12 m6 ".$extraClass."\">".
"<div style=\"margin:1%;\" class=\"card blue-grey darken-1\">".
(($this->link!=null)?("<a href=\"".$this->appLink."\">"):(""))."<div class=\"card-content white-text\">".
(($this->link!=null)?("<a href=\"".$this->link."\">"):(""))."<div class=\"card-content white-text\">".
"<span class=\"card-title\">".$this->title."</span>".
(($this->imgUrl!=null)?("<img style=\"display:block;margin-left:auto;margin-right:auto;max-height:10vh;\" class=\"responsive-img\" src=\"".$this->imgUrl."\" />"):("")).
"<p>".$this->description."</p>".

View File

@@ -0,0 +1,12 @@
<?php
session_start();
// Falls der serverseitige Logincookie nicht gesetzt ist,
// leite zur loginSeite weiter
if (empty($_SESSION['login'])) {
header('Location: login', TRUE, 301);
exit;
} else {
header('Location: /participo/', TRUE, 301);
exit;
}
?>

View File

@@ -49,7 +49,7 @@
} </style>
<div class="navBar">
<a class="touchLink" href=".">
<div>zurück zum Wettkampfplaner</div>
<div>zur&ck zum Wettkampfplaner</div>
</a>
</div>
<?php