-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (101 loc) · 1.91 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
.center {
margin: auto;
width: 50%;
}
.bigtitle {
font-size: 400%;
font-family: sans-serif;
color: rgb(255, 255, 255);
text-align: center;
}
@keyframes smooth-scroll-right {
from {
transform: translateX(0);
}
to {
transform: translateX(33dvw);
}
}
.bridge-header {
width: 33dvw;
position: relative;
animation: smooth-scroll-right 24s linear 0s infinite forwards;
}
.header {
font-size: 200%;
font-family: Sans-Serif;
color: black;
}
.normtext {
font-family: Sans-Serif;
color: black;
}
.box {
width: 90%;
height: 90%;
padding: 10px;
border: 5px white;
margin: auto;
background-color: white;
}
.teambox {
width: 100%;
height: 90%;
margin: auto;
position: relative; /* Required for the pseudo-element to overlay */
overflow: hidden; /* Ensures the pseudo-element stays within bounds */
}
.team-header {
text-align: center;
width: 100%;
}
.spacer {
height: 100px;
}
.teambox::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("https://i.ibb.co/dcDBQXV/image.png");
background-size: cover;
background-position: center;
opacity: 0.5; /* Controls only the background image opacity */
}
.firstbox {
width: 100%;
height: 90%;
margin: auto;
position: relative; /* Required for the pseudo-element to overlay */
overflow: hidden; /* Ensures the pseudo-element stays within bounds */
}
.spacer {
height: 150px;
}
.firstbox::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("https://i.ibb.co/FwkgXJ9/IMG-4290-1.jpg");
background-size: cover;
background-position: center;
opacity: 0.5; /* Controls only the background image opacity */
}
.outimage {
width: 250px;
height: 200px;
object-fit: contain;
margin: auto;
}
.inimage {
width: 250px;
height: 200px;
object-fit: contain;
margin: auto;
display: inline-block;
}