webSIGHTdesigns - Web Design, Web Development, Web Hosting

Customize MediaWiki Submit Form Buttons

Posted on Friday, October 30th, 2015 at 1:08 pm
by webSIGHTdesigns

Customize the submit buttons on MediaWiki forms

This set of styles can be added to your MediaWiki blog to style the submit form buttons you see when signing in, or when submitting an update to a wiki entry.

To add this CSS to your MediaWiki you can just visit the MediaWiki:Common.css page.


/* Custom Form Buttons */
#wpSave {
  background-color: #4c99ef;
  border-radius: 4px;
  border: 0;
  color: #fff;
  padding: 0.5em 1em;
}
#wpPreview {
  background-color: #5bc0de;
  border-radius: 4px;
  border: 0;
  color: #fff;
  padding: 0.5em 1em;
}
#wpDiff {
  background-color: #f0ad4e;
  border-radius: 4px;
  border: 0;
  color: #fff;
  padding: 0.5em 1em;
}
.editButtons input:hover {
  cursor: hand;
  cursor: pointer;
}

Please Sign In

Please sign in to post a comment.

Web Development

View details »

Web Hosting

View details »

Our Portfolio

View portfolio »

WebSight Designs webSIGHTdesigns preferred email webSIGHTdesigns United States United States