-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (122 loc) · 2.43 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
117
118
119
120
121
122
123
124
125
126
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');
*{
font-family: 'Outfit', sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
font-weight: 300;
}
body{
font-size: 18px;
background-color: hsl(217, 54%, 11%);
color: hsl(215, 51%, 70%);
display: flex;
align-items: center;
justify-content:center;
min-height:100vh;
}
.container{
width: 100vw;
height: auto;
}
.card{
width: 350px;
height: auto;
background-color: hsl(216, 50%, 16%);
border-radius: 10px;
padding: 25px;
display: block;
margin: auto;
position: relative;
}
.img-nft #img{
display: block;
margin: auto;
width: 300px;
height: 300px;
border-radius: 10px;
margin-bottom: 20px;
}
.img-nft #ico{
display: none;
}
.img-nft:hover div{
background-color: hsla(178, 100%, 50%,0.5);
width: 300px;
height: 300px;
border-radius: 10px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 25px;
}
.img-nft:hover #ico{
display: block;
opacity: 1;
}
.content{
margin-top: 20px;
}
.content a{
font-weight: 600;
font-size: 1.5em;
color: #fff;
text-decoration: none;
}
.content a:hover{
color: hsl(178, 100%, 50%);
}
p{
margin-top: 20px ;
margin-bottom: 20px;
}
figure{
display: flex;
flex-direction: row;
}
.info{
display: flex;
flex-direction: row;
justify-content: space-between;
padding-bottom: 20px;
border-bottom: 1px solid hsl(215, 32%, 27%);
margin-bottom: 20px;
align-items: center;
}
.price img{
width: 15px;
height: auto;
margin-right: 5px;
}
.price{
color: hsl(178, 100%, 50%);
}
.price figcaption{
font-weight: 600;
}
.duration img{
width: 20px;
height: 20px;
margin-right: 5px;
}
.card-footer{
align-items: center;
}
.card-footer img{
width: 25px;
border-radius: 50%;
border: 1px solid #fff;
margin-right: 10px;
}
.card-footer a{
color: #fff;
font-weight: 400;
text-decoration: none;
}
.card-footer a:hover{
color:hsl(178, 100%, 50%);
}
.attribution { font-size: 11px; text-align: center; position:absolute; bottom:10px; width: 100%; height:auto;}
.attribution a { color: hsl(228, 45%, 44%); }