Changing view to circular view

This commit is contained in:
2025-01-24 20:37:25 +01:00
parent 2c6210cd4d
commit 7badfa9495

View File

@ -29,7 +29,8 @@ PAGE = """\
.container {
position: relative;
display: inline-block;
width: 480px;
height: 480px;
}
.title {
@ -41,10 +42,14 @@ PAGE = """\
border-radius: 5px;
font-size: 18px;
color: #b9f084;
z-index: 1;
}
img {
border-radius: 10px;
border-radius: 50%;
width: 480px;
height: 480px;
object-fit: cover;
display: block;
}
</style>
@ -52,7 +57,7 @@ PAGE = """\
<body>
<div class="container">
<div class="title">peepr</div>
<img src="stream.mjpg" width="800" height="480" alt="Webcam Stream">
<img src="stream.mjpg" alt="Webcam Stream">
</div>
</body>
</html>
@ -125,4 +130,3 @@ try:
server.serve_forever()
finally:
picam2.stop_recording()