add blog capability

This commit is contained in:
2019-10-06 22:38:42 +02:00
parent 3223bb54b8
commit 766b6f9e23
8 changed files with 118 additions and 41 deletions

View File

@@ -11,13 +11,24 @@ div.footer {
.container a:hover {
color: #12437A;
}
div.container.links .label-success {
.container .label-success {
background-color: rgba(92, 139, 184, 0.6);
color: #FFF;
}
div.container h1 {
.container a.label-success:hover {
background-color: rgba(92, 139, 184, 0.9);
color: #FFF;
}
.container h1 {
font-weight: bold;
color: #0D76EC;
}
.container h4 a {
color: #0D76EC;
}
.container h4 a:hover {
color: #0060CC;
}
/* Avoid scrollbar jumps in centering
* see https://css-tricks.com/eliminate-jumps-in-horizontal-centering-by-forcing-a-scroll-bar/
@@ -63,3 +74,49 @@ div.contact p {
.social-links li a:hover i {
transform: scale(1);
}
/* BLOG */
.categories {
font-size: 18px;
margin: 1em 0 3em 0;
}
.blog-summary {
padding-bottom: 1em;
}
.metadata {
font-size: 0.8em;
opacity: 0.7;
}
.blogpost .header-image img {
width: 100%;
height: auto;
padding-bottom: 2px;
}
.blogpost .header-image p {
opacity: 0.7;
font-size: 0.8em;
text-align: center;
line-height: 1em;
margin-bottom: 1.5em;
}
a.learn-more {
font-size: 1.8em;
line-height: 0.8em;
font-weight: 700;
font-variant: small-caps;
text-transform: lowercase;
padding: 0 1em 0 .3em;
position: absolute;
}
a.learn-more::after {
position: absolute;
right: 0.3em;
content: " » ";
opacity: .8;
transition: all 150ms linear;
}
a.learn-more:hover::after {
right: 0;
opacity: 1;
}