:root { --paper-color: #ffffea; --light-yellow: #eeee9e; --dark-yellow: #99994c; --light-blue: #eaffff; --dark-blue: #8888cc; --light-gray: #eee; --dark-gray: #888; } html { background: var(--light-gray); } body { margin: 1rem auto; padding: .5rem 1rem .25rem; max-width: 60rem; border: 1px solid var(--dark-yellow); box-shadow: 2px 2px var(--dark-yellow); } body { line-height: 1.35rem; font-family: serif; text-rendering: optimizeLegibility; color: #000; background: #fff; } .content { margin-left: auto; margin-right: auto; max-width: 45rem; } header { margin-bottom: 2rem; } nav ul { display: flex; flex-wrap: wrap; } nav li { display: inline-block; width: 16.66666667%; /* 1/6 */ margin: .1rem 0 .1rem 1.5rem; } nav li:first-child { margin-left: 0; } nav a { display: inline-block; width: 100%; text-align: center; vertical-align: middle; white-space: nowrap; color: #000; border: .1rem solid var(--dark-blue); box-shadow: .1rem .1rem var(--dark-blue); } li.nav-active a { font-weight: bold; box-shadow: .2rem .2rem var(--dark-yellow); } nav a:active { box-shadow: 0 0; } ul { padding: 0; } p { text-align: justify; hyphens: auto; text-justify: inter-word; } a { text-decoration: none; border: 1px solid transparent; } a:hover { text-decoration: none; color: #000; background: var(--light-blue); } a:active { text-decoration: none; color: #000; background: var(--light-blue); border: 1px solid var(--dark-blue); } h1 { font-size: 130%; } h2 { font-size: 120%; } h3 { font-size: 110%; } table { border-collapse: collapse; text-align: left; margin-bottom: 1.5rem; } thead tr { border: 1px solid #000; } tr { border: 1px solid var(--dark-gray); } th, td { padding: .15rem .6rem .15rem; vertical-align: middle; }