Difference between revisions of "EssentialsStyles.css"

From The Grove - Academia de Idiomas
Jump to: navigation, search
(Created page with " ol{ counter-reset: li; →‎Initiate a counter: list-style: none; →‎Remove default numbering: *list-style: decimal; →‎Keep using default numbering for IE6/7: font: ...")
 
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
body h1.firstHeading { display:none; }
  
 
ol{
 
ol{
Line 9: 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 49: 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 89: Line 96:
 
.menuitem ul {
 
.menuitem ul {
 
padding: 0 0 0 2em;
 
padding: 0 0 0 2em;
margin: 0;
+
margin: 0 0 .7em;
 
}
 
}
  
Line 95: Line 102:
 
.menuitem ul li {
 
.menuitem ul li {
 
position: relative;
 
position: relative;
display: block;
+
display: inline;
padding: .4em .4em .4em 2em;
+
padding: .5em 2em;
*padding: .4em;
+
        line-height: 2.8em;
margin: .5em 0;
+
margin-right: .5em;
 
background: #ddd;
 
background: #ddd;
 
color: #444;
 
color: #444;
Line 109: Line 116:
 
margin-bottom: 0;
 
margin-bottom: 0;
 
}
 
}
 +
 +
p {
 +
  max-width: none;
 +
}
 +
 +
h2 { cursor: pointer; }

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