-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshared.css
More file actions
125 lines (114 loc) · 2.51 KB
/
shared.css
File metadata and controls
125 lines (114 loc) · 2.51 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
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
body {
font-family: "DM Sans", sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
min-height: 100vh;
background: url(/assets/tile.png), linear-gradient(150deg, rgb(248, 248, 248) 0%, #e1e1e1 100%);
opacity: 0;
animation: fadeIn 0.5s forwards; /* Add fade-in animation */
}
/* Animation to make the page fade in */
@keyframes fadeIn {
to {
opacity: 1;
}
}
.prilogo {
display: block;
margin: 20px auto;
width: 90px;
transition: transform 0.3s ease; /* Smooth hover effect */
}
.logo {
display: block;
margin: 20px auto;
width: 350px;
transition: transform 0.3s ease; /* Smooth hover effect */
}
.logo:hover {
transform: scale(1.1); /* Slightly increase logo size on hover */
}
.station {
display: flex;
align-items: center;
margin-bottom: 45px;
position: relative;
opacity: 0;
animation: fadeIn 1s forwards;
animation-delay: 0.5s; /* Delay fade-in for each station */
}
.station::before {
content: "";
width: 24px;
height: 24px;
border: 6px solid black;
border-radius: 50%;
background-color: white;
position: absolute;
left: 51px;
transform: translateX(-50%);
z-index: 1;
transition: transform 0.3s ease;
}
.station a {
text-decoration: none;
color: darkblue;
font-weight: 500;
font-size: 1.5em;
margin-left: 90px;
transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}
.stations-container {
position: relative;
opacity: 0;
animation: fadeIn 1s forwards;
animation-delay: 0.5s; /* Delay fade-in for the whole container */
padding-bottom: 60px; /* Make space for the footer */
}
footer {
width: 100%;
color: white;
text-align: center;
padding: 10px 0;
font-size: 1em;
opacity: 0;
animation: fadeIn 1s forwards;
animation-delay: 0.5s; /* Delay fade-in for the footer */
position: fixed;
bottom: 0;
left: 0;
z-index: 10;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
body {
font-size: 1.2em;
}
.station a {
font-size: 1.2em;
}
}
/* Sticky logo styling */
.sticky-logo {
position: fixed;
top: 20px;
left: 20px;
width: 60px; /* Default logo size */
transition: transform 0.3s ease, width 0.3s ease; /* Smooth transitions for scaling and enlarging */
z-index: 100; /* Ensure it stays on top */
}
.sticky-logo:hover {
transform: scale(1.2) translateX(5px); /* Slightly enlarge and move to the right */
}
.subline{
font-size:0.7em;
text-decoration: none;
color: #353535;
}
p{
color: #353535;
}