css styles for mainHead and mainContent in widget.cpp

fixes problems with ugly UI on non-standard system theme (KDE example)
before: https://i.imgur.com/XJ0mbpi.png
after: https://imgur.com/a/UbgNz