Benutzer:Streberli/PSE: Unterschied zwischen den Versionen
Aus Stupidedia, der sinnfreien Enzyklopädie!
(Neu: „<html> <style> #pse-container { width:100%; padding-bottom: 47em; position: relative; top: 0; bottom: 0; } table.pse { width: 100%; height: 100%; max-height: 100%; table-layout: fixed…“) |
Sky (Diskussion | Beiträge) K (Versiegelte Benutzer:Streberli/PSE ([Bearbeiten=Nur Diktatoren] (unbeschränkt) [Verschieben=Nur Diktatoren] (unbeschränkt))) |
||
(3 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
#pse-container { | #pse-container { | ||
width:100%; | width:100%; | ||
− | |||
position: relative; | position: relative; | ||
top: 0; | top: 0; | ||
Zeile 17: | Zeile 16: | ||
border-collapse: separate; | border-collapse: separate; | ||
padding: 20px; | padding: 20px; | ||
− | |||
top: 0; bottom: 0; left: 0; right: 0; | top: 0; bottom: 0; left: 0; right: 0; | ||
line-height: 1.0; | line-height: 1.0; | ||
Zeile 54: | Zeile 52: | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
− | top: | + | top: 2.5em; |
left: 14%; | left: 14%; | ||
position: absolute; | position: absolute; | ||
Zeile 284: | Zeile 282: | ||
if (fontSize > maxScale) fontSize = maxScale; | if (fontSize > maxScale) fontSize = maxScale; | ||
− | if (fontSize < minScale) fontSize = minScale; | + | if (fontSize < minScale) fontSize = minScale; |
$('table.pse').css('font-size', fontSize + '%'); | $('table.pse').css('font-size', fontSize + '%'); | ||
+ | if (fontSize <= 70) { | ||
+ | $('.full-name').css('visibility', 'hidden'); | ||
+ | } | ||
+ | else { | ||
+ | $('.full-name').css('visibility', 'visible'); | ||
+ | } | ||
} | } | ||
Aktuelle Version vom 18. Februar 2016, 14:40 Uhr