-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfall.css
More file actions
142 lines (124 loc) · 2.58 KB
/
Copy pathfall.css
File metadata and controls
142 lines (124 loc) · 2.58 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* General Styles for Fall Theme */
body {
background: linear-gradient(to bottom, #ffebc6, #ffad33);
color: #333;
font-family: 'Arial', sans-serif;
overflow-x: hidden;
margin: 0;
padding: 0;
}
/* Navbar Styling */
nav {
background-color: #d35400;
padding: 10px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 20px;
}
nav ul li {
display: inline;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 1.2rem;
padding: 10px 20px;
border-radius: 5px;
transition: background 0.3s;
}
nav ul li a:hover {
background-color: #e67e22;
}
/* Container Styling */
.container {
text-align: center;
padding: 30px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin: 20px auto;
max-width: 800px;
}
/* Title Styling */
.title-container h1, .title-container h2 {
margin: 0;
font-size: 2rem;
text-transform: uppercase;
color: #d35400;
}
/* Button Styling */
.button, .btn {
background-color: #d35400;
color: white;
border: none;
padding: 10px 20px;
font-size: 1rem;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.button:hover, .btn:hover {
background-color: #e67e22;
}
/* Form Element Styling */
input[type="text"], input[type="email"] {
width: calc(100% - 40px);
padding: 10px;
margin: 10px 0;
border: 1px solid #d35400;
border-radius: 5px;
font-size: 1rem;
color: #333;
}
input[type="checkbox"] {
margin-right: 10px;
}
/* Snowflake and Leaf Animations */
@keyframes leaves {
0% {
transform: translateY(0) rotate(0deg);
}
100% {
transform: translateY(100vh) rotate(360deg);
}
}
.leaf {
font-size: 2em;
position: fixed;
top: -10%;
z-index: 9999;
user-select: none;
pointer-events: none;
animation: leaves 12s linear infinite;
}
.leaf:nth-child(odd) {
animation-duration: 10s;
}
.leaf:nth-child(even) {
animation-duration: 14s;
}
/* Distribute Leaves Randomly */
.leaf {
left: calc(var(--i) * 10%);
--i: 1;
}
.leaf:nth-child(1) { --i: 1; }
.leaf:nth-child(2) { --i: 2; }
.leaf:nth-child(3) { --i: 3; }
.leaf:nth-child(4) { --i: 4; }
.leaf:nth-child(5) { --i: 5; }
.leaf:nth-child(6) { --i: 6; }
.leaf:nth-child(7) { --i: 7; }
.leaf:nth-child(8) { --i: 8; }
.leaf:nth-child(9) { --i: 9; }
.leaf:nth-child(10) { --i: 10; }
/* Hide icons by default */
.leaf {
display: none;
}