-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
155 lines (154 loc) · 2.88 KB
/
style.css
File metadata and controls
155 lines (154 loc) · 2.88 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
background-color: #0d1a2d;
color: #fff;
font-size: 18px;
font-family: 'Outfit', sans-serif;
font-weight: 300;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* start custom css */
section{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.nft-card{
box-sizing: border-box;
display: flex;
flex-direction: column;
background-color: #15273f;
max-width: 326px;
padding: 1.33rem;
border-radius: .75rem;
color: #83aef0;
box-shadow: 0 35px 5px 5px #0c1729, 0 25px 20px 46px #0c192c;
}
.nft-card a{
color: #fff;
text-decoration: none;
}
.nft-card a:hover{
color: #08ffff;
transition: color .7s;
}
.nft-card a:hover, .card-img:hover .hover-img{
cursor: pointer;
}
.card-img {
width: 100%;
position: relative;
}
.card-img > img{
width: 100%;
max-width: 100%;
border-radius: .75rem;
}
.hover-img {
opacity: 0;
position: absolute;
top: 49.35%;
left: 50%;
text-align: center;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
transition: .5s ease;
width: 99.25%;
max-width: 100%;
height: 100%;
border-radius: .75rem;
}
.card-img:hover .hover-img{
opacity: 1;
background-color: rgba(8, 255, 255, .5);
}
.hover-img img{
max-width: 48px;
position: absolute;
top: 43%;
left: 42.5%;
}
.card-heading{
margin: 1.35rem 0;
font-size: 1.5rem;
font-weight: 600;
color: #fff;
}
.card-content {
line-height: 1.5;
}
.card-blocks {
display: flex;
flex-direction: row;
margin: 1.35rem 0;
}
#eth-div{
color: #08ffff;
font-weight: 600;
}
#days-left-div{
text-align: right;
}
.icon img{
vertical-align: -.17rem;
margin-right: .44rem;
}
.card-blocks div{
flex-basis: 50%;
}
.nft-card footer{
border-top: 1px solid #83aef0;
padding: 1.5rem 0 0 0;
}
.footer-avatar img{
max-width: 32px;
border-radius: 50%;
border: 1px solid #fff;
vertical-align: -.6rem;
margin-right: .88rem;
}