add root resource style