Difference between revisions of "MediaWiki:Common.css"

From WikiConference North America
Jump to: navigation, search
(Styling inputs)
(Changing Page Forms input selector)
Line 1: Line 1:
 
@import url(//wikimediadc.org/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css);
 
@import url(//wikimediadc.org/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css);
  
input[type=text]
+
// Page Forms styling:
 +
input.createboxInput
 
{
 
{
 
   border: 3px solid #ccc;
 
   border: 3px solid #ccc;
Line 13: Line 14:
 
}
 
}
  
input[type=text]:focus
+
input.createboxInput:focus
 
{
 
{
 
   border: 3px solid #555;
 
   border: 3px solid #555;
 
}
 
}

Revision as of 06:13, 28 July 2019

@import url(//wikimediadc.org/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css);

// Page Forms styling:
input.createboxInput
{
  border: 3px solid #ccc;
  box-sizing: border-box;
  margin: 8px 0;
  outline: none;
  padding: 12px 10px;
  transition: .5s;
  -webkit-transition: .5s;
  width:100%;
}

input.createboxInput:focus
{
  border: 3px solid #555;
}