body { background-color: #ddd; } section { margin-top: 50px; } section header, section article { background-color: white; border-radius: 5px; padding: 10px; margin: 10px; } header h1 { font-size: xx-large; } nav { background-color: #333; text-align: center; position: fixed; left: 0; top: 0; width: 100%; z-index: 10000; } nav ul { margin: 5px 0 5px 0; } nav li { display: inline-block; font-size: larger; } nav a { position: relative; display: inline-block; color: #fff; text-decoration: none; border-radius: 8px; padding: 5px; transition: background-color .2s ease-in-out; } nav ul li:before { content: '•'; color: #aaa; margin: 0 5px 0 5px; display: inline-block; } nav ul li:first-child:before { content : ''; } nav a:hover { background: #222; } nav a:active { background: #444; }