-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
107 lines (107 loc) · 1.91 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
html{
font-size: 62.5%;
}
body{
background-color: hsl(217, 54%, 11%);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.flex-container{
background-color: hsl(216, 50%, 16%);
padding: 2rem;
border: none;
border-radius: 1.2rem;
display: flex;
flex-direction: column;
gap: 2rem;
width: min(80%,300px);
}
.box{
position: relative;
}
.cube{
width: 100%;
border-radius: 1.2rem;
}
.eye{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
.icon-container{
width: 100%;
height: 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
opacity: 0;
background-color: rgba(0, 255, 247, 0.502);
border-radius: 1.2rem;
}
.box:hover .icon-container{
opacity: 1;
}
h1{
color: white;
font-family: 'Outfit', sans-serif;
font-weight: 600;
}
h1:hover, h1:active{
color: hsl(178, 100%, 50%);
cursor: grabbing;
transition: 1s;
}
p{
font-size: 1.8rem;
color: hsl(215, 51%, 70%);
font-family: 'Outfit', sans-serif;
font-weight: 300;
}
.selling-info{
display: flex;
justify-content: space-between;
}
.etherium{
display: flex;
gap: 1rem;
}
.etherium>p{
color: hsl(178, 100%, 50%);
}
.time-left{
display: flex;
gap: 1rem;
}
hr{
width: 100%;
border: 1px solid;
border-color: hsl(215, 32%, 27%);
}
footer{
display: flex;
gap: 2rem;
align-items: center;
}
footer>img{
height: 4rem;
border: white 1px solid;
border-radius: 50%;
}
footer>p>a{
color: white;
text-decoration: none;
}
footer>p>a:hover, footer>p>a:active{
color: hsl(178, 100%, 50%);
cursor: grabbing;
transition: 1s;
}