Skip to content

Commit 965ad46

Browse files
committed
feat: style updates
1 parent 9390da9 commit 965ad46

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

demos/src/pages/three/fishes.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ import Layout from "../../layouts/Layout.astro";
8383
positionsBufferA[i + 2] = BOUNDS * 4.8;
8484
} else {
8585
positionsBufferA[i + 0] = BOUNDS * 2;
86-
positionsBufferA[i + 1] = BOUNDS / 2;
87-
positionsBufferA[i + 2] = BOUNDS / 2;
86+
positionsBufferA[i + 1] = BOUNDS / 4;
87+
positionsBufferA[i + 2] = BOUNDS / 4;
8888
}
8989
}
9090
let positionsBufferB = new Float32Array(MAX_COUNT * 3);

slides/pages/2-webgl.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,9 @@ layout: center
394394
</div>
395395

396396
---
397-
layout: center
397+
layout: default
398398
---
399399

400400
# Can I Use ? No.
401401

402402
<img src="/caniuse.png" alt="WebGPU support" />
403-
<span v-click class="absolute right-20 top-20 text-5xl">😎</span>

slides/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
}
4040

4141
h1 {
42-
font-weight: bold;
42+
.slidev-layout & {
43+
font-weight: 500;
44+
}
4345

4446
.gl {
4547
color: #990001;

0 commit comments

Comments
 (0)