Difference between revisions of "EssentialsStyles.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
text-shadow: 0 1px 0 rgba(255,255,255,.5);
 
text-shadow: 0 1px 0 rgba(255,255,255,.5);
 
}
 
}
 +
 +
.tier2 > ol { counter-reset: li 10; }
 +
.tier3 > ol { counter-reset: li 20; }
 +
.tier4 > ol { counter-reset: li 30; }
 +
.tier5 > ol { counter-reset: li 40; }
 +
.tier6 > ol { counter-reset: li 50; }
  
 
ol ol{
 
ol ol{
Line 50: Line 56:
 
width: 2em;
 
width: 2em;
 
line-height: 2em;
 
line-height: 2em;
border: .3em solid #fff;
+
border: .1em solid #fff;
 
text-align: center;
 
text-align: center;
 
font-weight: bold;
 
font-weight: bold;
Line 56: Line 62:
 
transition: all .3s ease-out;
 
transition: all .3s ease-out;
 
}
 
}
 
div.tier2 > ol a:before { counter-reset: li 10; counter-increment: a; }
 
 
  
 
.menuitem {
 
.menuitem {

Latest revision as of 18:03, 20 May 2021

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); }

.tier2 > ol { counter-reset: li 10; } .tier3 > ol { counter-reset: li 20; } .tier4 > ol { counter-reset: li 30; } .tier5 > ol { counter-reset: li 40; } .tier6 > ol { counter-reset: li 50; }

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: .1em 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 0 .7em; }


.menuitem ul li { position: relative; display: inline; padding: .5em 2em;

       line-height: 2.8em;

margin-right: .5em; background: #ddd; color: #444; text-decoration: none; border-radius: .3em; transition: all .3s ease-out; }

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

p {

  max-width: none;

}

h2 { cursor: pointer; }