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,24 +110,20 @@ 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 {
height: 64px;
.card-meta .media-left .media-object { width: 64px;
height: 64px; border-radius: 10px;
width: 64px; margin-right: 1em; }
border-radius: 10px; .card-meta author {
margin-right: 1em; } display: block;
font-weight: 600; }
.card-meta author { .card-meta time {
display: block; display: block;
font-weight: 600; } font-style: italic; }
.card-meta time {
display: block;
font-style: italic; }
/* lists */ /* lists */
.list-group-item { .list-group-item {

View file

@ -154,28 +154,29 @@ 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 {
display:block;
font-weight:600;
}
.card-meta time { author {
display:block; display:block;
font-style:italic; font-weight:600;
}
time {
display:block;
font-style:italic;
}
} }
/* lists */ /* lists */