Difference between revisions of "EssentialsStyles.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
Line 97: Line 97:
 
position: relative;
 
position: relative;
 
display: inline;
 
display: inline;
padding: .4em .4em .4em 2em;
+
padding: .5em 2em;
 
*padding: .4em;
 
*padding: .4em;
margin: 1em;
+
margin-right: .8em;
 
background: #ddd;
 
background: #ddd;
 
color: #444;
 
color: #444;

Revision as of 08:09, 15 March 2014

body h1.firstHeading { display:none; }

ol{ counter-reset: li; /* Initiate a counter */ list-style: none; /* Remove default numbering */ *list-style: decimal; /* Keep using default numbering for IE6/7 */ font: 15px 'trebuchet MS', 'lucida sans'; padding: 0; margin-bottom: 4em; text-shadow: 0 1px 0 rgba(255,255,255,.5); }

ol ol{ margin: 0 0 0 2em; /* Add some left margin for inner lists */ }

ol a{ 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; }

ol a:hover{ background: #eee;

       color: #444;

}

ol a:hover:before{

   transform: rotate(360deg);	

}

ol a:before{ content: counter(li); counter-increment: li; position: absolute; left: -1.3em; 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; font-weight: bold; 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: inline; padding: .5em 2em; *padding: .4em; margin-right: .8em; background: #ddd; color: #444; text-decoration: none; border-radius: .3em; transition: all .3s ease-out; }

.menuitem ul li:last-child { margin-bottom: 0; }