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;
|
||||
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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue