portal: higher title visibility when hovering news tiles

This commit is contained in:
Astro 2013-11-13 00:56:06 +01:00
parent 10a0e1d265
commit ae05ac3cf5
2 changed files with 11 additions and 4 deletions

View File

@ -476,10 +476,17 @@ abbr.dtstart, abbr.dtend {
font-weight: bold;
letter-spacing: 0;
color: #111;
text-shadow: -1.5px 0 1.5px white, 0 1.5px 1.5px white, 1.5px 0 1.5px white, 0 -1.5px 1.5px white;
text-shadow:
-1px 0 1px white, 0 1px 1px white,
1px 0 1px white, 0 -1px 1px white;
background-color: rgba(0, 0, 0, 0);
transition: all 0.3s ease-out;
}
#portal article:hover h4 {
color: black;
#portal article.news:hover h4 {
color: white;
background-color: rgba(0, 0, 0, 0.6);
text-shadow: none;
transition: all 0.1s ease-in;
}
#portal .wiki h4 {
text-align: justify;

View File

@ -83,7 +83,7 @@
<xsl:template match="item" mode="news">
<xsl:param name="link"/>
<item date="{@date}">
<item date="{@date}" class="news">
<header>News</header>
<footer>by <xsl:value-of select="@author"/></footer>
<content-text><xsl:value-of select="@title"/></content-text>