Move CSS to its own file

This commit is contained in:
Mathias Rav
2021-05-09 21:34:47 +02:00
parent 0cee4b0ea5
commit 6d60095da8
2 changed files with 15 additions and 17 deletions

View File

@@ -21,23 +21,7 @@ pub enum MediaType {
Midi,
}
// FIXME: This should be in its own .css file.
static STYLE: &str = "
.audio {
background: rgb(50,100,240);
color: black;
}
.video {
background: rgb(200,200,0);
color: black;
}
.midi {
background: rgb(200,0,50);
color: black;
}
";
static STYLE: &str = include_str!("style.css");
mod imp {
use super::*;