ura-components/index.html

66 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0"
/>
<title>Star Web Components</title>
<script type="module" src="/src/index.ts"></script>
</head>
<body>
<!-- main -->
<settings-app></settings-app>
<style>
* {
user-select: none;
}
html {
scrollbar-width: none;
}
body {
margin: 0;
padding: 0;
background: #f0f0f0;
}
@font-face {
font-family: 'gaia-icons';
src: url('fonts/gaia-icons.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
:root {
--left-transform: -100vw;
--right-transform: +100vw;
--li-base-height: 43px;
--li-left-padding: 10px;
--li-right-padding: 10px;
--blur-image: '';
--blur-radius-factor: 20;
--blur-radius: calc(1px * var(--blur-radius-factor));
--blur-scale-base-factor: 1.05;
--blur-scale-factor: calc(
var(--blur-scale-base-factor) + (var(--blur-radius-factor) - 20) *
0.0025
);
}
/* for nanopcT4 */
@media (max-width: 500px) {
:root {
--blur-radius-factor: 5;
--blur-scale-factor: calc(
var(--blur-scale-base-factor) + (var(--blur-radius-factor)) * 0.005
);
}
}
</style>
</body>
</html>