2FA codes can now be scanned.

This commit is contained in:
2020-07-07 15:10:36 +02:00
parent 576e16a2fc
commit a6a9d95042
14 changed files with 464 additions and 56 deletions

View File

@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html>
<head>
<!-- Head is not important since
we will only print the body-->
</head>
<body>
<style>
@font-face {
font-family: Roboto;
src: url(font/robotolight.ttf);
font-weight: lighter;
}
@font-face {
font-family: Roboto;
src: url(font/robotoregular.ttf);
font-weight: normal;
}
@font-face {
font-family: Roboto;
src: url(font/robotobold.ttf);
font-weight: bold;
}
* {
text-align: center;
font-family: Roboto;
}
h1 {
margin-top: 8rem;
font-size: 36pt;
}
p {
font-size: 24pt;
}
#hint_title {
margin-top: 10rem;
font-weight: bold;
}
img {
margin-top: 5rem;
height: 400px;
}
/* Background stripes */
#red {
position: absolute;
bottom: -350px;
left: 0;
z-index: -1;
width: 340px;
height: 815px;
background-color: #FF2A2A;
transform: rotate(130deg);
}
#black {
position: absolute;
bottom: -320px;
right: 0;
z-index: -1;
width: 380px;
height: 815px;
background-color: #1C1C1C;
transform: rotate(-130deg);
}
</style>
<div id="content">
<h1>OffPass</h1>
<p>Created on $DATE</p>
<p id="hint_title">Password hint</p>
<p>$HINT</p>
<img src="drawable/dummy_qr_code.png">
<div id="red"></div>
<div id="black"></div>
</div>
</body>
</html>