body { margin: 2em auto; max-width: 650px; line-height: 1.6; font-size: 18px; color: #f0efd1; background-color: rgba(10,10,10); padding: 0 10px; } h1, h2, h3, a, dt { color: #cfba58; } h1, h2, h3 { line-height: 1.2; } dt { line-height: 2; } h1 { text-align: center; } a { text-decoration: underline; font-style: italic; } a:hover, a:active { color: #f2e091; } a:active { text-decoration: none; } small { font-size: 13px; } header { text-align: center; } header nav { text-align: center; } img#profile { float: left; } main { margin-top: 5px; background-color: rgba(20,20,20); padding: 0.5em 1em; border-radius: 5px 5px 0px 0px; border: 1px solid rgb(40, 40, 40); } footer { border: 1px solid rgb(40, 40, 40); border-top: 1px solid #cfba58; font-size: 13px; padding: 0.5em 1em; background-color: rgba(15, 15, 15); } pre, samp { padding: 0.25rem 1rem; max-width: 100%; overflow-x: auto; font-family: monospace; font-size: 14px; } pre { background-color: rgb(40, 40, 40); } samp { display: block; line-height: 115%; } /* Photo book styles */ div.photobook { border: 1px solid #aaa; margin: 10px; float: left; text-align: center; } div.photobook:hover { border: 1px solid #cfba58; } div.desc { padding: 10px; text-align: center; font-size: 14px; } img.thumb { margin: 5px; border: 1px solid #aaa; } img.thumb:hover { border: 1px solid #cfba58; } .clearfix:after { content: ""; display: table; clear: both; }