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

From The Grove - Academia de Idiomas
Jump to: navigation, search
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CUSTOM CSS FOR MYSELF */
 
/* CUSTOM CSS FOR MYSELF */
  
−
.articlebg {  
+
DIV#contentSub { padding: 7px 0; margin-bottom: 10px;}
−
font-family: Droid Serif, helvetica, sans-serif;
+
 
−
  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 {
 +
  position: relative;
 +
left: 20px;
 
}
 
}
  
−
.articlebg a {
+
/* Styling Checkboxes and Radio buttons
−
color: rgb(142, 198, 63);
+
 
−
text-shadow: 0px 1px 0px rgb(255, 255, 255);
+
label {
 +
display: inline-block;
 +
cursor: pointer;
 +
position: relative;
 +
padding-left: 25px;
 +
margin-right: 15px;
 +
font-size: 13px;
 
}
 
}
  
−
#firstHeading {
+
input[type=radio],
−
display: none;
+
input[type=checkbox] {
 +
display: none;
 
}
 
}
 +
label:before {
 +
content: "";
 +
display: inline-block;
  
 +
width: 16px;
 +
height: 16px;
  
−
/* Styling ordered lists */
+
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);
 +
}
  
−
ol {
+
.radio label:before {
−
    counter-reset:li; /* Initiate a counter */
+
border-radius: 8px;
−
    margin-left:0; /* Remove the default left margin */
 
−
    padding-left:0; /* Remove the default left padding */
 
 
}
 
}
−
ol > li {
+
.checkbox label {
−
    position:relative; /* Create a positioning context */
+
margin-bottom: 10px;
−
    margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
 
−
    padding:4px 8px; /* Add some spacing around the content */
 
−
    list-style:none; /* Disable the normal item numbering */
 
−
    border-top:2px solid #666;
 
−
    background:#f6f6f6;
 
 
}
 
}
−
ol > li:before {
+
.checkbox label:before {
−
     content:counter(li); /* Use the counter as content */
+
     border-radius: 3px;
−
    counter-increment:li; /* Increment the counter by 1 */
+
}
−
    /* Position and style the number */
+
 
−
    position:absolute;
+
input[type=radio]:checked + label:before {
−
     top:-2px;
+
     content: "\2022";
−
     left:-2em;
+
     color: #f3f3f3;
−
     -moz-box-sizing:border-box;
+
     font-size: 28px;
−
     -webkit-box-sizing:border-box;
+
     text-align: center;
−
     box-sizing:border-box;
+
     line-height: 17px;
−
    width:2em;
+
}
−
    /* Some space between the number and the content in browsers that support
+
 
−
      generated content but not positioning it (Camino 2 is one example) */
+
input[type=checkbox]:checked + label:before {
−
    margin-right:8px;
+
content: "\2713";
−
    padding:4px;
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
−
    border-top:2px solid #666;
+
font-size: 15px;
−
    color:#fff;
+
color: #f3f3f3;
−
    background:#666;
+
text-align: center;
−
    font-weight:bold;
+
     line-height: 15px;
−
     font-family:"Helvetica Neue", Arial, sans-serif;
 
−
    text-align:center;
 
 
}
 
}
−
li ol,
+
*/
−
li ul {margin-top:6px;}
 
−
ol ol 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;
}
 */