style: simplify .card-meta

This commit is contained in:
Kazhnuz 2018-10-14 17:55:42 +02:00
parent 036286f3f4
commit 200d32cfcb
2 changed files with 36 additions and 39 deletions

View file

@ -110,21 +110,17 @@ h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.ca
.card-meta { .card-meta {
padding: 1em; padding: 1em;
border-bottom: 1px solid rgba(0, 0, 0, 0.2); } border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
.card-meta.media { .card-meta.media {
-ms-flex-align: center !important; -ms-flex-align: center !important;
align-items: center !important; } align-items: center !important; }
.card-meta .media-left .media-object { .card-meta .media-left .media-object {
height: 64px; height: 64px;
width: 64px; width: 64px;
border-radius: 10px; border-radius: 10px;
margin-right: 1em; } margin-right: 1em; }
.card-meta author { .card-meta author {
display: block; display: block;
font-weight: 600; } font-weight: 600; }
.card-meta time { .card-meta time {
display: block; display: block;
font-style: italic; } font-style: italic; }

View file

@ -154,29 +154,30 @@ h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.ca
.card-meta { .card-meta {
padding:1em; padding:1em;
border-bottom: $border-size solid rgba(0,0,0,0.2); border-bottom: $border-size solid rgba(0,0,0,0.2);
}
.card-meta.media { &.media {
-ms-flex-align: center !important; -ms-flex-align: center !important;
align-items: center !important; align-items: center !important;
} }
.card-meta .media-left .media-object { .media-left .media-object {
height: 64px; height: 64px;
width: 64px; width: 64px;
border-radius: 10px; border-radius: 10px;
margin-right:1em; margin-right:1em;
} }
.card-meta author {
author {
display:block; display:block;
font-weight:600; font-weight:600;
} }
.card-meta time { time {
display:block; display:block;
font-style:italic; font-style:italic;
} }
}
/* lists */ /* lists */