-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathResources.css
91 lines (77 loc) · 1.5 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Josefin Sans", sans-serif;
background-color: #f0f0f0;
}
.nav {
background-color: #ffebcc;
display: flex;
justify-content: center;
align-items: center;
height: 10vh;
}
.text {
color: #333;
font-weight: bold;
font-size: 2rem;
text-align: center;
}
.main {
padding: 20px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
}
.resource-box {
background-color: white;
border-radius: 8px;
padding: 20px;
width: 300px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-box h2 {
font-size: 1.5rem;
color: #333;
margin-bottom: 10px;
}
.resource-box p {
color: #666;
font-size: 1rem;
margin-top:9px;
}
.resource-box a {
display: inline-block;
margin-top: 10px;
padding: 8px 12px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
font-size: 1rem;
transition: background-color 0.3s ease;
}
.resource-box a:hover {
background-color: #0056b3;
}
.resource-box:hover {
transform: translateY(-10px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* Responsive styling */
@media (max-width: 768px) {
.main {
flex-direction: column;
align-items: center;
}
.resource-box {
width: 100%;
max-width: 400px;
}
}