Difference between revisions of "User:Gustavo/common.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CUSTOM CSS FOR MYSELF */
 
/* CUSTOM CSS FOR MYSELF */
  
−
body {
+
DIV#contentSub { padding: 7px 0; margin-bottom: 10px;}
−
background-image:url('http://thegrove.com.br/metodo/images/d/de/Bgtexture.jpg');
+
 
−
}
+
div#toc { padding-bottom: 10px; }
 +
 
 +
h2 a, h3 a, h4 a, h5 a, h6 a { text-transform: lowercase; }
  
−
toc ul {
+
#toc ul {
 +
position: relative;
 
  left: 20px;
 
  left: 20px;
 
}
 
}
  
−
.articlebg {
+
/* Styling Checkboxes and Radio buttons
−
font-family: Droid Serif, helvetica, sans-serif;
 
−
background-image:url('http://thegrove.com.br/metodo/images/d/de/Bgtexture.jpg');
 
−
}
 
  
−
/*
+
label {
−
.articlebg h1 {
+
display: inline-block;
−
background-attachment: scroll;
+
cursor: pointer;
−
background-clip: border-box;
+
position: relative;
−
background-color: transparent;
+
padding-left: 25px;
−
background-image: none;
+
margin-right: 15px;
−
background-origin: padding-box;
 
−
background-position: 0% 0%;
 
−
background-repeat: repeat;
 
−
background-size: auto auto;
 
−
border-bottom-color: rgb(64, 72, 83);
 
−
border-bottom-style: none;
 
−
border-bottom-width: 0px;
 
−
border-image-outset: 0 0 0 0;
 
−
border-image-repeat: stretch stretch;
 
−
border-image-slice: 100% 100% 100% 100%;
 
−
border-image-source: none;
 
−
border-image-width: 1 1 1 1;
 
−
border-left-color: rgb(64, 72, 83);
 
−
border-left-style: none;
 
−
border-left-width: 0px;
 
−
border-right-color: rgb(64, 72, 83);
 
−
border-right-style: none;
 
−
border-right-width: 0px;
 
−
border-top-color: rgb(64, 72, 83);
 
−
border-top-style: none;
 
−
border-top-width: 0px;
 
−
color: rgb(64, 72, 83);
 
−
font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
 
−
font-size: 26px;
 
−
font-size-adjust: none;
 
−
font-stretch: normal;
 
−
font-style: normal;
 
−
font-variant: normal;
 
−
font-weight: 700;
 
−
line-height: 30px;
 
−
margin-bottom: 28px;
 
−
margin-left: 0px;
 
−
margin-right: 0px;
 
−
margin-top: 2px;
 
−
outline-color: rgb(64, 72, 83);
 
−
outline-style: none;
 
−
outline-width: 0px;
 
−
padding-bottom: 0px;
 
−
padding-left: 0px;
 
−
padding-right: 0px;
 
−
padding-top: 0px;
 
−
text-shadow: rgb(255, 255, 255) 0px 1px 0px;
 
−
vertical-align: baseline;
 
−
-moz-border-bottom-colors: none;
 
−
-moz-border-left-colors: none;
 
−
-moz-border-right-colors: none;
 
−
-moz-border-top-colors: none;
 
−
-moz-font-feature-settings: normal;
 
−
-moz-font-language-override: normal;
 
−
}
 
−
 
 
−
.articlebg p {
 
−
background-attachment: scroll;
 
−
background-clip: border-box;
 
−
background-color: transparent;
 
−
background-image: none;
 
−
background-origin: padding-box;
 
−
background-position: 0% 0%;
 
−
background-repeat: repeat;
 
−
background-size: auto auto;
 
−
border-bottom-color: rgb(85, 85, 85);
 
−
border-bottom-style: none;
 
−
border-bottom-width: 0px;
 
−
border-image-outset: 0 0 0 0;
 
−
border-image-repeat: stretch stretch;
 
−
border-image-slice: 100% 100% 100% 100%;
 
−
border-image-source: none;
 
−
border-image-width: 1 1 1 1;
 
−
border-left-color: rgb(85, 85, 85);
 
−
border-left-style: none;
 
−
border-left-width: 0px;
 
−
border-right-color: rgb(85, 85, 85);
 
−
border-right-style: none;
 
−
border-right-width: 0px;
 
−
border-top-color: rgb(85, 85, 85);
 
−
border-top-style: none;
 
−
border-top-width: 0px;
 
−
color: rgb(85, 85, 85);
 
−
font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
 
 
font-size: 13px;
 
font-size: 13px;
−
font-size-adjust: none;
 
−
font-stretch: normal;
 
−
font-style: normal;
 
−
font-variant: normal;
 
−
font-weight: 400;
 
−
line-height: 20px;
 
−
margin-bottom: 20px;
 
−
margin-left: 0px;
 
−
margin-right: 0px;
 
−
margin-top: 0px;
 
−
outline-color: rgb(85, 85, 85);
 
−
outline-style: none;
 
−
outline-width: 0px;
 
−
padding-bottom: 0px;
 
−
padding-left: 0px;
 
−
padding-right: 0px;
 
−
padding-top: 0px;
 
−
text-shadow: rgb(255, 255, 255) 0px 1px 0px;
 
−
vertical-align: baseline;
 
−
-moz-border-bottom-colors: none;
 
−
-moz-border-left-colors: none;
 
−
-moz-border-right-colors: none;
 
−
-moz-border-top-colors: none;
 
−
-moz-font-feature-settings: normal;
 
−
-moz-font-language-override: normal;
 
 
}
 
}
  
−
articlebg strong {
+
input[type=radio],
−
background-attachment: scroll;
+
input[type=checkbox] {
−
background-clip: border-box;
+
display: none;
−
background-color: transparent;
 
−
background-image: none;
 
−
background-origin: padding-box;
 
−
background-position: 0% 0%;
 
−
background-repeat: repeat;
 
−
background-size: auto auto;
 
−
border-bottom-color: rgb(64, 72, 83);
 
−
border-bottom-style: none;
 
−
border-bottom-width: 0px;
 
−
border-image-outset: 0 0 0 0;
 
−
border-image-repeat: stretch stretch;
 
−
border-image-slice: 100% 100% 100% 100%;
 
−
border-image-source: none;
 
−
border-image-width: 1 1 1 1;
 
−
border-left-color: rgb(64, 72, 83);
 
−
border-left-style: none;
 
−
border-left-width: 0px;
 
−
border-right-color: rgb(64, 72, 83);
 
−
border-right-style: none;
 
−
border-right-width: 0px;
 
−
border-top-color: rgb(64, 72, 83);
 
−
border-top-style: none;
 
−
border-top-width: 0px;
 
−
color: rgb(64, 72, 83);
 
−
font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
 
−
font-size: 13px;
 
−
font-size-adjust: none;
 
−
font-stretch: normal;
 
−
font-style: normal;
 
−
font-variant: normal;
 
−
font-weight: 700;
 
−
line-height: 20px;
 
−
margin-bottom: 0px;
 
−
margin-left: 0px;
 
−
margin-right: 0px;
 
−
margin-top: 0px;
 
−
outline-color: rgb(64, 72, 83);
 
−
outline-style: none;
 
−
outline-width: 0px;
 
−
padding-bottom: 0px;
 
−
padding-left: 0px;
 
−
padding-right: 0px;
 
−
padding-top: 0px;
 
−
text-shadow: rgb(255, 255, 255) 0px 1px 0px;
 
−
vertical-align: baseline;
 
−
-moz-border-bottom-colors: none;
 
−
-moz-border-left-colors: none;
 
−
-moz-border-right-colors: none;
 
−
-moz-border-top-colors: none;
 
−
-moz-font-feature-settings: normal;
 
−
-moz-font-language-override: normal;
 
 
}
 
}
−
*/
+
label:before {
−
 
+
content: "";
−
/* Styling Essentials Menu */
+
display: inline-block;
  
−
body.page-Lesson:Essentials h1.firstHeading { display:none; }
+
width: 16px;
 +
height: 16px;
  
−
ol{
+
margin-right: 10px;
−
counter-reset: li; /* Initiate a counter */
+
position: absolute;
−
list-style: none; /* Remove default numbering */
+
left: 0;
−
*list-style: decimal; /* Keep using default numbering for IE6/7 */
+
bottom: 1px;
−
font: 15px 'trebuchet MS', 'lucida sans';
+
background-color: #95BE8C;
−
padding: 0;
+
box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
−
margin-bottom: 4em;
 
−
text-shadow: 0 1px 0 rgba(255,255,255,.5);
 
 
}
 
}
  
−
ol ol{
+
.radio label:before {
−
margin: 0 0 0 2em; /* Add some left margin for inner lists */
+
border-radius: 8px;
 
}
 
}
−
 
+
.checkbox label {
−
ol a{
+
margin-bottom: 10px;
−
position: relative;
 
−
display: block;
 
−
padding: .4em .4em .4em 2em;
 
−
*padding: .4em;
 
−
margin: .5em 0;
 
−
background: #ddd;
 
−
color: #444;
 
−
text-decoration: none;
 
−
border-radius: .3em;
 
−
transition: all .3s ease-out;
 
 
}
 
}
−
 
+
.checkbox label:before {
−
ol a:hover{
+
    border-radius: 3px;
−
background: #eee;
 
−
        color: #444;
 
 
}
 
}
  
−
ol a:hover:before{
+
input[type=radio]:checked + label:before {
−
     transform: rotate(360deg);
+
     content: "\2022";
 +
    color: #f3f3f3;
 +
    font-size: 28px;
 +
    text-align: center;
 +
    line-height: 17px;
 
}
 
}
  
−
ol a:before{
+
input[type=checkbox]:checked + label:before {
−
content: counter(li);
+
content: "\2713";
−
counter-increment: li;
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
−
position: absolute;
+
font-size: 15px;
−
left: -1.3em;
+
color: #f3f3f3;
−
top: 50%;
 
−
margin-top: -1.3em;
 
−
        color: #FFF;
 
−
background: #fb5235;
 
−
text-shadow: 0 1px 0 rgba(68,68,68,.5);
 
−
height: 2em;
 
−
width: 2em;
 
−
line-height: 2em;
 
−
border: .3em solid #fff;
 
 
text-align: center;
 
text-align: center;
−
font-weight: bold;
+
    line-height: 15px;
−
border-radius: 2em;
 
−
transition: all .3s ease-out;
 
−
}
 
−
 
 
−
.menuitem {
 
−
background: #eee;
 
−
padding: .6em;
 
−
border-radius: .3em;
 
−
text-shadow: 0 1px 0 rgba(255,255,255,.5);
 
−
font: 15px 'trebuchet MS', 'lucida sans';
 
−
margin: .5em;
 
−
}
 
−
 
 
−
.menuitem a{
 
−
text-decoration: none;
 
−
background: #fb5235;
 
−
padding: .3em .8em;
 
−
height: 2em;
 
−
width: 2em;
 
−
line-height: 2em;
 
−
text-shadow: 0 1px 0 rgba(68,68,68,.5);
 
−
color: #FFF;
 
−
text-align: center;
 
−
font-weight: bold;
 
−
border-radius: 2em;
 
−
transition: all .3s ease-out;
 
−
}
 
−
 
 
−
.menuitem a:hover {
 
−
background: #FDBAAE;
 
−
color: #fb5235;
 
−
text-shadow: 0 1px 0 rgba(255,255,255,.5);
 
−
}
 
−
 
 
−
 
 
−
.menuitem ul {
 
−
padding: 0 0 0 2em;
 
−
margin: 0;
 
−
}
 
−
 
 
−
 
 
−
.menuitem ul li {
 
−
position: relative;
 
−
display: block;
 
−
padding: .4em .4em .4em 2em;
 
−
*padding: .4em;
 
−
margin: .5em 0;
 
−
background: #ddd;
 
−
color: #444;
 
−
text-decoration: none;
 
−
border-radius: .3em;
 
−
transition: all .3s ease-out;
 
−
}
 
−
 
 
−
.menuitem ul li:last-child {
 
−
margin-bottom: 0;
 
 
}
 
}
 +
*/

Latest revision as of 13:36, 21 May 2014

/* CUSTOM CSS FOR MYSELF */

DIV#contentSub { padding: 7px 0; margin-bottom: 10px;}

div#toc { padding-bottom: 10px; }

h2 a, h3 a, h4 a, h5 a, h6 a { text-transform: lowercase; }

#toc ul {
 position: relative;
 left: 20px;
}

/* Styling Checkboxes and Radio buttons

label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 25px;
	margin-right: 15px;
	font-size: 13px;
}

input[type=radio],
input[type=checkbox] {
	display: none;
}
label:before {
	content: "";
	display: inline-block;

	width: 16px;
	height: 16px;

	margin-right: 10px;
	position: absolute;
	left: 0;
	bottom: 1px;
	background-color: #95BE8C;
	box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}

.radio label:before {
	border-radius: 8px;
}
.checkbox label {
	margin-bottom: 10px;
}
.checkbox label:before {
    border-radius: 3px;
}

input[type=radio]:checked + label:before {
    content: "\2022";
    color: #f3f3f3;
    font-size: 28px;
    text-align: center;
    line-height: 17px;
}

input[type=checkbox]:checked + label:before {
	content: "\2713";
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
	font-size: 15px;
	color: #f3f3f3;
	text-align: center;
    line-height: 15px;
}
 */