-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
151 lines (128 loc) · 2.5 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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
@media (max-width:280px) {
.container {
/* margin: 2rem 1rem; */
width: 250px !important;
height: 525px !important;
padding: 1rem !important;
}
/* .image-block img {
display: flex !important;
align-items: center !important;
width: 100% !important;
height: 220px !important;
} */
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: hsl(217, 54%, 11%);
margin: 5rem 1rem;
font-family: 'Outfit', sans-serif;
}
.container {
width: 300px;
height: 525px;
background: hsl(216, 50%, 16%);
padding: 1.65rem;
border-radius: 10px;
position: relative;
}
.image-block {
width: 100%;
position: relative;
padding: 0;
}
.image-block div {
width: 100%;
height: 100%;
overflow: hidden;
}
.image-block img {
width: 100%;
height: 100%;
border-radius: 10px;
}
.view-img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
right: 0;
border-radius: 10px;
}
/* .image-block div:hover img {
transform: scale(1.2);
} */
.view-img:hover {
background: url("assets/images/icon-view.svg") rgba(0, 255, 247, 0.5) no-repeat center;
cursor: pointer;
}
h1 {
color: hsl(0, 0%, 100%);
font-size: 1.3rem;
text-align: start;
margin: 1.5rem 0 1rem 0;
font-weight: bolder;
}
h1:hover {
color: hsl(178, 100%, 50%);
cursor: pointer;
}
.first-p {
color: hsl(215, 51%, 70%);
margin: 1rem 0;
line-height: 1.5;
font-size: 0.9rem;
}
.inner-block-content {
display: flex;
justify-content: space-between;
margin: 0.5rem;
}
.inner-1,
.inner-2 {
color: hsl(215, 51%, 70%);
display: flex;
align-items: center;
font-weight: 600;
}
.inner-1 {
color: hsl(178, 100%, 50%);
}
.inner-block-content img {
margin-right: 5px;
}
hr {
background-color: hsl(215, 51%, 70%);
border: none;
height: 1px;
margin: 1rem 0;
}
.avtar-block {
display: flex;
justify-content: space-evenly;
align-items: center;
}
.avtar-block img {
width: 35px;
border: 2px solid hsl(0, 0%, 100%);
border-radius: 50px;
}
.avtar-p {
color: hsl(215, 51%, 70%);
}
.avtar-p span {
color: hsl(0, 0%, 100%);
}
.avtar-p span:hover {
color: hsl(178, 100%, 50%);
cursor: pointer;
}