-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (115 loc) · 2.08 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
104
105
106
107
108
109
110
111
112
113
114
115
116
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Outfit', sans-serif;
color: hsl(215, 51%, 70%);
background-color: hsl(217, 54%, 11%);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
p{
font-size: 18px;
margin-bottom:12px;
}
a{
text-decoration: none;
color: hsl(0, 0%, 100%);
}
a:hover{
color:hsl(178, 100%, 50%);
}
img{
display: block;
max-width: 100%;
}
hr{
height: 1px;
background-color:hsl(215, 32%, 27%);
border:none;
margin: 12px 0;
}
main{
border-radius: 15px;
background-color: hsl(216, 50%, 16%);
width: 350px;
padding: 24px;
color: hsl(215, 51%, 70%);
box-shadow: 0 23px 10px 18px rgba(0, 0, 0, 0.2),
0 40px 12px 45px rgba(0, 0, 0, 0.1);
}
h1{
font-weight: 400;
font-size: 22px;
padding: 15px 0;
}
.nft-img{
position: relative;
display: block;
}
.nft-img ,.nft-img img{
border-radius: 6px;
}
.nft-img-overlay{
border-radius: 6px;
background:hsla(178, 100%, 50%, 0.5);
opacity: 0;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
transition: opacity 0.5s ease;
display: flex;
justify-content: center;
align-items: center;
}
.nft-img-overlay:hover{
opacity: 1;
}
.nft-info{
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 0;
}
.price{
display: flex;
justify-content: space-between;
align-items: center;
}
.price img{
margin-right: 6px;
}
.days{
display: flex;
justify-content: space-between;
align-items: center;
}
.days img{
margin-right: 6px;
}
.ethereum{
color:hsl(178, 100%, 50%);
font-weight: 400;
}
.image-avatar{
width: 32px;
border: solid 1px hsl(0, 0%, 100%);
margin-right: 12px;
border-radius: 50%;
}
.nft-footer{
padding : 6px 0;
display: flex;
justify-content: left;
align-items: center;
}
.author-name{
margin-left: 6px;
}