MediaWiki:Common.css: Difference between revisions

From PurpleIRC Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.button {
  border-top: 1px solid #c197f7;
  background: #a765d6;
  background: -webkit-gradient(linear, left top, left bottom, from(#6a3e9c), to(#a765d6));
  background: -webkit-linear-gradient(top, #6a3e9c, #a765d6);
  background: -moz-linear-gradient(top, #6a3e9c, #a765d6);
  background: -ms-linear-gradient(top, #6a3e9c, #a765d6);
  background: -o-linear-gradient(top, #6a3e9c, #a765d6);
  padding: 11px 22px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
  box-shadow: rgba(0,0,0,1) 0 1px 0;
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
  color: white;
  font-size: 16px;
  font-family: Helvetica, Arial, Sans-Serif;
  text-decoration: none;
  vertical-align: middle;
  }
.button:hover {
  border-top-color: #542878;
  background: #542878;
  color: #ccc;
  }
.button:active {
  border-top-color: #4e1b5c;
  background: #4e1b5c;
  }

Revision as of 00:58, 13 June 2015

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

.button {
   border-top: 1px solid #c197f7;
   background: #a765d6;
   background: -webkit-gradient(linear, left top, left bottom, from(#6a3e9c), to(#a765d6));
   background: -webkit-linear-gradient(top, #6a3e9c, #a765d6);
   background: -moz-linear-gradient(top, #6a3e9c, #a765d6);
   background: -ms-linear-gradient(top, #6a3e9c, #a765d6);
   background: -o-linear-gradient(top, #6a3e9c, #a765d6);
   padding: 11px 22px;
   -webkit-border-radius: 7px;
   -moz-border-radius: 7px;
   border-radius: 7px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 16px;
   font-family: Helvetica, Arial, Sans-Serif;
   text-decoration: none;
   vertical-align: middle;
   }
.button:hover {
   border-top-color: #542878;
   background: #542878;
   color: #ccc;
   }
.button:active {
   border-top-color: #4e1b5c;
   background: #4e1b5c;
   }