Home › Forums › CSS › Proper CSS for schema rich snippets (microdata) › Reply To: Proper CSS for schema rich snippets (microdata)
September 25, 2013 at 4:35 pm
#151248
Alen
Participant
Something like this:
[itemprop]{
/* Shared Styles */
margin: 0 0 15px;
margin: 0 0 1.5rem;
font-family: 'Roboto Slab', serif;
line-height: 1.2;
color: #143196;
}
[itemprop="itemreviewed"]{
/* Individual Styles */
font-size: 20px;
font-size: 2.0rem;
font-weight: 400;
}
[itemprop="reviewer"],
[itemprop="dtreviewed"],
[itemprop="summary"],
[itemprop="description"]{
/* Individual Styles */
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
}
Note, not tested!