User:Fish bowl/common.css

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

This CSS is applied for Fish bowl to every page.


@import url('/w/index.php?title=User:Fish_bowl/compactToc.css&action=raw&ctype=text/css');

/* <nowiki> */

#ajaxedit-wrapper [name=wpSummary] { width: 100%; }

/* highlight unordered lists that aren't connected */
.mw-parser-output > ul:nth-of-type(odd), .mw-parser-output > * > ul:nth-of-type(odd) { background: rgba(0, 0, 255, 0.02) }
.mw-parser-output > ul:nth-of-type(even), .mw-parser-output > * > ul:nth-of-type(even)  { background: rgba(255, 0, 0, 0.02) }

/* [[Wiktionary:Grease pit/2016/October#Can we use CSS in place of ---- between language sections?]] */
.ns-0 .mw-parser-output > hr { display: none; }
.ns-0 .mw-parser-output > h2 ~ h2 {
	border-top: 1px solid #a00;
	margin-top: 1em;
}

/* {{attention}} */
.attentionseeking:before {
	background-color: seashell;
	border: 1px dotted crimson;
	content: "Attention!";
	font-style: italic;
}
.attentionseeking:hover:before {
	content: "Attention:\20"attr(title)"";
}

/* {{also}} */
.mw-body-content {
	position: relative;
}
.disambig-see-also {
	background: antiquewhite;
}
.mw-parser-output > .disambig-see-also:nth-of-type(1) {
	position: absolute;
	top: 0;
	right: 0;
	text-indent: 0;
	z-index: 2;
}

/* expanding things */
.client-nojs .vsSwitcher:not(:hover) .vsHide,
.client-nojs .NavFrame:not(:hover) > .NavContent,
.client-nojs .mw-collapsed:not(:hover) > .mw-collapsible-content,
.client-nojs .mw-collapsed.mw-enhanced-rc:not(:hover) > tbody > tr:not(.mw-rcfilters-ui-highlights-enhanced-toplevel), /* recent changes; watchlist */
.client-nojs .templatesUsed:not(:hover) > ul {
	display: none;
}
.client-nojs .vsSwitcher:not(:hover) .vsShow {
	display: unset;
}
.client-nojs .vsSwitcher,
.client-nojs .NavFrame,
.client-nojs .mw-collapsed,
.client-nojs .templatesUsed {
	box-shadow: 0 0 12px limegreen;
}
.client-nojs .vsSwitcher:hover,
.client-nojs .NavFrame:hover,
.client-nojs .mw-collapsed:hover,
.client-nojs .templatesUsed:hover {
	box-shadow: 0 0 12px orange;
}

/* </nowiki> */