veripride/index.html
2024-05-26 18:24:02 +02:00

82 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VeriPride</title>
<link rel="stylesheet" href="css/iconify.css">
<link rel="stylesheet" href="css/mini-dark.css">
<script src="https://code.iconify.design/iconify-icon/1.0.1/iconify-icon.min.js"></script>
<script src="script.js" defer></script>
<style>
body {
padding: var(--universal-padding);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: calc(100vh - calc(var(--universal-padding) * 2));
}
.card {
width: auto !important;
}
</style>
</head>
<body>
<h1>VeriPride Maker</h1>
<div class="row">
<div class="col">
<div class="card" style="padding: var(--universal-padding);">
<h3>Presets</h3>
<select id="preset"></select>
<h3>Stripes</h3>
<div class="row" id="addrow">
<div class="col"><input style="margin-top:0px" type="text" value="#ff00ff"></div>
<div class="col"><button style="margin-top:0px">
<iconify-icon icon="ph:plus"></iconify-icon>
</button></div>
</div>
<hr>
<div id="stripes">
</div>
</div>
</div>
<div class="col">
<div class="card" style="padding: var(--universal-padding);">
<h3>Output</h3>
<svg viewBox="0 0 24 24" width="32" height="32" style="width:320px;height:320px;">
<defs>
<mask id="mask">
<rect x="0" y="0" width="24" height="24" fill="black" />
<path
d="M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.76z"
fill="white">
</path>
</mask>
</defs>
<g id="stripes" mask="url(#mask)">
</g>
</svg>
<hr>
<div class="row" style="justify-content:center;">
<div class="col" style="width: 40%;margin-right:5%;">
<select style="margin:0;width:100%" id="res"></select>
</div>
<div class="col" style="width: 40%;margin-left:5%;">
<button style="margin:0;padding:8px 16px;width:100%" id="dl">Download</button>
</div>
</div>
<hr>
<p style="margin:0;color:#4f4;">* recommended</p>
<p style="margin:0;color:#f44;">! may cause lag</p>
</div>
</div>
</div>
</body>
</html>