Browse Source

sense3 : adaptation au thème sombre

master
Miraty 4 years ago
parent
commit
8fe61b128e
  1. BIN
      bibli/sense3/frameicon.png
  2. BIN
      bibli/sense3/img/bg/peertube.png
  3. BIN
      bibli/sense3/originalframeicon.png
  4. 18
      bibli/sense3/sense3.js
  5. 2
      inc/debut.php
  6. 2
      inc/footer.php
  7. BIN
      media/728x90.xcf
  8. BIN
      media/non-pub-horizontale.png

BIN
bibli/sense3/frameicon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 474 B

BIN
bibli/sense3/img/bg/peertube.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

BIN
bibli/sense3/originalframeicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

18
bibli/sense3/sense3.js

@ -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', 'L’hé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);

2
inc/debut.php

@ -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/>

2
inc/footer.php

@ -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">

BIN
media/728x90.xcf

Binary file not shown.

BIN
media/non-pub-horizontale.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Loading…
Cancel
Save