Fix palm trees 5
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="../css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -375,7 +375,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="../js/main.js?v=d31dc0aa"></script>
|
||||
<script src="../js/main.js?v=43b69c92"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="../css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -193,7 +193,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="../js/main.js?v=d31dc0aa"></script>
|
||||
<script src="../js/main.js?v=43b69c92"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="../css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -244,7 +244,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="../js/main.js?v=d31dc0aa"></script>
|
||||
<script src="../js/main.js?v=43b69c92"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -273,7 +273,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="js/main.js?v=d31dc0aa"></script>
|
||||
<script src="js/main.js?v=43b69c92"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -176,13 +176,15 @@ function lockPalmSizes() {
|
||||
const vh = window.innerHeight;
|
||||
const clamp = (val, min, max) => Math.min(Math.max(val, min), max);
|
||||
|
||||
const leftOffset = vw >= 1024 ? -0.08 : -0.15;
|
||||
|
||||
// Each entry: [size, { top|bottom, left|right } in px]
|
||||
const config = {
|
||||
'corner-tl': { size: clamp(vw * 0.40, 100, 620), pos: { top: vh * -0.08, left: vw * -0.15 } },
|
||||
'corner-tl': { size: clamp(vw * 0.40, 100, 620), pos: { top: vh * -0.08, left: vw * leftOffset } },
|
||||
'corner-tr': { size: clamp(vw * 0.40, 100, 620), pos: { top: vh * -0.08, right: vw * -0.10 } },
|
||||
'corner-bl': { size: clamp(vw * 0.40, 100, 620), pos: { bottom: vh * -0.08, left: vw * -0.15 } },
|
||||
'corner-bl': { size: clamp(vw * 0.40, 100, 620), pos: { bottom: vh * -0.08, left: vw * leftOffset } },
|
||||
'corner-br': { size: clamp(vw * 0.40, 100, 620), pos: { bottom: vh * -0.08, right: vw * -0.10 } },
|
||||
'corner-ml': { size: clamp(vw * 0.49, 120, 760), pos: { top: vh * 0.32, left: vw * -0.15 } },
|
||||
'corner-ml': { size: clamp(vw * 0.49, 120, 760), pos: { top: vh * 0.32, left: vw * leftOffset } },
|
||||
'corner-ml2': { size: clamp(vw * 0.45, 110, 700), pos: { top: vh * 0.62, left: vw * -0.10 } },
|
||||
'corner-mr': { size: clamp(vw * 0.44, 110, 680), pos: { top: vh * 0.22, right: vw * -0.10 } },
|
||||
'corner-mr2': { size: clamp(vw * 0.48, 115, 740), pos: { top: vh * 0.70, right: vw * -0.10 } },
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="../css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -119,7 +119,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="../js/main.js?v=d31dc0aa"></script>
|
||||
<script src="../js/main.js?v=43b69c92"></script>
|
||||
<script>
|
||||
// Dynamic last-update label
|
||||
(function () {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..60,700;12..60,800&family=Caveat+Brush&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="../css/style.css?v=d31dc0aa">
|
||||
<link rel="stylesheet" href="../css/style.css?v=43b69c92">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -237,7 +237,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="../js/main.js?v=d31dc0aa"></script>
|
||||
<script src="../js/main.js?v=43b69c92"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user