Nutaku Web Games are more suitable for wide screens.
Nutaku Web Games responsive + customizations by breat
Mirrored from https://gitlab.com/breatfr/nutaku-web-games/-/raw/main/css/nutaku-web-games-responsive-customizations.user.css
Details
Authorbreat
LicenseAGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
Categorynutaku.net
Created
Updated
Size6.2 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Support me on:
- ko-fi: https://ko-fi.com/breatfr
- PayPal: https://www.paypal.me/breat
Other preview
https://gitlab.com/breatfr/nutaku-web-games/-/raw/main/docs/preview-2.jpg
Only 2 screenshots but should work with other landscape games, if you got any problem contact me.
List of available customizations
- no header
- wide mode
- wide mode+
How to use in few steps
-
Install Stylus browser extension
- Chromium based browsers link: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
- Brave
- Chromium
- Google Chrome
- Iridium Browser
- Microsoft Edge
- Opera
- Opera GX
- SRWare Iron
- Ungoogled Chromium
- Vivaldi
- Yandex Browser
- many more
- Firefox based browsers link: https://addons.mozilla.org/firefox/addon/styl-us/
- Mozilla Firefox
- Mullvad Browser
- Tor Browser
- Waterfox
- many more
- Chromium based browsers link: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
-
Go on UserStyles.world website and click on
Install
under the preview picture or open the GitLab version. -
To update the theme, open the
Stylus Management
window and click onCheck for update
and follow the instructions or just wait 24h to automatic update -
Enjoy :)
Source code
/* ==UserStyle==
@name Nutaku Web Games responsive + customizations
@version 1.0.0
@description Nutaku Web Games are more suitable for wide screens.
@author BreatFR (https://breat.fr)
@namespace https://gitlab.com/breatfr
@homepageURL https://gitlab.com/breatfr/nutaku-web-games
@supportURL https://discord.gg/Q8KSHzdBxs
@license AGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
@preprocessor stylus
@var checkbox noheader "No header" 1
@var checkbox widemode "Wide mode" 0
@var checkbox widemodeplus "Wide mode+" 1
==/UserStyle== */
/* === Credits ===
Website https://breat.fr
facebook https://www.facebook.com/breatfroff
mastodon https://mastodon.social/@breat_fr
telegram https://t.me/breatfr
vk https://vk.com/breatfroff
X (twitter) https://x.com/breatfroff
=== Credits === */
@-moz-document regexp("https://www\\.nutaku\\.net/.+/games/.+/play/") {
if noheader {
header {
display: none !important;
height: 0 !important;
}
.main-content,
.main-content.play {
padding: 0 !important;
}
.game-play-full {
margin: 0 !important;
position: absolute !important;
bottom: 0;
top: 0;
left: 0;
right: 0;
height: 100vh !important;
max-height: 100vh !important;
min-height: 100vh !important;
}
div[style*="height:"],
iframe[style*="height:"] {
height: 100vh !important;
max-height: 100vh !important;
}
}
if (widemode || widemodeplus) {
body {
overflow-y: hidden;
}
}
}
@-moz-document regexp("https://osapi\\.nutaku\\.com/gadgets/ifr.*") {
:root {
--themeversion: 'Theme v1.0.0';
--author: 'by BreatFR (https://breat.fr)';
--link: ' https://gitlab.com/breatfr/nutaku-web-games ';
}
#loader-wrapper::after {
background-color: rgba(211,211,211,0.5);
border-radius: .5em;
color: white;
content: var(--themeversion) ' · ' var(--author) '\A' url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBoZWlnaHQ9IjIwIiB3aWR0aD0iMjAiIHN0eWxlPSJ0cmFuc2Zvcm06IHNjYWxlWSgtMSk7Ij48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNS4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjQgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2NiY2JjYiIgZD0iTTMwNyAzNC44Yy0xMS41IDUuMS0xOSAxNi42LTE5IDI5LjJ2NjRIMTc2Qzc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SA5NiA0MTQuNCA5NiAzODRjMC01MyA0My05NiA5Ni05Nmg5NnY2NGMwIDEyLjYgNy40IDI0LjEgMTkgMjkuMnMyNSAzIDM0LjQtNS40bDE2MC0xNDRjNi43LTYuMSAxMC42LTE0LjcgMTAuNi0yMy44cy0zLjgtMTcuNy0xMC42LTIzLjhsLTE2MC0xNDRjLTkuNC04LjUtMjIuOS0xMC42LTM0LjQtNS40eiIvPjwvc3ZnPg==");
bottom: 20px;
display: flex;
flex-direction: column;
font-size: 18px;
left: 10px;
padding: 10px;
position: absolute;
text-align: center;
width: max-content;
white-space: pre-line;
}
if (widemode || widemodeplus) {
.main-container,
#game-container,
#loader-wrapper,
#unity-container,
#unityContainer,
#unityContainer > video,
#unityContainerCanvas,
#unity-canvas {
border: none !important;
bottom: 0 !important;
height: 100vh !important;
max-height: 100vh !important;
left: 0 !important;
margin: 0 !important;
right: 0 !important;
top: 0 !important;
transform: none !important;
z-index: 999999 !important;
}
.social-icon,
#left-banner,
#right-banner {
display: none !important;
width: 0 !important;
}
.main {
position: initial !important;
}
.column,
.columns {
margin: 0 !important;
padding: 0 !important;
}
}
if widemode {
.main-container,
#game-container,
#loader-wrapper,
#unity-container,
#unityContainer,
#unityContainer > video,
#unityContainerCanvas,
#unity-canvas {
margin: 0 auto !important;
max-width: 100% !important;
width: auto !important;
}
}
if widemodeplus {
.main-container,
#game-container,
#loader-wrapper,
#unity-container,
#unityContainer,
#unityContainer > video,
#unityContainerCanvas,
#unity-canvas {
max-width: 100% !important;
min-width: 100% !important;
width: 100% !important;
}
}
}