doctype html html(lang=config.language data-theme=theme.display_mode) head include includes/head.pug body if theme.fireworks && theme.fireworks.enable canvas.fireworks
include includes/mobile-sidebar/index.pug
nav#nav.chatgpt-99800 include includes/header/header.pug iframe(src="https://chatgpt.kakawanyifan.com" frameborder="0" style="position: absolute;top: 8%;width: 100%;height: 92%;margin: 0 0;") include includes/rightside.pug include includes/search/index.pug each item in theme.CDN_USE.js script(src=url_for(item)) script(src='/js/99800.js') include includes/additional-js.pug
99800.styl:
1 2 3 4 5 6
#nav.chatgpt-99800 display: flex flex-direction: column justify-content: center height: 100vh; /* Fallback for browsers that do not support Custom Properties */ height: calc(var(--vh, 1vh) * 100);
/js/99800.js:
1 2 3 4 5 6
// First we get the viewport height and we multiple it by 1% to get a value for a vh unit let vh = window.innerHeight * 0.01; // Then we set the value in the --vh custom property to the root of the document document.documentElement.style.setProperty('--vh', `${vh}px`);