User:Alistair3149/sandbox/locationnavplate/styles.css

.locationnavplate { margin-top: 0.8rem; padding: 0 20px; display: flex; flex-direction: column; }

.locationnavplate-header { margin: 2.6rem auto 0.4rem auto; max-width: 860px; color: #72777d; line-height: 1.2; font-size: 0.8125rem; letter-spacing: .75px; }

.locationnavplate-source { margin-top: 0.2rem; font-size: 1.2rem; font-weight: bold; letter-spacing: 0; }

.locationnavplate-item { margin: 5px; padding: 10px; border-radius: 8px; font-size: 0.875rem; background: rgba(0, 0, 0, 0.03); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06); }

.locationnavplate-item-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: minmax(50px, auto); }

.locationnavplate-item-group .locationnavplate-item-group { display: block; }

.locationnavplate-item-icon { margin-right: 4px; opacity: .7; }

.locationnavplate-item-other { font-size: 0.8125rem; }

.locationnavplate-item-other-header { opacity: .7; margin-left: 5px; }

.locationnavplate-item-other .mw-collapsible-toggle { margin-right: 5px; position: relative; z-index: 2; }

.locationnavplate .error { margin: 5px; padding: 10px; border-radius: 12px; font-size: 0.875rem; }

.locationnavplate .error>p { margin-top: 0; padding: 5px; }

/* Dark mode */ @media (prefers-color-scheme: dark) { .locationnavplate-header { color: #a0a1a5; }

.locationnavplate-item { background: rgba(255, 255, 255, 0.03); }   .locationnavplate-item-icon { filter: invert(1) hue-rotate(180deg); } }

@media only screen and (max-width: 720px) {

/* This does not belong here but needed before the skin is updated */ .floatnone { margin: 0.6rem -20px !important; width: auto !important; }

.locationnavplate>.locationnavplate-item>.locationnavplate-item-group { display: flex; overflow: auto; }

.locationnavplate>.locationnavplate-item>.locationnavplate-item-group>.locationnavplate-item { min-width: 200px; } }