I suggest using the mendix theme template which is on the app store.
https://appstore.mendix.com/link/app/Workshop%20Theme Then adjusting the custom.css file. This is how i create my 3.0 themes. Also use the following documentation. https://world.mendix.com/pages/releaseview.action?pageId=15008476#Advanced-