Vorlage:Sidebox2: Unterschied zwischen den Versionen

Religion-in-Japan > Vorlage > Sidebox2
Wechseln zu: Navigation, Suche
Zeile 10: Zeile 10:
 
--><div class='sidebox2' ><!--
 
--><div class='sidebox2' ><!--
 
-->{{#if: {{{sidepage|}}}|
 
-->{{#if: {{{sidepage|}}}|
<div class='sbUe' style='height:{{#expr:{{{rh|{{{rahmen_h|120}}} }}}+20}}px; '><!--
+
<div class='sbUe2' style='height:{{#expr:{{{rh|{{{rahmen_h|140}}} }}}+20}}px; '><!--
-->[[{{#var:link}}|<b>&nbsp;</b><!--
+
-->[[{{#var:link}}|<span class='sbUeText'><!--
 
-->{{#switch: {{{titel|}}}
 
-->{{#switch: {{{titel|}}}
| bilder=
+
| bilder= bilder
<span>&nbsp;</span>
+
| zitat = zitat
<span>B</span>
+
| #default= sidepage
<span>i</span>
+
}}
<span>l</span>
+
--></span>]]</div>}}<!-- ENDE IF
<span>d</span>
+
<span>e</span>
+
<span>r</span>
+
<span>&nbsp;</span><!--
+
| essay =
+
<span>&nbsp;</span>
+
<span>E</span>
+
<span>s</span>
+
<span>s</span>
+
<span>a</span>
+
<span>y</span>
+
<span>&nbsp;</span>-->
+
| zitat =
+
<span>&nbsp;</span>
+
<span>Z</span>
+
<span>i</span>
+
<span>t</span>
+
<span>a</span>
+
<span>t</span>
+
<span>&nbsp;</span>
+
| #default=
+
<span>S</span>
+
<span>i</span>
+
<span>d</span>
+
<span>e</span>
+
<span>p</span>
+
<span>a</span>
+
<span>g</span>
+
<span>e</span>
+
}}<!-- ENDE SWITCH
+
--><i>&nbsp;</i>]]</div>}}<!-- ENDE IF
+
 
--><div class='sbBody {{{hell|}}}' ><div class=sbAussen style='
 
--><div class='sbBody {{{hell|}}}' ><div class=sbAussen style='
 
   width: {{{rw|174}}}px;  
 
   width: {{{rw|174}}}px;  
Zeile 59: Zeile 28:
 
</div>
 
</div>
 
</div><!--
 
</div><!--
--><div class='pp_text' id='pp_{{#var:img}}'>{{File:{{#var:img}}}}</div></onlyinclude>
+
--><div class='pp_text' id='pp_{{#var:img}}'>{{File:{{#var:img}}}}</div><!--
 +
-->{{#css:
 +
.sbUe2 {
 +
    position: absolute;
 +
    left: -16px;
 +
    top: -20px; 
 +
    width: 200px;
 +
    padding-bottom: 20px;
 +
    overflow: visible;
 +
    z-index: 0;
 +
}
 +
.sidebox2:hover .sbUe2 {
 +
    z-index: 4;
 +
}
 +
.sbUe2 a  {
 +
    position: absolute;
 +
    display: block;
 +
    top: 0;
 +
    right: 0;
 +
    left: 0;
 +
    bottom: 0; 
 +
}
 +
.sbUeText {
 +
  display: inline-block;
 +
  padding: 0 1em;
 +
    transform: rotate(-3deg);
 +
    line-height: 22px;
 +
    text-align: center;
 +
    text-transform: uppercase;
 +
    font-family: Courier,mono;
 +
    color: #fff;
 +
    /* font-family: Carlito,Calibri,Arial; */
 +
    font-size: 12px;
 +
    font-weight: bold;
 +
    background: rgba(238, 165, 0, 0.85);
 +
}
 +
.sidebox2:hover .sbUeText{
 +
    background: rgb(238, 165, 0);
 +
}
 +
}}</onlyinclude>
 
----
 
----
 
Parameter:  
 
Parameter:  
 
:image|1, w, rw/ rahmen_w, rh/ rahmen_h, left, top, alt, link, border
 
:image|1, w, rw/ rahmen_w, rh/ rahmen_h, left, top, alt, link, border
 
:sidepage, titel (bilder, essay, zitat), caption|2
 
:sidepage, titel (bilder, essay, zitat), caption|2

Version vom 20. Juni 2018, 16:18 Uhr

Diese Seite zitieren:
Bernhard Scheid, „Sidebox2.“ In: Religion-in-Japan: Ein Web-Handbuch. Universität Wien, seit 2001 (Stand: 20.6.2018). URL: https://www.univie.ac.at/rel_jap/an/Vorlage:Sidebox2?oldid=68860
Ebisu.gif
Kein Bild!

Parameter:

image|1, w, rw/ rahmen_w, rh/ rahmen_h, left, top, alt, link, border
sidepage, titel (bilder, essay, zitat), caption|2