I’m glad you enjoyed the tutorial. The simplest way I have found of doing this is wrapping your css requires in some check for server/client side, ie:
Though this isn’t ideal. Some other solutions were discussed a few months ago here, which should be of interest.
Hope you find a way you like! :P