THE HTML IS VERY SIMPLE: just three divs for the center panel and the left and right wings, and four more for the hinges. The three main divs are styled with a css gradient background.
Everything else — the frames and the horizontal lines in the hinges — is made with :before and :after pseudo-elements.