Fixed highlight 100vw

This commit is contained in:
CommanderRedYT
2020-12-01 11:56:11 +01:00
parent bc9a43abe1
commit 48f5513706
2 changed files with 4 additions and 2 deletions

View File

@@ -9,13 +9,15 @@
body { body {
transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1); transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1);
background-color: #fff; background-color: #fff;
padding-right: 10px;
} }
div.highlight { div.highlight {
background-color: rgba(165, 165, 165, 0.372); background-color: rgba(165, 165, 165, 0.372);
width: 101.65%;
margin-left: -15px; margin-left: -15px;
margin-right: -15px; margin-right: -15px;
width: 100vw;
} }
nav { nav {

View File

@@ -21,5 +21,5 @@
<link rel="icon" href="./img/favicon.png" /> <link rel="icon" href="./img/favicon.png" />
</head> </head>
<body class="couldDark <?php if($_COOKIE["darkmode"] == "true") echo "darkMode"; ?>"> <body style="width: 100vw !important; overflow-x: hidden !important;" class="couldDark <?php if($_COOKIE["darkmode"] == "true") echo "darkMode"; ?>">
<?php require('navbar.php') ?> <?php require('navbar.php') ?>