forked from ML-Fusion-Lab/ML-Fusion-Lab-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.css
172 lines (147 loc) · 2.7 KB
/
resources.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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
color: #333;
}
header {
background-color: #f8f9fa;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
header .logo {
margin: 0;
}
nav {
position: relative;
}
nav ul {
list-style: none;
padding: 0;
display: flex;
margin: 0;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
text-decoration: none;
color: #333;
}
nav ul li a:hover {
color: #007BFF;
}
.hamburger {
display: none;
}
.resources {
padding: 40px 20px;
text-align: center;
}
.resources h2 {
font-size: 2.5em;
margin-bottom: 20px;
}
.resources p {
font-size: 1.2em;
margin-bottom: 30px;
}
.resource-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin: 20px 0;
}
.resource-section {
width: 30%;
margin: 10px;
}
.resource-section h3 {
font-size: 1.5em;
margin-bottom: 20px;
}
.resource-block {
display: flex;
flex-direction: column;
gap: 20px;
}
.resource-item {
background: linear-gradient(45deg, #f4f5d3, #474c68);
border-radius: 8px;
padding: 20px;
text-align: center;
transition: transform 0.3s;
}
.resource-item:hover {
transform: scale(1.05);
}
.resource-item img {
width: 100%;
height: auto;
aspect-ratio: 3/2;
border-radius: 5px;
object-fit: cover;
margin-top: 5%;
margin-bottom: 10%;
}
.name{
font-size: 1.6em;
color: #0e2904;
}
footer {
background-color: #222;
color: white;
text-align: center;
padding: 20px;
position: relative; /* Ensure it stays at the bottom */
margin: 0; /* Set margin to 0 */
}
.footer-socials,
.footer-contact,
.footer-links {
margin: 10px 0;
}
.footer-links a {
color: #fff;
text-decoration: none;
}
.footer-links a:hover {
text-decoration: underline;
}
#scrollTopBtn {
display: none;
position: fixed;
bottom: 30px;
right: 30px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
padding: 10px;
cursor: pointer;
z-index: 1000;
}
#scrollTopBtn:hover {
background-color: #0056b3;
}
/* css for mouse cursor trail effect */
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(70, 130, 180, 0.3),skyblue, rgba(0, 0, 50, 0.3),white);
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999; /* removed the non-breaking space ( ) */
}