-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (75 loc) · 1.33 KB
/
style.css
File metadata and controls
89 lines (75 loc) · 1.33 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
body {
font-family: Comic Sans MS, sans-serif;
color: #333;
background: linear-gradient(blue , gray);
text-align: center;
}
header {
text-align: center;
padding: 60px 20px;
color: white;
}
.profile-img {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
border: 4px solid white;
margin-bottom: 20px;
}
header h1 {
font-size: 3rem;
margin-bottom: 10px;
}
.name {
font-weight: bold;
}
.subtitle {
font-size: 1.2rem;
}
section {
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
background: white;
margin-bottom: 20px;
border-radius: 15px;
}
section h2 {
text-align: center;
margin-bottom: 30px;
color: #333;
font-size: 2rem;
}
.about p {
text-align: center;
font-size: 1.1rem;
color: #666;
}
.course-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.course-card {
background: #f8f9fa;
padding: 25px;
border-radius: 10px;
text-align: center;
transition: transform 0.3s ease;
}
.course-card:hover {
transform: translateY(-5px);
}
.course-card h3 {
color: #667eea;
margin-bottom: 10px;
}
.social-links {
display: flex;
justify-content: center;
gap: 30px;
}
.social-links a:hover {
transform: scale(1.2);
}