Adjust background color of menu

pull/26/head
morpheus65535 7 years ago
parent 6331206cc1
commit 5bfdc3ae34

@ -3,8 +3,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<style> <style>
#divmenu { #divmenu {
background-color: #272727; background-color: #000000;
opacity: 0.9; opacity: 0.8;
padding-top: 2em; padding-top: 2em;
padding-bottom: 1em; padding-bottom: 1em;
padding-left: 1em; padding-left: 1em;
@ -32,7 +32,7 @@
<div class="ui grid"> <div class="ui grid">
<div class="row"> <div class="row">
<div class="sixteen wide column"> <div class="sixteen wide column">
<div style="background-color:#272727;" class="ui inverted borderless labeled icon massive menu five item"> <div class="ui inverted borderless labeled icon massive menu five item">
<div class="ui container"> <div class="ui container">
<a class="item" href="{{base_url}}"> <a class="item" href="{{base_url}}">
<i class="play icon"></i> <i class="play icon"></i>
@ -102,4 +102,13 @@
minCharacters : 2 minCharacters : 2
}) })
; ;
if (window.location.href.indexOf("episodes") > -1) {
$('.menu').css('background', '#000000');
$('#divmenu').css('background', '#000000');
}
else {
$('.menu').css('background', '#272727');
$('#divmenu').css('background', '#272727');
}
</script> </script>
Loading…
Cancel
Save