San Francisco is a walker's paradise. In particular, there are the off-street stairways that take you to all sorts of interesting nooks and crannies.
There has even been an excellent book published about San Francisco's stairways: Stairway Walks in San Francisco by Adah Bakalinsky. There is also a good web site: http://www.sisterbetty.org/stairways/