html, body { min-height: 100%; padding-bottom: 3em; } body { line-height: 1.5; font-family: Arial, Helvetica, sans-serif; font-size: 14pt; } .content { width: 80%; width: calc(100% - 150px); margin: auto; } .em { font-style: italic; } h1 { font-size: 3em; } h2 { font-size: 2.25em; } p { margin-bottom: .5em; } blockquote { padding-left: 10px; } a { font-weight: bold; } ul li { list-style: disc; } img { max-width: 100%; } .nav_links { padding: .3em .5em; text-align: center; margin-bottom: 1em; li { display: inline; a { padding: .3em .5em; } } } .btn { padding: .4em .65em; text-decoration: none; border-radius: 4px; } .img-container { overflow-x: auto; max-width: 100%; } @media screen and (max-width:540px) { .content { width: 95%; width: calc(100% - 50px); } h1 { font-size: 2.3em; } h2 { font-size: 2em; } } @media screen and (max-width:450px) { img { max-width: initial; } }