SplatNet/style.css

328 lines
5.9 KiB
CSS
Raw Normal View History

2026-02-26 06:31:57 +01:00
body {
zoom: 0.96;
transform: scale(0.96);
transform-origin: top left;
width: 105%;
height: 105%;
overflow: visible;
margin-left: -5px;
}
2026-03-17 04:41:10 +01:00
html {
overflow-x: hidden;
}
body {
margin: 0;
overflow-x: hidden; /* see i care about mobile users */
min-height: 100vh;
}
2026-02-01 04:57:59 +01:00
@font-face {
font-family: 'Splatoon1';
src: url('Splatoon1.otf') format('opentype');
}
@font-face {
font-family: 'RegularFont';
src: url('regular.otf') format('opentype');
}
2026-01-31 04:27:23 +01:00
* {
box-sizing: border-box;
}
2026-02-01 04:57:59 +01:00
.splatnet-sidebar {
width: 330px;
background-color: black;
display: inline-block;
padding: 0 24px 32px;
position: relative;
border-radius: 0;
2026-02-24 07:33:51 +01:00
z-index: 1;
2026-01-31 04:27:23 +01:00
}
2026-02-01 04:57:59 +01:00
.splatnet-sidebar::after {
content: "";
position: absolute;
top: 0;
right: -30px;
width: 30px;
height: 100%;
background-image: url('assets/en/svg/ui/bg_menu_right_wave-c8ca7628fe4a702b3985b66f59c365748d266db743ec3a7a7e68211c81c74ec1.svg');
background-repeat: repeat-y;
background-size: contain;
2026-02-24 07:33:51 +01:00
z-index: 2;
2026-01-31 04:27:23 +01:00
}
2026-02-01 04:57:59 +01:00
.splatnet-sidebar::before {
content: "";
position: absolute;
2026-02-24 07:33:51 +01:00
bottom: -48px;
2026-02-01 04:57:59 +01:00
left: 0;
2026-02-24 07:33:51 +01:00
width: 345px;
2026-02-01 04:57:59 +01:00
height: 30px;
background-image: url('assets/en/svg/ui/bg_menu_bottom_wave-03056ad08bac76d5bf1d0bc2895f30cda65a731d9d69789719da70a084be31cb.svg');
background-repeat: no-repeat;
background-size: 100% 100%;
2026-02-24 07:33:51 +01:00
z-index: 2;
}
.corner-patch {
position: absolute;
bottom: -28px;
right: -15px;
width: 360px;
height: 48px;
background-color: black;
2026-02-01 04:57:59 +01:00
z-index: 1;
2026-02-24 07:33:51 +01:00
border-bottom-right-radius: 20px;
2026-02-01 04:57:59 +01:00
}
.icon-header-logo {
2026-02-01 04:57:59 +01:00
width: 300px;
height: 138px;
margin: 0 auto 10px;
background-image: url('assets/en/ui-scf41f55f26-b7d4baf19342db013cc20bb9d1dd2bfddc4817ace5a1c86f5e14705cd514311f.png');
background-position: 0 -1134px;
background-repeat: no-repeat;
position: relative;
2026-02-01 04:57:59 +01:00
display: block;
z-index: 2;
2026-02-01 04:57:59 +01:00
}
.menu-item {
position: relative;
width: 266px;
2026-02-26 06:31:57 +01:00
height: 54px;
margin: 0 auto 10px;
2026-01-31 04:27:23 +01:00
display: flex;
align-items: center;
padding-left: 22px;
2026-02-01 04:57:59 +01:00
cursor: pointer;
z-index: 2;
text-decoration: none;
background-image: url('assets/en/ui-scf41f55f26-b7d4baf19342db013cc20bb9d1dd2bfddc4817ace5a1c86f5e14705cd514311f.png');
background-repeat: no-repeat;
background-position: 0 -1564px;
2026-01-31 04:27:23 +01:00
}
.menu-item.friend:hover, .menu-item.friend.active { background-position: 0 -1508px !important; }
.menu-item.rank:hover, .menu-item.rank.active { background-position: 0 -1620px !important; }
.menu-item.equipment:hover, .menu-item.equipment.active { background-position: 0 -1452px !important; }
.menu-item.stage:hover, .menu-item.stage.active { background-position: 0 -1676px !important; }
2026-02-01 04:57:59 +01:00
.menu-item img {
position: absolute;
pointer-events: none;
z-index: 1;
2026-02-01 04:57:59 +01:00
}
2026-01-31 04:27:23 +01:00
.menu-item .icon {
left: 20px;
2026-02-01 04:57:59 +01:00
width: 32px;
height: 32px;
2026-01-31 04:27:23 +01:00
}
.menu-item .label {
position: absolute;
left: 62px;
2026-02-01 04:57:59 +01:00
height: 28px;
2026-02-26 06:31:57 +01:00
top: 13px;
pointer-events: none;
2026-01-31 04:27:23 +01:00
z-index: 1;
}
.equipment .label {
height: 62px;
left: 60px;
top: -3px;
}
.menu-item .hover-state {
display: none !important;
}
.menu-item:hover .default,
.menu-item.active .default {
display: none !important;
}
.menu-item:hover .hover-state,
.menu-item.active .hover-state {
display: block !important;
2026-02-01 04:57:59 +01:00
}
.twitterbgbox {
width: 280px;
height: 170px;
background-color: #333333;
border-radius: 40px;
margin: 60px auto 0;
position: relative;
z-index: 2;
2026-02-01 04:57:59 +01:00
}
.mii-icon-container {
2026-02-01 04:57:59 +01:00
position: absolute;
width: 60px;
height: 60px;
top: -20px;
left: -20px;
background-color: white;
border-radius: 50%;
z-index: 3;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
2026-02-24 07:33:51 +01:00
border: 4px solid #333333;
}
#mii-img {
width: 110%;
height: auto;
display: none;
}
.twitterbgbox::before {
display: none;
}
.profile-name-label {
2026-02-01 04:57:59 +01:00
position: absolute;
top: 12px;
left: 48px;
color: white;
font-family: 'RegularFont', sans-serif;
font-weight: normal;
font-size: 18px;
z-index: 1;
}
.button-container {
position: absolute;
bottom: 15px;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.box-btn {
width: 85%;
background-color: #919191;
color: white;
border: none;
padding: 10px 0;
border-radius: 15px;
font-family: 'Splatoon1', sans-serif;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
2026-02-01 04:57:59 +01:00
}
.box-btn.twitter-btn { background-color: #00a0f3; }
2026-02-01 04:57:59 +01:00
.btn-icon, .btn-label-img {
2026-02-01 04:57:59 +01:00
height: 18px;
filter: brightness(0) invert(1);
}
.lang-options {
width: 220px;
margin: 20px auto 0;
position: relative;
z-index: 10;
}
.image-dropdown-toggle {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
gap: 10px;
padding: 5px;
2026-02-24 07:33:51 +01:00
background: transparent;
}
.image-dropdown-toggle img:first-child {
2026-02-24 07:10:05 +01:00
height: 24px;
}
.dropdown-arrow-icon {
height: 12px;
}
.image-dropdown-options {
2026-02-24 07:10:05 +01:00
display: none;
position: absolute;
2026-02-24 07:10:05 +01:00
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.9);
border-radius: 10px;
padding: 10px;
list-style: none;
margin: 0;
width: max-content;
}
.image-dropdown-options.show {
2026-02-24 07:33:51 +01:00
display: block !important;
z-index: 9999;
}
.image-dropdown-options li {
padding: 8px 15px;
cursor: pointer;
transition: opacity 0.2s;
}
.image-dropdown-options li:hover {
opacity: 0.7;
background-color: #333;
}
.image-dropdown-options img {
height: 24px;
display: block;
}
2026-02-24 07:10:05 +01:00
.websiteredirect-link-container {
2026-02-24 07:33:51 +01:00
margin-top: 15px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
padding-left: 15px;
z-index: 2;
2026-02-24 07:10:05 +01:00
}
.websiteredirect-link-container img {
2026-02-24 07:33:51 +01:00
width: 180px;
height: auto;
display: block;
2026-02-24 07:10:05 +01:00
}
.nintylogo-static {
2026-02-24 07:33:51 +01:00
width: 90px;
height: 15px;
overflow: hidden;
position: relative;
margin-top: 20px;
margin-bottom: 0px;
2026-02-24 07:10:05 +01:00
}
.nintylogo-static img {
2026-02-24 07:33:51 +01:00
width: 180px;
height: auto;
position: absolute;
top: 0;
left: 0;
2026-02-01 04:57:59 +01:00
}