add missing method definition in header
add shadow opacity property
fix a typo
make layout code more responsive, related to font size