-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (93 loc) · 1.92 KB
/
style.css
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
body {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
/* background-color: gray; */
}
.card {
position: relative;
width: 300px;
background: whitesmoke;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
transition: 0.5s ease;
cursor: pointer;
}
.card:hover {
transform: scale(1.1);
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
}
.card .card-image {
width: inherit;
height: 200px;
background: url("/images/man-viewing.jpg");
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-size: cover;
}
.card .card-text {
margin-top: 15px;
}
.card .card-text .date {
color: rgb(167, 62, 62);
font-size: 15px;
}
.card-text p {
color: gray;
font-size: 15px;
font-weight: 300;
}
.card-text h2 {
margin-top: 0px;
font-size: 28px;
}
.card .card-status {
width: inherit;
height: 70px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
background-color: rgb(167, 62, 62);
color: whitesmoke;
}
.card .card-status .stat {
position: relative;
width: 100px;
}
.card .card-status .border {
/* padding-left: 20px;
padding-right: 20px; */
border-left: 1px solid rgb(104, 52, 52);
border-right: 1px solid rgb(104, 52, 52);
}
.card .card-status .type {
font-size: 11px;
font-weight: 300;
text-transform: uppercase;
}
.card .card-status .value {
font-size: 22px;
font-weight: 500;
text-transform: uppercase;
}
.card .card-status .value sub {
position: absolute;
top: -4px;
font-size: 18px;
font-weight: 500;
text-transform: lowercase;
}