Compare commits

...

6 commits
7 ... awesome

Author SHA1 Message Date
wukko
825db84a3d
servicesConfig: add support for /photo/ twitter links (#414) 2024-04-01 09:33:31 +06:00
wukko
99248dec86
awesomeTheme: disable Awesomness with a toggle if you hate fun 2024-04-01 07:01:37 +06:00
wukko
78b60a72a8
update youtubei.js and change client back (#412) 2024-03-31 23:46:45 +06:00
wukko
a4bb8363df
awesomeTheme: make it even more awesome 2024-03-31 23:08:01 +06:00
wukko
c8822a5d5a
awesomeTheme: make it awesome only on awesome day 2024-03-31 23:05:37 +06:00
wukko
855f3e969f
make cobalt awesome
Signed-off-by: wukko <me@wukko.me>
2024-03-31 23:04:50 +06:00
15 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,3 @@
a lot of images in assets are random stock photos from across the internet, AGPL license doesn't apply to them and we do not claim any ownership over them.
comic mono and shantell sans also do not belong to us.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View file

@ -0,0 +1,10 @@
@font-face {
font-family: Comic Mono;
font-weight: normal;
src: url(./assets/ComicMono.ttf);
}
@font-face {
font-family: Shantell Sans;
font-weight: normal;
src: url(./assets/ShantellSans.ttf);
}

View file

@ -0,0 +1,27 @@
/* happy april fools! */
:root {
--font-mono: 'Comic Mono', 'Comic Sans MS', 'Comic Sans', 'Comic Neue', 'Shantell Sans', cursive;
}
* {
text-transform: capitalize;
letter-spacing: 0.03rem;
}
.text-to-copy {
text-transform: none;
}
#download-button,
#url-clear {
font-family: 'Noto Sans Mono', 'Consolas', 'SF Mono', monospace;
}
#home::before {
opacity: 0.1;
content: '';
background: url(/aprilFools/assets/bliss.webp);
height: 100%;
width: 100%;
z-index: -1;
position: absolute;
background-repeat: no-repeat;
background-size: 100% 100%;
}

View file

@ -0,0 +1,35 @@
function changeIcon(button, src) {
document.getElementById(button).querySelector('.emoji').src = `aprilFools/assets/${src}`;
}
// load an Awesome theme on an Awesome day
let date = new Date();
if (date.getMonth() === 3 && date.getDate() === 1 && localStorage.getItem("disableChangelog") !== "true") {
let head = document.head;
head.appendChild(document.createElement('link')).rel = 'stylesheet';
head.lastChild.href = 'aprilFools/awesomeFonts.css';
head.appendChild(document.createElement('link')).rel = 'stylesheet';
head.lastChild.href = 'aprilFools/awesomeStyle.css';
changeIcon('urgent-notice-child', 'lock.jpg');
changeIcon('paste', 'paste.jpg');
changeIcon('audioMode-true', 'music.jpg');
changeIcon('audioMode-false', 'auto.jpg');
changeIcon('about-footer', 'dragon.jpg');
changeIcon('about-donate-footer', 'heart.jpg');
changeIcon('settings-footer', 'settings.jpg');
switch(document.documentElement.lang) {
case "en":
document.getElementById("logo").innerHTML = "Cobalt Media Downloader Ultra Pro Plus Max 2024";
break;
case "ru":
document.getElementById("logo").innerHTML = "Кобальт Медиа Загрузчик Ультра Про Плюс Макс 2024";
break;
}
}

View file

@ -653,6 +653,9 @@ export default function(obj) {
'FilenamePreviewAudioAuthor'
])}
</script>
<!--- Awesome theme --->
<script src="aprilFools/awesomeTheme.js"></script>
<!--- Awesome theme --->
<script src="cobalt.js"></script>
</body>
</html>