portal: fix background style

This commit is contained in:
Astro 2019-05-02 23:24:34 +02:00
parent cb6bd064bf
commit ea2e6b6706
2 changed files with 7 additions and 6 deletions

View File

@ -379,10 +379,6 @@ abbr.dtstart, abbr.dtend {
vertical-align: middle;
margin: 0.3em 0.15em 0;
padding: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
#portal article > a {
display: block;
@ -391,6 +387,10 @@ abbr.dtstart, abbr.dtend {
padding: 0;
width: 14.5em;
height: 14.5em;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
#portal article > a:hover {
margin: 0;

View File

@ -354,8 +354,9 @@
<xsl:apply-templates select="item[position() = 3]"/>
<!-- Advertisement -->
<article style="background-image: url('autotopia/autotopia.png')">
<a href="https://autotopia.c3d2.de/">
<article>
<a href="https://autotopia.c3d2.de/"
style="background-image: url('autotopia/autotopia.png')">
<h3>Autotopia</h3>
<p class="footer">Help wanted!</p>
</a>