Create custom app add the css in custom app’s public directory to you can include this css you will need to make a entry in hooks.py.
if you wish to override the desk’s css then you will need add the app_include_css & if you wish to override the web page’s css then add the web_include_css.
For more information please check the frappe & erpnext’s hooks.py