-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
168 lines (141 loc) · 2.61 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: hsl(217, 54%, 11%);
font-family: 'Outfit', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 0 10px;
color: #fff;
}
.container {
width: 375px;
min-height: 600px;
background-color: hsl(216, 50%, 16%);
border-radius: 10px;
padding: 30px;
padding-bottom: 0;
margin: 15px;
}
.container .img-container {
height: 50%;
width: 100%;
position: relative;
border-radius: 10px;
cursor: pointer;
}
.img-container img {
height: 100%;
width: 100%;
border-radius: 10px;
}
.img-container:hover::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-image: url(/images/icon-view.svg);
background-repeat: no-repeat;
background-position: center;
}
.img-container:hover::after {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: hsl(178, 100%, 50%);
opacity: 0.3;
border-radius: 10px;
}
.discription {
padding: 20px 0;
}
.discription h1 {
margin: 0;
}
.discription h1:hover {
color: hsl(178, 100%, 50%);
cursor: pointer;
}
.discription p {
color: hsl(215, 51%, 70%);
font-size: 18px;
}
.discription .icons {
display: flex;
justify-content: space-between;
}
.discription .icons .eth {
display: flex;
}
.discription .icons .timer {
display: flex;
}
.discription .icons .eth span {
color: hsl(178, 100%, 50%);
}
.discription .icons .timer span {
color: hsl(215, 51%, 70%);
}
.discription .icons .eth span,
.discription .icons .timer span {
margin: 0 0 0 10px;
}
hr {
border-color: hsl(215, 32%, 27%);
margin: 10px 0;
}
.creater {
display: flex;
padding: 10px 0;
align-items: center;
}
.creater img {
width: 40px;
height: 40px;
border-radius: 50%;
border: 2px solid #fff;
margin-right: 20px;
}
.creater h2 {
color: hsl(215, 51%, 70%);
font-size: 18px;
font-weight: 300;
}
.creater h2 span {
color: #fff;
cursor: pointer;
}
.creater h2 span:hover {
color: hsl(178, 100%, 50%);
}
/*
@media (max-width: 350px) {
.container {
width: 280px;
}
.creater h2 {
font-size: 14px;
}
} */
@media (max-width: 390px) {
body {
padding: 0 10px;
}
.container {
width: 100%;
}
.icons {
flex-wrap: wrap;
}
}