/
card.scss
70 lines (64 loc) · 1.5 KB
/
card.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@import '../colors';
$font-serif: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
.col-md-4{
margin-bottom: 40px;
}
.card {
border-radius: 4px;
h3 {
font-size: 19px;
padding-bottom: 10px;
margin-top: 5px;
a {
color: $black-color;
font-weight: bold;
}
}
p {
font-family: $font-serif;
color: $grey-txt-color;
font-size: 18px;
margin-top: -10px;
}
.thumbnail {
padding: 0;
box-shadow: 8px 14px 38px rgba(39,44,49,.06),1px 3px 8px rgba(39,44,49,.03);
border: 0;
}
.card-media {
padding: 0;
height: 198px !important;
width: 100% !important;
display: flex;
max-width: 100% !important;
.img-fit-cover {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
object-fit: cover;
max-width: inherit;
}
}
.caption {
padding: 30px;
min-height: 200px;
max-height: 200px;
.primer{
font-family: 'FiraMono-Regular', monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: bold;
margin-top: -13px;
color: $red-txt-color;
}
.article{
font-family: 'FiraMono-Regular', monospace;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: bold;
margin-top: -13px;
color: $grey-txt-color;
}
}
}