Skip to content

Commit 9ecb2a6

Browse files
committed
fix: correct body-type police and some page dispositions
1 parent 8f9a545 commit 9ecb2a6

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

website/js/body-types.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,14 +440,14 @@ import { AthleteRenderer } from "./AthleteRenderer.js";
440440
wrapper.appendChild(canvasWrap);
441441

442442
const width = canvasWrap.clientWidth || 1180;
443-
const height = 720;
443+
const height = 700;
444444

445445
const scene = new THREE.Scene();
446446
scene.background = null;
447447

448448
const camera = new THREE.PerspectiveCamera(42, width / height, 0.1, 200);
449-
camera.position.set(0, 13, 38);
450-
camera.lookAt(0, 7.8, 0);
449+
camera.position.set(0, 18, 38);
450+
camera.lookAt(0, 7, 0);
451451

452452
const renderer = new THREE.WebGLRenderer({
453453
antialias: true,

website/styles.css

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,16 @@ p {
9191
}
9292

9393
body,
94-
p {
94+
p,
95+
button,
96+
select,
97+
input,
98+
label {
9599
font-family: "Elms Sans", sans-serif;
100+
}
101+
102+
body,
103+
p {
96104
font-size: 24px;
97105
}
98106

@@ -753,7 +761,7 @@ p {
753761

754762
.bodytype-control label {
755763
color: rgba(255, 255, 255, 0.9);
756-
font-size: 14px;
764+
font-size: 18px;
757765
font-weight: 700;
758766
}
759767

@@ -762,8 +770,8 @@ p {
762770
color: #111;
763771
border: 3px solid #333;
764772
border-radius: 12px;
765-
padding: 8px 34px 8px 12px;
766-
font-size: 15px;
773+
padding: 8px 12px 8px 12px;
774+
font-size: 18px;
767775
font-weight: 700;
768776
cursor: pointer;
769777
width: auto;
@@ -772,7 +780,7 @@ p {
772780

773781
#bodytype-podium {
774782
width: 100%;
775-
margin: 70px auto 0;
783+
margin: 40px auto 0;
776784
}
777785

778786
.bodytype-3d-wrapper {

0 commit comments

Comments
 (0)