-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (79 loc) · 1.67 KB
/
styles.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
/* Base Styles */
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: var(--basalfont), Arial, sans-serif;
transition: background-color 0.3s, color 0.3s;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-color: blanchedalmond;
background-attachment: fixed;
}
/* Ensure the body behaves like a flex container */
body {
display: flex;
flex-direction: column;
justify-content: space-between;
}
/* Main content area should take up remaining space */
main {
flex: 1;
}
/* Header */
header {
color: var(--primary);
padding: 20px;
text-align: center;
transition: color 0.3s;
}
/* Links Section */
.links-section {
display: flex;
justify-content: left;
gap: 100px;
padding: 40px;
text-align: center;
margin: auto;
}
.links-section a {
flex-shrink: 0;
margin: 0 40px;
}
.links-section img {
border-radius: 20px;
width: 200px;
height: 300px;
object-fit: cover;
transition: transform 0.3s ease;
opacity: 0.75;
}
.links-section img:hover {
transform: scale(1.2);
box-shadow: 10px 10px 10px whitesmoke;
}
/* Responsive Design for Small Screens */
@media (max-width: 63.9375rem) {
.links-section {
flex-direction: column;
gap: 10px;
padding: 20px;
max-width: 50vw;
justify-content: center;
margin: auto;
}
.links-section img {
width: 100%;
height: auto;
max-width: 100%;
}
}
/* Responsive Design for Tablets */
@media (min-width: 64rem) {
.links-section {
display: flex;
gap: 10px;
padding: 20px;
}
}