forked from CodeYouOrg/intro_final_f24
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
93 lines (80 loc) · 1.43 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
padding: 20px;
}
.container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
padding: 20px;
text-align: center;
}
header h1 {
font-size: 24px;
margin-bottom: 20px;
}
.bio-card {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
.photo img {
border-radius: 50%;
width: 150px;
height: 150px;
object-fit: cover;
margin-bottom: 15px;
}
.bio h2 {
font-size: 22px;
color: #333;
margin-bottom: 10px;
}
.bio p {
font-size: 16px;
color: #555;
line-height: 1.5;
}
.links {
display: flex;
justify-content: center;
gap: 15px;
}
.link-btn {
background-color: #229954;
color: white;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.link-btn:hover {
background-color: #0b5345;
}
/* Responsive Design */
@media (max-width: 500px) {
.bio-card {
flex-direction: column;
text-align: center;
}
.links {
flex-direction: column;
}
.link-btn {
width: 100%;
padding: 12px;
}
}