-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathresource.css
More file actions
104 lines (89 loc) · 1.94 KB
/
resource.css
File metadata and controls
104 lines (89 loc) · 1.94 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
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #f5f7fa;
color: #333;
}
/* 🌍 Resources Section */
.resources {
padding: 40px;
text-align: center;
}
.resources h2 {
font-size: 32px;
margin-bottom: 20px;
color: #333;
}
.resources p {
font-size: 18px;
margin-bottom: 40px;
color: #666;
}
/* Individual Resource Section */
.resource-section {
padding: 60px 20px;
display: flex;
justify-content: space-between;
align-items: center;
background-size: cover;
background-position: center;
color: white;
border-radius: 12px;
margin-bottom: 40px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-section img {
width: 50%;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.resource-section-content {
width: 45%;
text-align: left;
}
.resource-section h3 {
font-size: 28px;
color: white;
margin-bottom: 20px;
}
.resource-section p {
font-size: 18px;
color: white;
margin-bottom: 20px;
}
.resource-section a {
background: #007BFF;
color: white;
padding: 12px 25px;
border-radius: 8px;
text-decoration: none;
font-size: 16px;
transition: background 0.3s ease;
}
.resource-section a:hover {
background: #0056b3;
}
/* Hover Effects for Section */
.resource-section:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* 🔄 Responsive Design */
@media (max-width: 768px) {
.resources {
padding: 20px;
}
.resource-section {
flex-direction: column;
text-align: center;
}
.resource-section img {
width: 100%;
margin-bottom: 20px;
}
.resource-section-content {
width: 100%;
}
}