datenspuren videos: style
This commit is contained in:
parent
9f557e9cce
commit
ff0c9c221f
|
@ -295,16 +295,34 @@ footer {
|
||||||
.resource {
|
.resource {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
padding: 0;
|
padding: 3px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
/* width: 290px; */
|
width: 20rem;
|
||||||
|
text-align: center;
|
||||||
|
border: 4px solid white;
|
||||||
|
border-radius: 1.5rem;
|
||||||
}
|
}
|
||||||
.resource h4 {
|
.resource h4 {
|
||||||
text-align: center;
|
margin: 2px;
|
||||||
margin: 2px 4px;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 100%;
|
font-size: 120%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
background-color: #b6ff00;
|
||||||
|
border-radius: 1rem;
|
||||||
|
line-height: 2rem;
|
||||||
|
}
|
||||||
|
.resource h4 a {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
.resource .subtitle {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-size: 95%;
|
||||||
|
line-height: 1.3em;
|
||||||
|
height: 1.3em;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.resource img {
|
.resource img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -272,9 +272,13 @@
|
||||||
<xsl:value-of select="$title"/>
|
<xsl:value-of select="$title"/>
|
||||||
</a>
|
</a>
|
||||||
</h4>
|
</h4>
|
||||||
<em><xsl:value-of select="$subtitle"/></em>
|
<p class="subtitle">
|
||||||
|
<xsl:value-of select="$subtitle"/>
|
||||||
|
</p>
|
||||||
<div class="preview">
|
<div class="preview">
|
||||||
<img src="{$preview}" title="{$title}"/>
|
<a href="{link}">
|
||||||
|
<img src="{$preview}" title="{$title}"/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
<xsl:for-each select="$feeds/feed">
|
<xsl:for-each select="$feeds/feed">
|
||||||
|
|
Loading…
Reference in New Issue