MediaWiki:Gadget-SidebarTOC.css

Revision as of 06:26, 22 February 2024 by Makko Oko (talk | contribs) (Created page with ".floatTOC { transition: 0.2s all ease; display: block; position: fixed; top: 20px; left: 0; border: none; background: #f6f6f6; font-size: 0.8em; max-width: 10em; padding: 1.2em; height: 100%; white-space: nowrap; overflow: hidden; } .floatTOC ul ul { margin: 0 0 0 0.75em; } .floatTOC:hover { max-width: 1000em; overflow: auto; box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); } .floatTOC > * { transition: 0.2s all ease; opacity: 0.5; } .floatTOC:hover > * {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.floatTOC {
	transition: 0.2s all ease;
	display: block;
	position: fixed;
	top: 20px;
	left: 0;
	border: none;
	background: #f6f6f6;
	font-size: 0.8em;
	max-width: 10em;
	padding: 1.2em;
	height: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.floatTOC ul ul {
	margin: 0 0 0 0.75em;
}

.floatTOC:hover {
	max-width: 1000em;
	overflow: auto;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.floatTOC > * {
	transition: 0.2s all ease;
	opacity: 0.5;
}

.floatTOC:hover > * {
	opacity: 1;
}

.floatTOC .tocnumber {
	display: none;
}

.floatTOC a {
	color: #000;
}

.floatTOC .toctoggle {
	display: none;
}

.floatTOC #toctitle {
	display: none;
}