several pdf css improvements