You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.4 KiB
75 lines
1.4 KiB
1 year ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>TDF Badge</title>
|
||
|
<style>
|
||
|
body {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: 100vh;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
#container {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
#badge {
|
||
|
width: 100%;
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
#name-input {
|
||
|
position: absolute;
|
||
|
top: 94px;
|
||
|
width: 324px;
|
||
|
height: 92px;
|
||
|
font-size: 62px;
|
||
|
text-align: left;
|
||
|
margin-left: 123px;
|
||
|
opacity: 0.65;
|
||
|
font-family: inherit;
|
||
|
}
|
||
|
|
||
|
#pronouns-input {
|
||
|
position: absolute;
|
||
|
bottom: 87px;
|
||
|
right: 17px;
|
||
|
width: 165px;
|
||
|
font-size: 20px;
|
||
|
opacity: 0.65;
|
||
|
font-family: inherit;
|
||
|
}
|
||
|
|
||
|
#print-button {
|
||
|
display: block;
|
||
|
margin: 20px auto;
|
||
|
}
|
||
|
|
||
|
@font-face {
|
||
|
font-family: "ComicCode";
|
||
|
src: url('ComicCodeMedium.otf') format("opentype");
|
||
|
}
|
||
|
|
||
|
#preview {
|
||
|
font-family: "ComicCode";
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="container">
|
||
|
<form action="print_badge.php" method="GET">
|
||
|
<div id="preview">
|
||
|
<img id="badge" src="TDF/Badge.png" alt="Badge">
|
||
|
<input name="name" id="name-input" type="text" placeholder="Name">
|
||
|
<input name="pronouns" id="pronouns-input" type="text" placeholder="pronouns">
|
||
|
</div>
|
||
|
<input type="submit" id="print-button" value="Print" >
|
||
|
</form>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|