base style and layout