Difference between revisions of "MediaWiki:Common.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
 
(96 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
.tooltip.top .tooltip-arrow {
 +
  bottom: 0;
 +
  left: 50%;
 +
  margin-left: -5px;
 +
  border-top-color: #fff;
 +
  border-width: 5px 5px 0;
 +
}
 +
.tooltip-inner {
 +
  color: #000;
 +
  background: #fff;
 +
  border: solid 1px #fff;
 +
}
 +
 +
body {
 +
background-image:url('http://thegrove.com.br/metodo/images/d/de/Bgtexture.jpg');
 +
}
 +
 +
.mw-headline b {
 +
  color: rgb(20, 95, 168);
 +
  text-shadow: 2px 2px rgba(0, 0, 0, 0.12);
 +
}
 +
/* Floating audio players in headers to the right */
 +
 +
span.mw-headline audio {
 +
    float: right;
 +
    margin-top: 5px;
 +
    margin-bottom: 5px;
 +
    }
 +
 +
/* FIREPAD TEST */
 +
 +
    .firepad-userlist {
 +
      position: absolute; left: 0; top: 0; bottom: 0; height: auto;
 +
      width: 175px;
 +
    }
 +
    .firepad {
 +
      position: absolute; left: 175px; top: 0; bottom: 0; right: 0; height: auto;
 +
    }
 +
 +
 +
 +
 +
/* 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;
 +
}
 +
 +
 +
/* Styling Exercise Out Button */
 +
 +
.exercise-link a {
 +
  padding: 10px 12px;
 +
  color: #FFF;
 +
  background:#2D9F44;
 +
  border: none;
 +
  cursor: pointer;
 +
  border-radius: 5px;
 +
  font-size: 15px;
 +
  margin: 25px 0;
 +
}
 +
 +
span.exercise-link {
 +
  line-height: 50px;
 +
  margin-left: 30px;
 +
}
 +
 +
.exercise-link a:hover {
 +
  background: #2FA948; /* #48C962; #33B64D; */
 +
}
 +
 +
 +
 +
.skype a {
 +
background: #0080FF;
 +
}
 +
.skype a:hover {
 +
background: #0080FF;
 +
  box-shadow: inset -3px -3px #0431B4;
 +
}
 +
 +
/* Styling Out Button */
 +
 +
.outbtn div { position: relative; clear: both; }
 +
 +
.outbtn a {
 +
  position: absolute;
 +
  left: 30px;
 +
  padding: 10px 15px;
 +
  color: #FFF;
 +
  background:#2D9F44;
 +
/*  box-shadow: 1px 1px 5px #6CE083; */
 +
  border: none;
 +
  cursor: pointer;
 +
  -webkit-border-radius: 5px;
 +
  border-radius: 5px;
 +
  font-size: 15px;
 +
}
 +
 +
.outbtn 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 */
 
/* don't display Main Page on the Main Page */
Line 5: Line 178:
  
 
/* prettytable class for skinning normal tables */
 
/* prettytable class for skinning normal tables */
−
table.prettytable { margin:1em 1em 1em 0em; background:#f7941d; border:1px #aaaaaa solid; border-collapse:collapse; padding:4em; }
+
 
−
table.prettytable th, table.prettytable td { border:1px #aaaaaa solid; padding:0.2em; }
+
table.prettytable {
−
table.prettytable th { background:#f2f2f2; text-align:center; }
+
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; }
 
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 { border-spacing:0em 0.5em; }
 
table.table tr>td { padding:0.25em 1em; }
 
table.table tr>td { padding:0.25em 1em; }
 
table.table tr.even { background:#f7941d; }
 
table.table tr.even { background:#f7941d; }
 
table.table tr.odd { background:#f7941d; }
 
table.table tr.odd { background:#f7941d; }
 +
 +
/* Styling Definition and Translation Buttons in the Vocabulary List */
 +
 +
.deftrans p {
 +
        max-width: 600px;
 +
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;
 +
}
 +
 +
.olalphabet ol {
 +
  list-style-type:lower-alpha;
 +
}
 +
 +
/* Responsive Embed Videos */
 +
 +
.video-container {
 +
    position: relative;
 +
    padding-bottom: 56.25%;
 +
    padding-top: 30px; height: 0; overflow: hidden;
 +
}
 +
 +
.video-container iframe,
 +
.video-container object,
 +
.video-container embed {
 +
    position: absolute;
 +
    top: 0;
 +
    left: 0;
 +
    width: 100%;
 +
    height: 100%;
 +
}
 +
 +
/* Setting max-width for paragraphs */
 +
 +
p {
 +
  max-width: 720px;
 +
}
 +
 +
/* Fixing LI padding for Matching exercises */
 +
 +
.match li {
 +
  padding: 11px 0;
 +
}

Latest revision as of 12:11, 27 September 2014

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

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #fff;
  border-width: 5px 5px 0;
}
.tooltip-inner {
  color: #000;
  background: #fff;
  border: solid 1px #fff;
}

body {
 background-image:url('http://thegrove.com.br/metodo/images/d/de/Bgtexture.jpg');
}

.mw-headline b {
  color: rgb(20, 95, 168);
  text-shadow: 2px 2px rgba(0, 0, 0, 0.12);
}
/* Floating audio players in headers to the right */

span.mw-headline audio {
    float: right;
    margin-top: 5px;
    margin-bottom: 5px;
    }

/* FIREPAD TEST */

    .firepad-userlist {
      position: absolute; left: 0; top: 0; bottom: 0; height: auto;
      width: 175px;
    }
    .firepad {
      position: absolute; left: 175px; top: 0; bottom: 0; right: 0; height: auto;
    }




/* 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;
}


/* Styling Exercise Out Button */

.exercise-link a {
  padding: 10px 12px; 
  color: #FFF;
  background:#2D9F44; 
  border: none;
  cursor: pointer;
  border-radius: 5px; 
  font-size: 15px;
  margin: 25px 0;
}

span.exercise-link {
  line-height: 50px; 
  margin-left: 30px;
}

.exercise-link a:hover {
  background: #2FA948; /* #48C962; #33B64D; */
}



.skype a {
background: #0080FF;
}
.skype a:hover {
background: #0080FF;
  box-shadow: inset -3px -3px #0431B4;
} 

/* Styling Out Button */

.outbtn div { position: relative; clear: both; }

.outbtn a {
  position: absolute;
  left: 30px;
  padding: 10px 15px; 
  color: #FFF;
  background:#2D9F44; 
/*  box-shadow: 1px 1px 5px #6CE083; */
  border: none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px; 
  font-size: 15px;
}

.outbtn 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 {
        max-width: 600px;
	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;
}

.olalphabet ol {
   list-style-type:lower-alpha;
}

/* Responsive Embed Videos */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Setting max-width for paragraphs */

p {
   max-width: 720px;
}

/* Fixing LI padding for Matching exercises */

.match li {
  padding: 11px 0;
}