css: add margin and change border type