mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-03-07 13:27:51 +01:00
:3
This commit is contained in:
66
projects/challenge 9/Spik-en-span/qr/styles.css
Normal file
66
projects/challenge 9/Spik-en-span/qr/styles.css
Normal file
@@ -0,0 +1,66 @@
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
padding: 0 10px;
|
||||
height: 100%;
|
||||
background: black;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
#container {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#qr-canvas {
|
||||
margin: auto;
|
||||
width: calc(100% - 20px);
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
#btn-scan-qr {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 75vh;
|
||||
}
|
||||
|
||||
#btn-scan-qr img {
|
||||
height: 10em;
|
||||
padding: 15px;
|
||||
margin: 15px;
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#qr-result {
|
||||
font-size: 1.2em;
|
||||
margin: 20px auto;
|
||||
padding: 20px;
|
||||
max-width: 700px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#video {
|
||||
display: none;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
border: 2px solid white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
#video:visible {
|
||||
display: block;
|
||||
}
|
||||
Reference in New Issue
Block a user