Template:NavCell/styles.css
Template page
More actions
/* Container */
.navcell {
max-width: 100%;
padding: 8px;
}
/* FLOATING GAMEPAD — THIS IS THE FIX */
.navcell-ui {
position: fixed;
bottom: 14px;
left: 14px;
z-index: 9999;
background: rgba(0,0,0,0.75);
border-radius: 12px;
padding: 8px;
width: auto;
}
/* D-pad */
.nav-grid {
display: grid;
grid-template-columns: 42px 42px 42px;
grid-template-rows: 42px 42px 42px;
gap: 6px;
}
.nav-btn {
display: flex;
align-items: center;
justify-content: center;
background: #222;
border-radius: 6px;
font-size: 11px;
line-height: 1.1;
text-align: center;
}
.nav-btn a {
color: #eee;
text-decoration: none;
}
.nav-center,
.nav-empty {
background: transparent;
}
/* Up / Down */
.nav-ud {
display: flex;
justify-content: space-between;
margin-top: 6px;
}
.nav-ud .nav-btn {
width: 42px;
height: 32px;
font-size: 10px;
}
/* Text content */
.nav-text {
margin-top: 8px;
}
.nav-desc {
font-size: 13px;
line-height: 1.2;
margin-bottom: 4px;
}
.nav-nearby {
font-size: 12px;
opacity: 0.85;
}
/* Prevent overlap */
@media (max-width: 900px) {
.nav-text {
padding-bottom: 140px;
}
}