-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (97 loc) · 2.03 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
body {
display: flex;
flex-direction: column;
align-items: center;
background-color: #be1e36
}
canvas {
border: 10px solid #000;
z-index: 2;
}
@keyframes float {
0% { transform: translate(0, 0); }
50% { transform: translate(20px, 20px); }
100% { transform: translate(0, 0); }
}
#whiteblood-cell {
animation: float 2s ease-in-out infinite;
}
#virus {
animation: float 2s ease-in-out infinite;
animation-delay: 1s; /* Delay the start of the animation by 1 second */
}
h1 {
font-family: 'Arial', sans-serif;
font-size: 6em !important;
color: #ffffff;
text-shadow: 2px 2px 4px #000;
text-transform: uppercase;
letter-spacing: 3px;
text-align: center;
margin-top: 50px;
}
.whiteblood-cell1 {
position: fixed;
right: 10vw;
top: 40vh;
transform: translateY(-50%);
max-width: 40vw;
max-height: 40vh;
width: 10%;
height: auto;
z-index: 1;
}
.virus {
position: fixed;
left: 10vw;
top: 50vh;
transform: translateY(-50%);
max-width: 40vw;
max-height: 40vh;
width: 10%;
height: auto;
z-index: 1;
}
.github-link img{
width: 300px;
height: 300px;
animation: float 5s ease-in-out infinite;
position: fixed;
right: 15vw;
top: 75vh;
transform: translateY(-50%);
max-width: 40vw;
max-height: 40vh;
z-index: 1;
}
.whiteblood-cell-chase {
position: fixed;
right: 10vw;
top: 10vh;
transform: translateY(-50%);
max-width: 10vw;
max-height: 10vh;
width: 1%;
height: auto;
z-index: 1;
pointer-events: none;
}
.floating-text-box {
position: fixed;
left: 7%;
top: 37%;
transform: translateY(-50%);
background-color: white;
border: 3px solid red;
padding: 10px;
z-index: 2;
font-size: 3em !important;
border-style: dashed;
}
.title-bar {
background-color: #a9161d; /* replace with your desired color */
width: 100%;
text-align: center;
padding: 10px 0; /* adjust as needed */
border: 3px solid #be1e36
}