some more css changes

This commit is contained in:
BroodjeAap 2020-08-02 13:14:29 +00:00
parent 21a7441b46
commit 40de52babd
2 changed files with 33 additions and 3 deletions

View file

@ -11,13 +11,17 @@
.menu {
flex-basis: 15%;
align-items: center;
background-color: transparent;
background: #191818;
color: #565d64;
}
.menu-header {
font-size: 30px;
margin-top: 20px;
margin-left: 10px;
margin-right: 10px;
padding-top: 20px;
padding-left: 10px;
padding-right: 10px;
display: block;
}
.menu-item {
@ -25,10 +29,32 @@
margin-top: 15px;
margin-left: 10px;
margin-right: 10px;
color: #999;
display: block;
}
.content {
flex-basis: 85%;
align-items: center;
}
.content-header {
margin: 0;
color: #333;
text-align: center;
padding: 2.5em 2em 0;
border-bottom: 1px solid #eee;
}
.content-header h1 {
margin: 0.2em 0;
font-size: 3em;
font-weight: 300;
}
.content-header h2 {
font-weight: 300;
color: #ccc;
padding: 0;
margin-top: 0;
}
.debug-img-div {

View file

@ -4,6 +4,10 @@
{{end}}
{{define "content"}}
<div class="flex-column" id="content">
<div class="content-header">
<h1>{{ .Name }}</h1>
<h2>{{ .URL }}</h2>
</div>
<div class="stream-canvas-div">
<img class="stream-canvas" src="{{ .GetCurrentColorURL }}" id="current_color_stream" hidden>
<canvas class="stream-canvas" id="canvas">Not supported</canvas>