Skip to content

Commit ec73040

Browse files
update titles of projects and css for hex shell examples
1 parent d3746fc commit ec73040

3 files changed

Lines changed: 64 additions & 63 deletions

File tree

examples/vite/babylonjs/hex-shell/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Bitbybit & ThreeJS All Kernels Example</title>
7+
<title>Bitbybit & BabylonJS Hex Shell Example</title>
88
</head>
99
<body>
1010
<a
Lines changed: 62 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,104 @@
11
body {
2-
margin: 0px;
3-
overflow: hidden;
2+
margin: 0px;
3+
overflow: hidden;
44
}
55

66
#babylon-canvas {
7-
width: 100%;
8-
height: 100%;
9-
overflow: hidden;
10-
position: absolute;
11-
outline: none;
7+
width: 100%;
8+
height: 100%;
9+
overflow: hidden;
10+
position: absolute;
11+
outline: none;
1212
}
1313

1414
a.logo {
15-
position: absolute;
16-
color: white;
17-
vertical-align: middle;
18-
bottom: 10px;
19-
left: 10px;
20-
font-family: 'Courier New', Courier, monospace;
21-
text-decoration: none;
22-
width: 100%;
15+
z-index: 1;
16+
position: absolute;
17+
color: white;
18+
vertical-align: middle;
19+
bottom: 10px;
20+
left: 10px;
21+
font-family: 'Courier New', Courier, monospace;
22+
text-decoration: none;
23+
width: 100%;
2324
}
2425

2526
.logo {
26-
margin-bottom: 20px;
27-
text-align: center;
27+
margin-bottom: 20px;
28+
text-align: center;
2829
}
2930

3031
.logo img {
31-
width: 50px;
32-
height: 50px;
32+
width: 50px;
33+
height: 50px;
3334
}
3435

3536
.lds-ellipsis {
36-
z-index: 2;
37-
top: calc(50% - 32px);
38-
left: calc(50% - 32px);
39-
display: inline-block;
40-
position: absolute;
41-
width: 64px;
42-
height: 64px;
37+
z-index: 2;
38+
top: calc(50% - 32px);
39+
left: calc(50% - 32px);
40+
display: inline-block;
41+
position: absolute;
42+
width: 64px;
43+
height: 64px;
4344
}
4445

4546
.lds-ellipsis div {
46-
position: absolute;
47-
top: 27px;
48-
width: 11px;
49-
height: 11px;
50-
border-radius: 50%;
51-
background: rgba(255, 255, 255, 0.8);
52-
animation-timing-function: cubic-bezier(0, 1, 1, 0);
47+
position: absolute;
48+
top: 27px;
49+
width: 11px;
50+
height: 11px;
51+
border-radius: 50%;
52+
background: rgba(255, 255, 255, 0.8);
53+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
5354
}
5455

5556
.lds-ellipsis div:nth-child(1) {
56-
left: 6px;
57-
animation: lds-ellipsis1 0.6s infinite;
57+
left: 6px;
58+
animation: lds-ellipsis1 0.6s infinite;
5859
}
5960

6061
.lds-ellipsis div:nth-child(2) {
61-
left: 6px;
62-
animation: lds-ellipsis2 0.6s infinite;
62+
left: 6px;
63+
animation: lds-ellipsis2 0.6s infinite;
6364
}
6465

6566
.lds-ellipsis div:nth-child(3) {
66-
left: 26px;
67-
animation: lds-ellipsis2 0.6s infinite;
67+
left: 26px;
68+
animation: lds-ellipsis2 0.6s infinite;
6869
}
6970

7071
.lds-ellipsis div:nth-child(4) {
71-
left: 45px;
72-
animation: lds-ellipsis3 0.6s infinite;
72+
left: 45px;
73+
animation: lds-ellipsis3 0.6s infinite;
7374
}
7475

7576
@keyframes lds-ellipsis1 {
76-
0% {
77-
transform: scale(0);
78-
}
77+
0% {
78+
transform: scale(0);
79+
}
7980

80-
100% {
81-
transform: scale(1);
82-
}
81+
100% {
82+
transform: scale(1);
83+
}
8384
}
8485

8586
@keyframes lds-ellipsis3 {
86-
0% {
87-
transform: scale(1);
88-
}
87+
0% {
88+
transform: scale(1);
89+
}
8990

90-
100% {
91-
transform: scale(0);
92-
}
91+
100% {
92+
transform: scale(0);
93+
}
9394
}
9495

9596
@keyframes lds-ellipsis2 {
96-
0% {
97-
transform: translate(0, 0);
98-
}
99-
100-
100% {
101-
transform: translate(19px, 0);
102-
}
103-
}
97+
0% {
98+
transform: translate(0, 0);
99+
}
100+
101+
100% {
102+
transform: translate(19px, 0);
103+
}
104+
}

examples/vite/threejs/hex-shell/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Bitbybit & ThreeJS All Kernels Example</title>
7+
<title>Bitbybit & ThreeJS Hex Shell Example</title>
88
</head>
99
<body>
1010
<a

0 commit comments

Comments
 (0)