-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (88 loc) · 1.59 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
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background: #f4f4f4;
color: #333;
}
header {
background: #333;
color: #fff;
padding: 1rem 0;
}
nav ul {
list-style: none;
text-align: center;
}
nav ul li {
display: inline;
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1.2rem;
}
#hero {
background: url('background.jpg') no-repeat center center/cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
text-align: center;
animation: fadeIn 2s ease-in;
}
#hero img {
border-radius: 50%;
width: 150px;
height: 150px;
margin-bottom: 20px;
animation: bounceIn 1.5s;
}
#hero h1 {
font-size: 3rem;
margin-bottom: 10px;
}
#hero p {
font-size: 1.2rem;
}
section {
padding: 2rem;
background: #fff;
margin: 1rem 0;
animation: slideUp 1s ease-in-out;
}
section h2 {
text-align: center;
margin-bottom: 1rem;
color: #333;
}
section p, section ul {
text-align: center;
margin: 0 auto;
max-width: 800px;
}
footer {
text-align: center;
padding: 1rem 0;
background: #333;
color: #fff;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes bounceIn {
from { transform: scale(0.5); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(50px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}