-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (78 loc) · 1.28 KB
/
Copy pathstyle.css
File metadata and controls
91 lines (78 loc) · 1.28 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
body {
background-color: #0f0f0f;
color: #f5f5f5;
text-align: center;
font-family: Arial, sans-serif;
}
.navbar {
display: flex;
flex-wrap: wrap;
gap: 12px 24px;
padding: 16px 20px;
background-color: #111;
}
.navbar a {
color: #f5f5f5;
text-decoration: none;
font-weight: 600;
}
.navbar a:hover {
opacity: 0.7;
color: #4da3ff;
}
.navbar a.active {
color: #4da3ff;
}
.hero {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin: 50px auto;
padding: 0 20px;
max-width: 720px;
gap: 16px;
}
.hero .avatar {
width: clamp(120px, 30vw, 200px);
height: clamp(120px, 30vw, 200px);
border-radius: 50%;
overflow: hidden;
margin-bottom: 10px;
}
.hero .avatar img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
transform: scale(1.5);
transform-origin: center top;
}
h1 {
font-size: clamp(26px, 6vw, 48px);
margin-bottom: 20px;
}
p {
font-size: clamp(15px, 2.5vw, 20px);
margin: 8px 0;
line-height: 1.6;
max-width: 600px;
}
a {
color: #f43535;
}
@media (max-width: 480px) {
.navbar {
gap: 10px 16px;
padding: 12px 16px;
}
.hero {
margin-top: 32px;
}
}