-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
110 lines (93 loc) · 2.31 KB
/
Copy pathstyle.css
File metadata and controls
110 lines (93 loc) · 2.31 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
/* From Uiverse.io by andrew-demchenk0 */
.card {
--main-color: #f7f7f7;
--submain-color: #ffffff;
--bg-color: #000;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
position: relative;
width: 300px;
height: 340px;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 20px;
background: var(--bg-color);
}
.card__img {
height: 192px;
width: 100%;
border-radius: 20px;
}
.card__img svg {
height: 100%;
border-radius: 20px 20px 0 0;
}
.card__avatar {
position: absolute;
width: 114px;
height: 114px;
display: flex;
justify-content: center;
align-items: center;
top: calc(34% - 57px);
}
.card__avatar svg {
width: 100px;
height: 100px;
}
.card__avatar img {
width: 100px; /* Breite des Bildes */
height: 100px; /* Höhe des Bildes */
border-radius: 50%; /* Macht das Bild rund */
object-fit: cover; /* Passt das Bild an die Boxgröße an */
}
.card__img {
width: 100%;
max-width: 1920px; /* Sets the maximum width to 1920px */
height: auto; /* Allows the height to adjust based on the image aspect ratio */
overflow: hidden; /* Ensures the content doesn't overflow */
position: relative; /* Useful for additional positioning */
}
.card__img img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the entire area without distortion */
}
.card__title {
margin-top: 60px;
font-weight: 500;
font-size: 18px;
color: var(--main-color);
}
.card__subtitle {
margin-top: 10px;
font-weight: 400;
font-size: 15px;
text-align: center;
color: var(--submain-color);
}
.card__btn {
margin-top: 15px;
width: 76px;
height: 31px;
border: 2px solid var(--main-color);
border-radius: 4px;
font-weight: 700;
font-size: 11px;
color: var(--main-color);
background: var(--bg-color);
text-transform: uppercase;
transition: all 0.3s;
}
.card__btn-solid {
background: var(--main-color);
color: var(--bg-color);
}
.card__btn:hover {
background: var(--main-color);
color: var(--bg-color);
}
.card__btn-solid:hover {
background: var(--bg-color);
color: var(--main-color);
}