-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.css
More file actions
139 lines (117 loc) · 2.23 KB
/
code.css
File metadata and controls
139 lines (117 loc) · 2.23 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
*{
margin:0px;
padding: 0px;
}
:root{
--main-background: hsl(217, 54%, 11%);
--card-background: hsl(216, 50%, 16%);
--overlay-backgroud: hsla(178, 100%, 50%,0.5);
--p-background: hsl(215, 51%, 70%);
--line-color: hsl(215, 32%, 27%);
--text-color: hsl(0, 0%, 100%);
}
body{
font-family: 'roboto';
background-color: var(--main-background);
min-height: 100vh;
min-width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.container{
max-height: 100%px;
margin: 0 auto;
}
.wrapper{
margin: 2rem 1rem;
padding: 20px;
width: 20vw;
background-color: var(--card-background);
border-radius: 15px;
box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.75);
}
.first-img{
border-radius: 11px;
overflow: hidden;
position: relative;
}
.first-img img{
width: 100%;
display: block;
}
.image-overlay{
position: absolute;
left: 0;
top:0;
height: 100%;
width: 100%;
display: none;
}
.first-img:hover .image-overlay {
display: block;
background-color: var(--overlay-backgroud);
}
.image-overlay img{
position: absolute;
width: 50px;
left:50%;
top:50%;
transform: translate(-50%,-50%);
}
.text a{
color: var(--text-color);
text-decoration: none;
font-weight: 600;
font-size: 20px;
padding: 20px 0px;
display: inline-block;
}
.text a:hover{
color: var(--overlay-backgroud);
}
p{
color: var(--p-background)
}
.flex{
display: flex;
align-items: center;
justify-content: space-between;
padding: 25px 0px;
}
.eth,
.days{
display: flex;
align-items: center;
}
.eth p{
color: var(--overlay-backgroud);
font-weight: 600;
padding-left: 7px;
}
.days p{
padding-left: 7px;
}
hr{
border-color: var(--line-color);
}
.profile{
display: flex;
align-items: center;
padding-top: 25px;
}
.profile img{
height: 30px;
width: 30px;
border-radius: 50%;
border: 2px solid #ffff;
margin-right: 15px;
}
.profile p a.name{
color: var(--text-color);
font-size: 16px;
}
.profile p a.name:hover{
color: var(--overlay-backgroud);
}