Jump to content

MediaWiki:Common.css: Difference between revisions

From Drifters Almanac
No edit summary
Tag: Reverted
Tags: Replaced Manual revert
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
$(document).ready(function () {
  $('form.createbox input[name="wpNewTitle"]').removeAttr('autofocus');
});
/* Ensure both <form> and <div> wrappers for #forminput are styled */
form.createbox, div.createbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
}
/* Style the text input */
form.createbox input[name="wpNewTitle"],
div.createbox input[name="wpNewTitle"] {
  width: 300px;
  padding: 0.4em;
  margin-bottom: 0.6em;
  text-align: center;
  background-color: #111;
  color: #ccc;
  border: 1px solid #444;
}
/* Style the submit button */
form.createbox input[type="submit"],
div.createbox input[type="submit"] {
  background-color: #2e4e2e;
  color: #eee;
  border: 1px solid #4a774a;
  padding: 0.4em 1em;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

Revision as of 19:58, 10 May 2025

/* CSS placed here will be applied to all skins */