forked from bostongfx/CS460student_2024
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (65 loc) · 1.27 KB
/
style.css
File metadata and controls
67 lines (65 loc) · 1.27 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
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
text-align: center;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
header {
padding: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
font-size: 32px;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
main {
padding: 20px;
}
.card-container {
display: flex;
gap: 20px;
flex-wrap: wrap;
justify-content: center;
}
.card {
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 250px;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.card h3 {
margin-top: 0;
}
.card a {
display: block;
margin: 10px 0;
text-decoration: none;
color: #51ff00;
font-size: 16px;
font-weight: 500;
}
.card a:hover {
text-decoration: underline;
}
.card img {
height: 9rem;
border-radius: 8px;
}
a {
color: #51ff00;
text-decoration: none;
}