sense3 : adaptation au thème sombre

This commit is contained in:
Miraty 2018-10-29 13:54:20 +01:00
parent 896002b44d
commit 8fe61b128e
8 changed files with 5 additions and 17 deletions

BIN
bibli/sense3/frameicon.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

View File

@ -419,20 +419,6 @@
},
tags: ['generic', 'wikipedia', 'encyclopedia'],
},
peertube: {
condition: true,
format: ['txt', '300x250', '728x90'],
img: 'img/bg/peertube.png',
link: {
en: 'https://joinpeertube.org/en/',
fr: 'https://joinpeertube.org/fr/',
},
text: {
en: ['Join Peertube', 'A decentralized video hosting network, based on free/libre software'],
fr: ['Rejoignez Peertube', 'Lhébergement de vidéos décentralisé et libre'],
},
tags: ['generic', 'peertube'],
},
};
},
@ -564,7 +550,7 @@
// Text
} else {
html = `
<a style="" id="text" href="${d[id].link[llg]}" target="_blank">
<a id="text" href="${d[id].link[llg]}" target="_blank">
<h1>${t1}</h1>
<p>${d[id].link[llg].split('/')[2]}</p>
<h2>${t2}</h2>
@ -609,11 +595,13 @@
#text .button {
background: ${btn.substr(0, 7)};
color: black;
}
#text ~ #about,
#text ~ #close {
background: ${bdr.substr(0, 7)};
color: white;
}
`;
document.getElementsByTagName('head')[0].appendChild(style);

View File

@ -207,7 +207,7 @@ while ($page = $reponse->fetch()) { ?>
</nav>
<div class="pub-carree-bloc">
<div class="pub-carree">
<script src="bibli/sense3/sense3.js" data-sense3="300x250;adblock,advertising,amazon,apple,browser,chrome,degooglisons,elementary,encyclopedia,facebook,firefox,framabookin,gafam,generic,google,linux,mac,mageia,microsoft,mozilla,opera,referrer,safari,social,system,twitter,ubuntu,wikipedia,windows,peertube;#2D2F34,#ff0000,#000000,#3783ff,#00ddff,#2D2F34"></script>
<script src="bibli/sense3/sense3.js" data-sense3="300x250;adblock,advertising,amazon,apple,browser,chrome,degooglisons,elementary,encyclopedia,facebook,firefox,framabookin,gafam,generic,google,linux,mac,mageia,microsoft,mozilla,opera,referrer,safari,social,system,twitter,ubuntu,wikipedia,windows,peertube;#26282C,#ffffff,#FFFFFF,#00d414,#ffffff,#26282C"></script>
</div>
</div>
<br/>

View File

@ -29,7 +29,7 @@
</div>
<div class="pub-horizontale-bloc">
<div class="pub-horizontale">
<script src="bibli/sense3/sense3.js" data-sense3="728x90;adblock,advertising,amazon,apple,browser,chrome,degooglisons,elementary,encyclopedia,facebook,firefox,framabookin,gafam,generic,google,linux,mac,mageia,microsoft,mozilla,opera,referrer,safari,social,system,twitter,ubuntu,wikipedia,windows,peertube;#cbcbcb,#ff0000,#000000,#3783ff,#00ddff,#cbcbcb"></script>
<script src="bibli/sense3/sense3.js" data-sense3="728x90;adblock,advertising,amazon,apple,browser,chrome,degooglisons,elementary,encyclopedia,facebook,firefox,framabookin,gafam,generic,google,linux,mac,mageia,microsoft,mozilla,opera,referrer,safari,social,system,twitter,ubuntu,wikipedia,windows;#26282C,#ffffff,#FFFFFF,#00d414,#ffffff,#26282C"></script>
</div>
</div>
<div class="interlude">

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB