Update pseudo-elements to double-colon syntax

This resolve #165.
Merge pull request #172 from battaglr/pseudo-elements

Update pseudo-elements to double-colon syntax