MediaWiki

Gadget-expand.css

From Dogcraft Wiki

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.
/*
todo: proper themed colors, credits
*/

.content {
	transition: max-width ease-in-out 0.5s;
}

.content-expanded {
	max-width:100%;
}

.gadget-expand-container {
	position: absolute;
	top: 65px;
	left: -12px;
	height: 100%;
}

.gadget-expand-button {
	position: sticky;
	background: firebrick;
	width: 34px;
	height: 34px;
	top: 125px;
	border-radius: 35px;
	color: white;
	display: flex;
	justify-content: center;
	align-content: center;
	box-shadow: 0 3px 12px 0 rgba(0,0,0,.3);
	cursor: pointer;
}

.gadget-expand-button:hover {
	color: lightgray !important;
}