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

From The Grove - Academia de Idiomas
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
DIV#contentSub { padding: 7px 0; margin-bottom: 10px;}
 
DIV#contentSub { padding: 7px 0; margin-bottom: 10px;}
−
DIV#contentSub > a { text-transform:lowercase; }
 
  
 
div#toc { padding-bottom: 10px; }
 
div#toc { padding-bottom: 10px; }
  
−
h2 { padding: 23px 0; text-transform:uppercase; }
+
h2 a, h3 a, h4 a, h5 a, h6 a { text-transform: lowercase; }
−
h3 { padding: 21px 0; text-transform:uppercase; }
 
−
h4 { padding: 19px 0; text-transform:uppercase; }
 
−
h5 { padding: 17px 0; text-transform:uppercase; }
 
−
h6 { padding: 15px 0; text-transform:uppercase; }
 
  
 
#toc ul {
 
#toc ul {

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