Template:Picdic/style.css

From Linguifex
Revision as of 17:10, 4 June 2026 by Sware (talk | contribs) (Created page with ".picdic-contents { margin-top: 0.3em; position: relative; white-space: nowrap; overflow-x: scroll; for narrow screens only - suppressed in media query below - not ideal - needs more thought: padding-bottom: 25px; margin-bottom: -25px; } @media screen and (min-width: 900px) { Disable picdic collapse.: .picdic-contents.vsHide { display: block !important; } Unset cursor and hide nav toggle.: .picdic-heading { cursor: unset !important; } .pic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.picdic-contents {
	margin-top: 0.3em;
	position: relative;
	white-space: nowrap;
	overflow-x: scroll; /* for narrow screens only - suppressed in media query below - not ideal - needs more thought */
	padding-bottom: 25px;
	margin-bottom: -25px;
}

@media screen and (min-width: 900px) {
	/* Disable picdic collapse. */
	.picdic-contents.vsHide {
		display: block !important;
	}
	/* Unset cursor and hide nav toggle. */
	.picdic-heading {
		cursor: unset !important;
	}
	.picdic-heading .NavToggle {
		display: none;
	}
	/* Disable horizontal scroll. */
	.picdic-contents {
		overflow-x: hidden;
	}
}