Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
108 lines (93 loc) · 1.93 KB
/
Copy pathstyles.css
File metadata and controls
108 lines (93 loc) · 1.93 KB
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
104
105
106
107
108
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
--Yellow-color: hsl(47, 88%, 63%);
--White-color: hsl(0, 0%, 100%);
--Gray-light-color: hsl(0, 0%, 42%);
--Gray-dark-color: hsl(0, 0%, 7%);
}
body {
background-color: var(--Yellow-color);
}
.card-container {
position: absolute;
width: 22rem;
height: 30rem;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 20px;
border: 1px solid var(--Gray-dark-color);
background-color: var(--White-color);
box-shadow: 10px 10px 0px 0px rgb(0, 0, 0);
-webkit-box-shadow: 10px 10px 0px 0px rgb(0, 0, 0);
-moz-box-shadow: 10px 10px 0px 0px rgb(0, 0, 0);
}
.card-content {
display: block;
width: 100%;
height: auto;
margin: 0 auto;
padding: 18px;
border-radius: 25px;
}
.card-header img {
width: 100%;
height: auto;
border-radius: 10px;
}
.card-body {
display: block;
width: 100%;
}
.card-body .tag {
width: max-content;
padding: 5px 15px;
margin: 10px 0 10px 0;
text-align: center;
font-size: small;
font-weight: bold;
border-radius: 5px;
background-color: var(--Yellow-color);
}
.card-body .subtitle {
font-weight: 500;
margin-bottom: 10px;
color: var(--Gray-dark-color);
}
.card-body .text {
margin: 10px 0 10px 0;
font-size: 14px;
line-height: 1.5;
color: var(--Gray-light-color);
}
.profile img {
position: absolute;
bottom: 18px;
left: 18px;
width: 35px;
height: 35px;
}
.profile span {
position: absolute;
left: 50px;
bottom: 25px;
margin-left: 15px;
font-weight: bold;
color: var(--Gray-dark-color);
}
.attribution {
position: absolute;
font-size: 11px;
bottom: 0;
left: 50%;
transform: translateX(-50%);
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}