Difference between revisions of "MediaWiki:Common.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
Line 48: Line 48:
 
   padding: 10px 18px;  
 
   padding: 10px 18px;  
 
   color: #FFF;
 
   color: #FFF;
−
   background: #A1F5B2; /* #2D9F44; */
+
   background: #2D9F44;  
 
/*  box-shadow: 1px 1px 5px #6CE083; */
 
/*  box-shadow: 1px 1px 5px #6CE083; */
 
   border: none;
 
   border: none;

Revision as of 10:57, 14 February 2014

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

/* Removing numbers from the TOC */

.tocnumber { display: none; }

/* Styling Submit Button */

input[type=submit] {
  padding: 10px 25px; 
  color: #FFF;
  background:#2D9F44; 
/*  box-shadow: 1px 1px 5px #6CE083; */
  border: none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px; 
  font-size: 15px;
  margin-right: 5px;
}

input[type=submit]:hover {
  background: #2FA948; /* #48C962; #33B64D; */
  box-shadow: 3px 3px 5px #6CE083;
} 

/* Styling Next Lesson Button */

.nextlessonbtn a {
  padding: 10px 25px; 
  color: #FFF;
  background:#2D9F44; 
/*  box-shadow: 1px 1px 5px #6CE083; */
  border: none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px; 
  font-size: 15px;
  margin: 25px 0;
}

.nextlessonbtn a:hover {
  background: #2FA948; /* #48C962; #33B64D; */
  box-shadow: inset -3px -3px #26893A;
} 

.subpages {
  padding: 10px 18px; 
  color: #FFF;
  background: #2D9F44; 
/*  box-shadow: 1px 1px 5px #6CE083; */
  border: none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px; 
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 30px;
  text-indent: -9999px;
}

.subpages a {
  color: #FFF;
  padding-left: 10px;
  font-weight: normal;
}

.subpages a:hover {
  background: #2D9F44; 
}

/* Styling Login Page */

.wpName1 {
 line-height: 30px;
}

/* don't display Main Page on the Main Page */
body.page-Main_Page h1.firstHeading { display:none; }

/* prettytable class for skinning normal tables */

table.prettytable {
	margin: 20px;
	border: #2D9F44 1px solid;
/*	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;*/
	border-spacing: 0;
	empty-cells: show;
}
	
table.prettytable th {
	background: #2D9F44;
	padding:4px 10px;
	text-align: center; 
	color: white;
/*	text-shadow: .01em .01em 1px #eeeeee;*/
}

table.prettytable td {
	background: white;
	padding:2px 10px 4px 10px;
	border-right: 1px solid #2D9F44;
}

table.prettytable tc:last-child td:last-child {
	border-right: none;
}


/* OLD STYLE FOR PRETTY TABLES
table.prettytable { margin:1em 1em 1em 0em; background:#e5f7fe; border:1px #aaaaaa solid; border-collapse:collapse; }
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.5em; }
table.prettytable th { background:#e8fee5; text-align:center; }
table.prettytable caption { margin-left:inherit; margin-right:inherit; }
*/

/* nicetable class for skinning normal tables */
table.nicetable { margin:1em 1em 1em 0em; background:#e5f7fe; border:1px #aaaaaa solid; border-collapse:collapse; }
table.nicetable th, table.nicetable td { border:1px #aaaaaa solid; padding:1.2em; }
table.nicetable th { background:#e8fee5; text-align:center; }
table.nicetable caption { margin-left:inherit; margin-right:inherit; } 

table.table { border-spacing:0em 0.5em; }
table.table tr>td { padding:0.25em 1em; }
table.table tr.even { background:#f7941d; }
table.table tr.odd { background:#f7941d; }

/* Styling Definition and Translation Buttons in the Vocabulary List */

.deftrans p {
        width: 50%;
	font-family: helvetica, sans-serif;
	background-color: #eee;
	color: #333333;
	border-radius:	25px;
	margin: 0 0 5px 0;
	padding: 0;
	font-size: 18px;
	line-height: 18px;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.deftrans span {
	position: relative;
	width: 20px;
	height: 20px;
	border-radius: 15px;
	line-height: 35px;
	text-align: center;
	padding: 5px 10px;
	margin-left: 3px;
	font-size: 12px;
	left: 3px;
}

.deftrans a {
	text-decoration: none;
	color: white;
	text-shadow: 0 1px 0 rgba(68,68,68,.5);
}

span.defbtn {
	background-color: #fb5235;
}

span.transbtn {
	background-color: #596138;
}

span.defbtn:hover {
	background-color: #FDBAAE;
	color: #fb5235;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

span.transbtn:hover {
	background-color: #C0CA97;
	color: #596138;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.deftrans p:hover {
	background-color: #E3E3E2;
}

/* Removing Numbers from Ordered Lists in Quizes */

.nonumbers ol > li {
  display: none;
  list-style:none; 
}

/* Fixing input heights for login and create user pages */

INPUT#wpName1.loginText,
INPUT#wpName2.mw-input.loginText,
INPUT#wpPassword1.loginPassword,
INPUT#wpPassword2.mw-input.loginPassword,
INPUT#wpRetype.mw-input.loginPassword,
INPUT#wpEmail.mw-input.loginText,
INPUT#wpRealName.mw-input.loginText,
INPUT#wpReason.mw-input.loginText,
INPUT#mw-input-wpUsername
 {
	height: 28px;
}

.exercisenumberedlist {
	float: left;
	width: 25px;
	height: 25px;
	background: #eee;
	color: #fb5235;
	font-weight: bold;
	padding: 5px 3px 3px 3px;
	text-align: center;
	font-size: 18px;
	margin-right: 10px;
	position: relative;
	text-shadow: 1px 1px 10px #FFF;
	border-bottom: 2px dotted #fb5235;
}