Browse Source

finalize network cards for now, fix #3

main
rra 3 years ago
parent
commit
4d6dd8dbea
  1. 3
      layouts/partials/network_card.html
  2. 21
      static/css/main.css

3
layouts/partials/network_card.html

@ -25,10 +25,11 @@
</div>
<footer class='post-footer'>
<div class='footer-filler'>
<div class='footer-metadata'>
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
</div>
{{ if .Truncated }}
<div class="footer-filler"></div>
<div class='read-more'><a href="{{ .RelPermalink }}">Read More…</a></div>
{{ end }}
</footer>

21
static/css/main.css

@ -325,7 +325,7 @@ footer.post-footer {
}
div.network-source{
padding: 0.5em 1.2em 0.5em 1.2em;
padding: 0.5em 1em 0.5em 1em;
border-bottom: 2px solid darkcyan;
font-size: 14px;
display: flex;
@ -338,19 +338,24 @@ div.network-source{
}
.network .footer-filler{
border: none;
}
.network .read-more {
border: none;
border-left: 2px solid darkcyan;
border-top: none;
}
.network footer.post-footer{
border-top: 2px solid darkcyan;
flex-flow: row;
font-size: 0.8rem;
padding-left: 1.2em;
min-width: 16ch;
font-size: 0.9rem;
}
.network .read-more {
border: none;
border-left: 2px solid darkcyan;
padding: 0.5em 1.2em 0.5em 1.2em;
}
.network .footer-metadata {
padding: 0.5em 1.2em 0.5em 1.2em;
}
/* calendar cards */

Loading…
Cancel
Save