Difference between revisions of "MediaWiki:Common.css"

From FHB
Jump to: navigation, search
(captcha styling)
 
(moar. moar!)
Line 3: Line 3:
 
/* fix captcha input style */
 
/* fix captcha input style */
 
/* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */
 
/* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */
 +
 
.mw-ui-vform div.captcha input {
 
.mw-ui-vform div.captcha input {
 +
  display: block;
 +
  -webkit-box-sizing: border-box;
 +
  -moz-box-sizing: border-box;
 +
  box-sizing: border-box;
 +
  margin: 0;
 +
  width: 100%;
 
   border-style: solid;
 
   border-style: solid;
 
   border-width: 1px;
 
   border-width: 1px;
Line 9: Line 16:
 
   color: #252525;
 
   color: #252525;
 
   padding: 0.35em 0 0.35em 0.5em;
 
   padding: 0.35em 0 0.35em 0.5em;
 +
}
 +
 +
.mw-ui-vform div.captcha input:focus {
 +
  box-shadow: #4091ed 0px 0px 5px;
 +
  border-color: #4091ed;
 +
  outline: 0;
 +
}
 +
 +
.mw-ui-vform div.captcha label {
 +
  display: block;
 +
  -webkit-box-sizing: border-box;
 +
  -moz-box-sizing: border-box;
 +
  box-sizing: border-box;
 +
  font-size: 0.9em;
 +
  color: #4a4a4a;
 +
  width: auto;
 +
  margin: 0 0 0.2em 0;
 +
  padding: 0;
 
}
 
}

Revision as of 03:51, 1 February 2014

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

/* fix captcha input style */
/* copied from resources/mediawiki.ui/mediawiki.ui.vector.css */

.mw-ui-vform div.captcha input {
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  border-color: #c9c9c9;
  color: #252525;
  padding: 0.35em 0 0.35em 0.5em;
}

.mw-ui-vform div.captcha input:focus {
  box-shadow: #4091ed 0px 0px 5px;
  border-color: #4091ed;
  outline: 0;
}

.mw-ui-vform div.captcha label {
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 0.9em;
  color: #4a4a4a;
  width: auto;
  margin: 0 0 0.2em 0;
  padding: 0;
}