Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Proper CSS for schema rich snippets (microdata) Reply To: Proper CSS for schema rich snippets (microdata)

#151245
jbc
Participant

Well, I’m making progress and having a nice conversation with myself. To close some of my questions above, I now know what square brackets are for and I trimmed the css a bit. The stars are still a mystery but here is what I have so far.

[itemprop="itemreviewed"],
[itemprop="reviewer"],
[itemprop="dtreviewed"],
[itemprop="summary"],
[itemprop="description"] {
    color: #143196;
    font-family: 'Roboto Slab', serif;
    line-height: 1.2;
    margin: 0 0 15px;
    margin: 0 0 1.5rem;
}

[itemprop="itemreviewed"] {
    font-weight: 400;
    font-size: 20px;
    font-size: 2.0rem;
}

[itemprop="reviewer"], 
[itemprop="dtreviewed"], 
[itemprop="summary"],
[itemprop="description"] {
    font-weight: 300;
    font-size: 16px;
    font-size: 1.6rem;
}