portal: higher title visibility when hovering news tiles
This commit is contained in:
parent
10a0e1d265
commit
ae05ac3cf5
|
@ -476,10 +476,17 @@ abbr.dtstart, abbr.dtend {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
color: #111;
|
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 {
|
#portal article.news:hover h4 {
|
||||||
color: black;
|
color: white;
|
||||||
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
text-shadow: none;
|
||||||
|
transition: all 0.1s ease-in;
|
||||||
}
|
}
|
||||||
#portal .wiki h4 {
|
#portal .wiki h4 {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<xsl:template match="item" mode="news">
|
<xsl:template match="item" mode="news">
|
||||||
<xsl:param name="link"/>
|
<xsl:param name="link"/>
|
||||||
|
|
||||||
<item date="{@date}">
|
<item date="{@date}" class="news">
|
||||||
<header>News</header>
|
<header>News</header>
|
||||||
<footer>by <xsl:value-of select="@author"/></footer>
|
<footer>by <xsl:value-of select="@author"/></footer>
|
||||||
<content-text><xsl:value-of select="@title"/></content-text>
|
<content-text><xsl:value-of select="@title"/></content-text>
|
||||||
|
|
Loading…
Reference in New Issue