Feat: correct colors and add text
This commit is contained in:
parent
5962194741
commit
7c928f3249
10 changed files with 84 additions and 65 deletions
79
web/index.html
Normal file
79
web/index.html
Normal file
|
@ -0,0 +1,79 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta viewport="width=device-width, initial-scale=1.0">
|
||||
<title>MakerLab Murnau Logo generator</title>
|
||||
<link rel="stylesheet" href="pico.min.css">
|
||||
|
||||
<style>
|
||||
@media (prefers-color-scheme: light) {
|
||||
.dark-only {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.light-only {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<main class="container">
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<img src="logo?dark_mode=false&text=false" style="height: 50px" class="light-only" />
|
||||
<img src="logo?dark_mode=true&text=false" style="height: 50px" class="dark-only" />
|
||||
<strong>MakerLab Murnau Logo generator</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="https://makerlab-murnau.de">MakerLab Website</a></li>
|
||||
<li><a href="https://git.makerlab-murnau.de/MakerLab/logo-generator">Source code</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<p>You can use this website to generate diffrent variation of the logo of the MakerLab Murnau e.V.</p>
|
||||
|
||||
<details>
|
||||
<summary>Full-size Logo</summary>
|
||||
|
||||
<form action="logo" method="get">
|
||||
<fieldset>
|
||||
<div class="grid">
|
||||
<label for="logo_background_color">
|
||||
Background color
|
||||
</label>
|
||||
<input type="color" id="logo_background_color" name="background_color" value="">
|
||||
</div>
|
||||
<label for="logo_text">
|
||||
<input type="checkbox" id="logo_text" name="text" role="switch">
|
||||
Add text
|
||||
</label>
|
||||
<label for="logo_dark_mode">
|
||||
<input type="checkbox" id="logo_dark_mode" name="dark_mode" role="switch">
|
||||
Dark mode
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<div class="grid">
|
||||
<button type="submit">Generate</button>
|
||||
<button type="reset">Reset</button>
|
||||
</div>
|
||||
</form>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Favicon</summary>
|
||||
|
||||
<form action="favicon.ico" method="get">
|
||||
<button type="submit">Generate</button>
|
||||
</form>
|
||||
</details>
|
||||
</main>
|
||||
</body>
|
5
web/pico.min.css
vendored
Normal file
5
web/pico.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
web/pico.min.css.map
Normal file
1
web/pico.min.css.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue