There are two ways to achieve this.
You can either use a vertical menu and then rotate the content inside it. But that will result in lots of margin, padding issues in an attempt to keep the text inside the menu.
A better way is to use horizontal menu and then rotate the menu as a whole.
You will still have to struggle a bit aligning it with the rest of the content and accommodating for the time when the content box is longer than the menu bar.