-
Notifications
You must be signed in to change notification settings - Fork 0
/
landing_page.css
106 lines (93 loc) · 2.28 KB
/
landing_page.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
/* General Page Styling */
body {
font-family: 'Avenir', sans-serif;
background-color: #fefdfb;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
color: #001f3f;
}
header {
text-align: center;
padding: 20px;
width: 100%;
}
header h1 {
font-size: 2em;
margin: 0;
font-weight: 400;
}
/* SVG and Curve Container Styling */
.curve-container {
position: relative;
width: 90%;
max-width: 1000px;
margin-top: 10px; /* Reduced spacing to bring the header closer to the SVG */
margin-bottom: 20px;
}
svg {
width: 100%;
height: auto;
}
.line {
stroke: #001f3f;
stroke-width: 1;
}
.line-text {
font-size: 14px;
fill: #001f3f;
text-anchor: middle;
cursor: pointer;
position: relative;
z-index: 1100; /* Higher than collage-container */
}
/* Introduction and Conclusion Links Styling */
.intro-link,
.conclusion-link {
position: absolute; /* Allows you to place them anywhere relative to the container */
font-size: 1em;
text-decoration: none;
color: #001f3f;
font-weight: bold;
}
.intro-link {
left: 8px; /* Adjust this value to move horizontally to the left or right */
bottom: 30px; /* Adjust this value to move vertically closer or further below the red line */
}
.conclusion-link {
right: 8px; /* Adjust this value to move horizontally to the left or right */
bottom: 30px; /* Adjust this value to move vertically closer or further below the red line */
}
/* Collage Container Styling */
.collage-container {
position: absolute;
top: calc(100px + 2em); /* Adjust to position below the main heading */
left: 50%;
transform: translateX(-50%);
width: 600px;
max-width: 90%;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 3px;
display: none;
flex-wrap: wrap;
justify-content: center;
align-items: center;
z-index: 1000;
pointer-events: none; /* Prevents the container from intercepting mouse events */
}
.collage-container img {
width: 300px;
height: 300px;
object-fit: cover;
cursor: pointer;
border: none;
margin: 0;
padding: 0;
pointer-events: auto; /* Allows clicking on images */
}
.collage-container.four-image img {
width: 50%;
height: 50%;
}