MediaWiki:Gadget-QQ.css

From Linguifex
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.
.kephir-qq {
	font-size: 10pt;
	position: fixed !important;
	width: 40%;
	left: 30%;
	top: 3em;
	border: 1px solid var(--wikt-palette-forestgreen, #3c3);
	background: var(--wikt-palette-palegreen, #e2f6e2);
	z-index: 12;
}

.kephir-qq .title {
	padding: 0.5em;
	background: var(--wikt-palette-mint, #9d9);
	cursor: move;
}

.kephir-qq .hide-link {
	display: block;
	float: right;
}

.kephir-qq .search-terms {
	width: 70%;
}

.kephir-qq .tabs {
	max-height: 35em;
	overflow-y: auto;
	background: inherit; /* [[Wiktionary:Grease pit/2025/June#newly absent background behind QQ results]] */
	margin: 0.5em;
}

.kephir-qq form {
	clear: both;
	margin: 0.5em;
}

.kephir-qq .struck {
	opacity: .3;
	text-decoration: line-through;
}

.kephir-qq .hide-struck .struck:not(.taken) {
	display: none;
}

.kephir-qq .struck cite > small,
.kephir-qq .struck .publisher,
.kephir-qq .struck .page {
	display: none;
}

.kephir-qq .struck.taken {
	opacity: .6;
	text-decoration: none;
}

.kephir-qq .taken .take-link {
	font-weight: bold;
}

.kephir-qq .struck blockquote {
	display: none;
}

.kephir-qq .tab-labels {
	margin: 0;
	padding: 0;
	background: var(--wikt-palette-luminousgreen, #ded);
}

.kephir-qq .tab-labels .active {
	font-weight: bold;
}

.kephir-qq .tab-labels > .citations-tab {
	float: right;
}

.kephir-qq .tab-labels + * {
	clear: both;
}

.kephir-qq .tab-labels > li {
	display: inline-block;
}

.kephir-qq .tab-labels > li > a {
	display: block;
	padding: 0.5em;
}

.kephir-qq fieldset {
	border: 1px solid var(--wikt-palette-deepblue, #2a4b8d);
}