-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
234 lines (198 loc) · 4.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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
body{
position: absolute;
font-family: 'Courier New', Courier, monospace;
overflow: hidden;
height: 100%;
font-family: Arial, sans-serif;
background: black; /* Background color */
overflow: hidden; /* Prevent body scrolling */
/* background-color:rgb(8, 0, 255); */
}
.canvas-container {
position: relative;
width: 40%;
height: 50%;
}
canvas {
width: 100%; /* Full width of the container */
height: 100%; /* Full height of the container */
display: block;
}
.navbar {
position: sticky;
z-index: 0; /* Ensures the navbar is above other content */
display: flex;
flex-direction: column;
background-color: #33333300; /* Change as needed */
padding: 10px;
height:30%;
color: white;
}
/* Each row of the navbar */
.nav-row {
display: flex;
justify-content: space-between; /* Distributes items */
align-items: center;
padding: 50px 5px;
z-index:0;
}
logo {
background-color: #ffffff00; /* Dark background */
align-items: flex-end; /* Vertically center items */
width: 100%;
z-index:0;
}
.logo {
position:absolute;
left: 50%;
transform: translateX(-50%);
/* Allow the left side to take up available space */
}
.logo a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
font-family: 'Courier New', Courier, monospace;
font-weight: 500;
font-size: 5em;
}
.logo a:hover {
color: rgb(255, 255, 255);
}
nav-center {
justify-content: space-between; /* Space items equally */
background-color: #ffffff00; /* Dark background */
align-items: flex-end; /* Vertically center items */
top: 0;
width: 100%;
z-index:0;
}
.nav-center {
position:absolute;
left: 50%;
transform: translateX(-50%);
}
.nav-center a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
font-family: 'Courier New', Courier, monospace;
font-weight: 500;
font-size: 1.2em;
padding: 5px 30px;
}
.nav-center a:hover {
color: rgb(255, 255, 255);
font-weight: 900;
font-size: 1.2em;
}
h1{
font-family: 'Courier New', Courier, monospace;
font-size: 3em;
/* padding: 40px; */
/* padding-bottom: 20; */
color: rgb(255, 255, 255);
/* top: 20px; */
right: 50px;
/* background-color:aqua; */
}
h2{
margin: 0; /* Reset the margin to remove any default spacing */
font-family: 'Courier New', Courier, monospace;
font-weight: 100;
text-align: left;
/* padding: 15px; */
color: white; /* Color of the title */
font-size: 2em; /* Font size */
text-shadow: 1px 1px 2px black; /* Optional shadow for better visibility */
}
h3{
font-family: 'Courier New', Courier, monospace;
font-weight: 100;
color: white;
font-size: 2em; /* Font size */
z-index: 0;
}
p{
font-family: 'Courier New', Courier, monospace;
color:white;
font-size: 1em;
}
p1{
font-family: 'Courier New', Courier, monospace;
color:white;
font-size: 1em;
font-weight: 900;
}
.link {
color: #ffffff; /* Link color */
text-decoration: none; /* Remove underline */
font-family: 'Courier New', Courier, monospace;
font-size: 1em;
font-weight: 500;
text-decoration: underline;
}
.link:hover {
text-decoration: underline; /* Underline on hover */
font-size: 1em;
font-weight: 500;
color: #ffffff; /* Change color on hover */
}
/* Outer scrollable container */
/* Styling for the outer scrollable container */
.outer-scrollable-container {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
display: flex;
/* left: 50%; */
flex-direction: column; /* Stack the items vertically */
height: 100%;
width: 100%;
overflow-y: auto; /* Allow scrolling */
z-index:0;
}
.top-image-container {
display: flex;
justify-content: center; /* Horizontally center the image */
align-items: center; /* Vertically center the image */
width: 100%;
height: 90vh;
}
.top-image-container img {
max-width: 25%; /* Ensure the image takes up no more than its container's width */
height: auto; /* Maintain aspect ratio */
object-fit: contain;
}
.side-image-container {
display: flex;
justify-content: right; /* Horizontally center the image */
align-items: center; /* Vertically center the image */
width: 50%;
height: 70vh;
margin-bottom: 20px;
}
.side-image-container img {
max-width: 50%; /* Ensure the image takes up no more than its container's width */
max-height: 80%; /* Maintain aspect ratio */
object-fit: scale-down;
}
/* Flex container for text and image side by side */
.content-container {
display: flex;
padding: 50px;
justify-content: space-between; /* Space components evenly */
}
/* Styling for text container */
.text-container {
flex: 1; /* Text takes up available space */
max-width: 30%; /* Limit text width to 50% */
left: 20%;
top: 0px;
}
/* Styling for text container */
.text-container-02 {
flex-wrap: wrap; /* Text takes up available space */
max-width: 20%; /* Limit text width to 50% */
left: 10%;
}
/* Styling for the image next to the text */