mirror of https://gitlab.com/gpvkt/twitchtts.git
Added DOCTYPE
This commit is contained in:
parent
135fe13a87
commit
0eac8a269e
31
tts.html
31
tts.html
|
@ -1,4 +1,5 @@
|
|||
<html lang="de">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="./bootstrap.min.css" rel="stylesheet" />
|
||||
<title>TTS</title>
|
||||
|
@ -30,19 +31,19 @@
|
|||
<button id="resume" class="btn btn-info mt-4 me-2">Resume</button>
|
||||
<button id="cancel" class="btn btn-danger mt-4 me-2">Cancel</button>
|
||||
</div>
|
||||
</body>
|
||||
<script src="./tts.js"></script>
|
||||
<script>
|
||||
$(document).ready ( function(){
|
||||
if (window.matchMedia) {
|
||||
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
|
||||
$('body').addClass('bg-dark');
|
||||
$('p').addClass('text-light');
|
||||
$('select').addClass('text-light');
|
||||
$('option').addClass('bg-dark');
|
||||
$('span').addClass('text-light');
|
||||
<script src="./tts.js"></script>
|
||||
<script>
|
||||
$(document).ready (function(){
|
||||
if (window.matchMedia) {
|
||||
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
|
||||
$('body').addClass('bg-dark');
|
||||
$('p').addClass('text-light');
|
||||
$('select').addClass('text-light');
|
||||
$('option').addClass('bg-dark');
|
||||
$('span').addClass('text-light');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue