Adding custom css to a theme depending on whether the admin user is logged in or not

It depends on how your main site bar is being blocked.

you could just add some custom CSS to the

#wpadminbar {
    position: absolute;
    top: -xx px;
}

Where xx px moves the bar enough to see what you need to see.