MediaWiki:NewsForm.css

From TwogPedia
Revision as of 13:49, 10 May 2023 by Couchor (talk | contribs) (Created page with "→‎News search modal: .newsForm { position: fixed; z-index: 20; left: 0; top: 0; width: 100%; height: 100%; display: none; justify-content: center; align-items: center; overflow: auto; background-color: rgba(0,0,0,0.4); } .newsForm-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 800px; display: flex; flex-direction: column; row-gap: 10px } .newsForm-close { color: #aaa; float...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/*News search modal*/
.newsForm {
	position: fixed;
	z-index: 20;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}
.newsForm-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 800px;
	display: flex;
    flex-direction: column;
    row-gap: 10px
}
.newsForm-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.newsForm-close:hover,
.newsForm-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.newsForm-suggestion {
	margin-top: 10px;
	padding: 4px;
	border: 1px solid #000;
}
.newsForm h2 {margin-top: 0;}