Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:NavCell/styles.css

Template page
Revision as of 20:46, 19 December 2025 by SunKeeper (talk | contribs) (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.navcell {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1.2em 0;
}

.navcell-layout-right {
  flex-direction: row;
}

.navcell-layout-left {
  flex-direction: row-reverse;
}

.navcell-desc {
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 520px;
}

.navcell-ui {
  flex: 0 0 auto;
}

.nav-grid {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  grid-template-rows: 44px 44px 44px;
  gap: 8px;
  justify-content: center;
  margin-bottom: 0.8em;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  color: #eee;
  font-size: 0.78em;
  line-height: 1.05em;
  text-align: center;
}

.nav-btn a {
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #333;
  border-color: #777;
}

.nav-empty {
  background: transparent;
  border: none;
}

.nav-center {
  background: transparent;
  border: none;
}

.nav-vertical-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.8em;
}

.nav-vertical {
  min-width: 84px;
  padding: 6px 10px;
  font-size: 0.8em;
}

.nav-nearby {
  text-align: center;
  opacity: 0.9;
}