portal: fix background style
This commit is contained in:
parent
cb6bd064bf
commit
ea2e6b6706
|
@ -379,10 +379,6 @@ abbr.dtstart, abbr.dtend {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin: 0.3em 0.15em 0;
|
margin: 0.3em 0.15em 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
}
|
||||||
#portal article > a {
|
#portal article > a {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -391,6 +387,10 @@ abbr.dtstart, abbr.dtend {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 14.5em;
|
width: 14.5em;
|
||||||
height: 14.5em;
|
height: 14.5em;
|
||||||
|
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
#portal article > a:hover {
|
#portal article > a:hover {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -354,8 +354,9 @@
|
||||||
<xsl:apply-templates select="item[position() = 3]"/>
|
<xsl:apply-templates select="item[position() = 3]"/>
|
||||||
|
|
||||||
<!-- Advertisement -->
|
<!-- Advertisement -->
|
||||||
<article style="background-image: url('autotopia/autotopia.png')">
|
<article>
|
||||||
<a href="https://autotopia.c3d2.de/">
|
<a href="https://autotopia.c3d2.de/"
|
||||||
|
style="background-image: url('autotopia/autotopia.png')">
|
||||||
<h3>Autotopia</h3>
|
<h3>Autotopia</h3>
|
||||||
<p class="footer">Help wanted!</p>
|
<p class="footer">Help wanted!</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue