This repository was archived by the owner on Mar 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (72 loc) · 1.36 KB
/
style.css
File metadata and controls
82 lines (72 loc) · 1.36 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
padding: 1rem 0;
text-align: center;
opacity: 0;
transition: opacity 1s ease-in;
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 1rem;
animation: slideIn 1s ease-in-out;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
nav ul li a:hover {
color: #ff6347;
}
section {
padding: 2rem;
margin: 1rem;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
opacity: 0;
transition: opacity 1.5s ease-in-out;
}
footer {
text-align: center;
background-color: #333;
color: #fff;
padding: 1rem 0;
position: fixed;
width: 100%;
bottom: 0;
opacity: 0;
transition: opacity 1s ease-in;
}
section.visible, header.visible, footer.visible {
opacity: 1;
}
@keyframes slideIn {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}