-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (112 loc) · 2.13 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (112 loc) · 2.13 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
109
110
111
112
113
114
115
116
*{
padding: 0;
margin: 0;
}
.container{
width: 100vw;
height: 100vh;
background-color: hsl(217, 54%, 11%);
display: flex;
}
.container, .nft-container,.active-state{
justify-content: center;
align-items: center;
}
.nft-container{
width: 320px;
max-width: 85vw;
border-radius: 15px;
background-color: hsl(216, 50%, 16%);
display: grid;
grid-template-columns: 86%;
grid-row-gap: 18px;
padding: 21px 0;
font-family: 'Outfit', sans-serif;
box-shadow: 0 10px 20px 10px rgba(0, 0, 0,0.2),0 10px 20px 10px hsla(216, 50%, 16%, 0.2);
}
.img{
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
.nft-image{
width: 100%;
position: relative;
}
.nft-image img{
width: 100%;
border-radius: 8px;
}
h2{
color: hsl(0, 0%, 100%);
width: max-content;
font-size: 20px;
}
p{
font-size: 16px;
font-weight: 300;
color: hsl(215, 51%, 70%);
}
.price,.eth,.time,.owner-details, .active-state{
display: flex;
}
.eth p{
color: hsl(178, 100%, 50%);
}
.price{
justify-content: space-between;
}
.eth-icon{
background-image: url(./icon-ethereum.svg);
}
.eth-icon, .time-icon{
width: 20px;
height: 20px;
background-position: left;
}
.time-icon{
background-image: url(./icon-clock.svg);
padding-left: 5px;
}
.owner-details{
border-top: 1px solid hsl(215, 32%, 27%);
padding: 15px 0 5px;
align-items: center;
font-size: 16px;
}
.profPic{
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid hsl(0, 0%, 100%);
background-image: url(./image-avatar.png);
margin-right: 15px;
}
span{
color: hsl(0, 0%, 100%);
}
span:hover,h2:hover{
color: hsl(178, 100%, 50%);
}
.owner-details, h2, .nft-image{
cursor: pointer;
}
.active-state{
position: absolute;
width: 100%;
height: 100%;
top: 0;
}
.eye{
width: 55px;
height: 55px;
background-image: url(./icon-view.svg);
z-index: -1;
}
.active-state:hover {
content: "";
background-color: hsla(178, 100%, 50%, 0.3);
height: 99%;
border-radius: 8px;
z-index: 1;
}