Robertos
Instead of giving it a height, you can use a padding, e.g.:
.Hero::after {
display: block;
background: #eeb;
content: "Your Text here";
color: #840;
padding: 15px;
}
The advantage of this approach is, that the height automatically increases if someone should increase the font size in their browser.
DursunCan hero css does not appear on the homepage.
Applied to the forum here it works fine.
Ralkage I've been working on a notice/alert extension recently but it won't be out anytime soon. Though, seeing that there are people in need of such extension I feel more inclined to work on it more productively
Your solution looks much better indeed, so your extension will be very welcome. My solution could be refined further with a border and a larger font:
.Hero::after {
display: block;
background: #fea;
content: "Your Text here";
color: #830;
padding: 15px;
border: #F7F9F9 solid 10px;
font-size: 120%;
}
... but it will not be possible to include links or make single words stand out somehow.