Commit 3b07e850 by Xavier Antoviaque

html-css-review: Avoid styling with HTML elements as selectors

parent 93d48ea0
blockquote.answer.read_only { .mentoring .answer.read_only {
background: #f9f9f9; background: #f9f9f9;
border-left: 10px solid #ccc; border-left: 10px solid #ccc;
margin: 1.5em 10px; margin: 1.5em 10px;
...@@ -6,7 +6,7 @@ blockquote.answer.read_only { ...@@ -6,7 +6,7 @@ blockquote.answer.read_only {
quotes: "\201C""\201D""\2018""\2019"; quotes: "\201C""\201D""\2018""\2019";
} }
blockquote.answer.read_only:before { .mentoring .answer.read_only:before {
color: #ccc; color: #ccc;
content: "\201C"; content: "\201C";
font-size: 4em; font-size: 4em;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
min-height: 500px; min-height: 500px;
} }
.mentoring-table h3, .mentoring-table h4 { .mentoring-table .hd-lvl1, .mentoring-table .hd-lvl2 {
margin: 0 0 5px; margin: 0 0 5px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment