forked from Drive-for-Java/Drive-for-java.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
144 lines (125 loc) · 2.33 KB
/
style.css
File metadata and controls
144 lines (125 loc) · 2.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
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
143
144
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.7;
color: #fff;
overflow-x: hidden;
}
/* Hero Section */
#hero {
position: relative;
height: 100vh;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
/* Rainbow Gradient Animation */
#hero::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(270deg, #ff6ec7, #ffa500, #00ffff, #7fff00, #ff4500);
background-size: 1000% 1000%;
animation: rainbow 20s ease infinite;
z-index: 0;
}
@keyframes rainbow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Particles Canvas */
#particles-js {
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}
/* Hero Content */
.hero-content {
position: relative;
z-index: 2;
color: #fff;
}
.logo {
width: 120px;
margin-bottom: 20px;
border-radius: 50%;
box-shadow: 0 0 15px rgba(255,255,255,0.7);
}
h1 {
font-size: 3rem;
margin-bottom: 10px;
}
.tagline {
font-size: 1.2rem;
margin-bottom: 20px;
}
.cta-btn {
display: inline-block;
padding: 12px 24px;
background: #000;
color: #fff;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
transition: 0.3s ease;
}
.cta-btn:hover {
background: #fff;
color: #000;
}
/* Sections */
section {
padding: 60px 20px;
text-align: center;
position: relative;
animation: calmBG 25s ease infinite;
background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #1e3c72);
background-size: 400% 400%;
}
@keyframes calmBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
section h2 {
font-size: 2rem;
margin-bottom: 20px;
}
section p {
max-width: 800px;
margin: 0 auto 20px auto;
font-size: 1.05rem;
}
/* Lists in Code of Conduct */
ul {
max-width: 700px;
margin: 20px auto;
text-align: left;
list-style-type: square;
}
ul li {
margin-bottom: 10px;
}
/* Invitation Avatar */
#invite img {
border-radius: 50%;
border: 2px solid #fff;
margin-bottom: 10px;
}
/* Footer */
footer {
padding: 20px;
text-align: center;
background: #111;
font-size: 0.9rem;
color: #bbb;
}