-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
98 lines (87 loc) · 1.52 KB
/
styles.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
body {
background-color: hsl(217, 54%, 11%);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.box {
width: 250px;
height: 430px;
background-color: hsl(216, 50%, 16%);
border-radius: 2%;
}
.inner-container {
padding: 10px;
}
.container-image {
position: relative;
}
.main-image {
width: 230px;
border-radius: 15px;
}
.color-image {
position: absolute;
top: 0;
width: 230px;
height: 100%;
border-radius: 15px;
}
.color-image:hover {
background: url("/images/icon-view.svg") hsl(178, 100%, 50%) no-repeat center;
opacity: 0.6;
cursor: pointer;
}
.container {
display: flex;
justify-content: space-between;
}
.container-title p:first-of-type {
color: hsl(0, 0%, 100%);
font-weight: 600;
}
.container-title p:nth-child(2) {
color: hsl(216, 15%, 51%);
font-weight: 600;
font-size: small;
}
.price img,
.time img {
height: 12px;
vertical-align: middle;
}
.price p {
color: hsl(178, 100%, 50%);
font-size: 11px;
display: inline;
}
.time p {
color: hsl(216, 15%, 51%);
font-size: 11px;
display: inline;
font-weight: 900;
}
.container-line {
margin: 15px 0px 10px 0px;
border-color: hsl(215, 32%, 27%);
}
.author img {
height: 25px;
vertical-align: middle;
}
.author p {
display: inline;
color: hsl(216, 15%, 51%);
font-size: small;
font-weight: 900;
}
.author span {
color: hsl(216, 16%, 70%);
font-weight: 600;
}
.author span:hover,
.container-title p:first-of-type:hover {
color: hsl(178, 100%, 50%);
cursor: pointer;
}