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> </div>
<footer class='post-footer'> <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> <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
</div> </div>
{{ if .Truncated }} {{ if .Truncated }}
<div class="footer-filler"></div>
<div class='read-more'><a href="{{ .RelPermalink }}">Read More…</a></div> <div class='read-more'><a href="{{ .RelPermalink }}">Read More…</a></div>
{{ end }} {{ end }}
</footer> </footer>

21
static/css/main.css

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

Loading…
Cancel
Save