-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
150 lines (129 loc) · 3.25 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;700&display=swap'); /* Import Libre Franklin */
body {
font-family: 'Avenir Next', sans-serif;
margin: 0;
padding: 0;
align-items: center;
background: #f4f4f4;
}
.main-title {
text-align: center;
font-size: 60px;
font-weight: 300; /* Thinner font weight */
color: white;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
margin: 20px 0;
}
.description {
text-align: center;
font-size: 20px; /* Slightly smaller than main title */
font-weight: 300; /* Thinner font weight */
color: #333;
margin: 10px 20px;
}
.collage {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding-bottom: 40px; /* Add padding to the bottom */
}
.image-section {
text-align: center;
flex: 1 1 calc(45% - 40px); /* Adjusted width minus margin */
max-width: calc(45% - 40px); /* Adjust width to ensure they fit within the page */
}
.sub-title {
font-size: 40px; /* Larger font size for clarity */
font-weight: 300; /* Thinner font weight */
color: #333; /* Darker font color */
margin-bottom: 10px;
text-align: center;
text-shadow: none; /* Remove the text shadow for a clean look */
}
.collage-item {
background-size: cover;
background-position: center;
width: 100%;
height: 200px; /* Adjust based on the image's aspect ratio */
cursor: pointer;
position: relative;
display: block;
}
.overlay-text {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
text-align: left;
color: white;
background-color: rgba(0, 0, 0, 0.5);
padding: 5px;
}
.image-container {
margin-top: 0;
position: relative;
max-width: 80%; /* This will make the image container fill 80% of the page width */
margin: 20px auto; /* This centers the container horizontally and adds space above it */
height: auto; /* Maintains aspect ratio of the content */
display: flex;
justify-content: center;
align-items: center;
}
.image-container img {
max-width: 100%; /* Make the image responsive */
height: auto; /* Maintain aspect ratio */
}
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
}
#overlay, #overlay-mugshots, #overlay-festons {
display: grid;
}
#overlay {
grid-template-columns: repeat(10, 1fr);
grid-template-rows: repeat(10, 1fr);
}
#overlay-mugshots {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
}
#overlay-festons {
grid-template-columns: repeat(20, 1fr);
grid-template-rows: repeat(7, 1fr);
}
.clickable-area {
cursor: pointer;
border: 1px solid black; /* Ensure borders are visible */
box-sizing: border-box;
pointer-events: all;
}
.clickable-area:hover {
background-color: rgba(244, 55, 13, 0.5); /* Red with 50% opacity */
}
/* New styles for the mugshots section */
.image-container-mugshots {
margin-top: 0;
position: relative;
width: 80%;
margin: 20px auto;
height: auto;
display: flex;
justify-content: center;
align-items: center;
}
.image-container-mugshots img {
width: 100%;
height: auto;
object-fit: cover; /* Ensures the image covers the container without being cut off */
object-position: center; /* Center the image within the container */
}