moins noir
This commit is contained in:
parent
ce60781f91
commit
a0f22d6a10
2 changed files with 33 additions and 27 deletions
|
@ -91,6 +91,7 @@ function toggleYfold(id) {
|
|||
window.onload = function() {
|
||||
console.log("DOM loaded.")
|
||||
var snippet = document.getElementsByTagName("code")[0];
|
||||
if ((snippet.classList.value.includes("page")) || (snippet.classList.value.includes("block"))) {
|
||||
console.log(snippet);
|
||||
|
||||
let img = document.createElement('div');
|
||||
|
@ -123,4 +124,7 @@ window.onload = function() {
|
|||
|
||||
snippet.appendChild(img)
|
||||
snippet.appendChild(theme)
|
||||
} else {
|
||||
console.log(snippet.classList);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -178,7 +178,7 @@ footer {
|
|||
bottom: 0px;
|
||||
width: 100%;
|
||||
min-height: 150px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
background: rgba(19,19,19,.8);
|
||||
padding: 30px 50px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -240,6 +240,7 @@ code * {
|
|||
}
|
||||
|
||||
code div {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
|
@ -249,6 +250,7 @@ code div {
|
|||
width: 42px;
|
||||
background: #333;
|
||||
cursor: pointer;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
code div.theme {
|
||||
|
|
Loading…
Reference in a new issue