MediaWiki:Gadget-Panoviewer.css

From Wikidata
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.
#P4640 iframe {
	border: 1px solid #c8ccd1;
}

#P4640 .fullscreen {
	background-color: #f8f9fa;
	background-image: linear-gradient(transparent,transparent),
		url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Cpath d=%22M1 1v6h2V3h4V1zm2 12H1v6h6v-2H3zm14 4h-4v2h6v-6h-2zm0-16h-4v2h4v4h2V1z%22/%3E%3C/svg%3E');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border: 1px solid #a2a9b1;
	border-radius: 2px;
	display: block;
	height: 26px;
	position: absolute;
	/* @noflip */
	right: 4px; /* Panoviewer puts the zoom controls on the left */
	top: 4px;
	width: 26px;
}

#P4640 .thumb {
	display: inline-block;
	position: relative;
	width: auto;
}