update detailed styles of pages