generalize inline selectors
style fixes for docs