@charset "UTF-8"; body { font-family: Arial, sans-serif; font-size: 12px; } h1, h2, h3, h4 { font-weight: normal; font-size: inherit; padding: 0; margin: 0; } .header { margin: auto; max-width: 960px; height: 64px; display: flex; align-items: center; padding: 0 16px; box-sizing: border-box; border-bottom: 1px solid #d6d6d6; color: #333; font-size: 22px; } html, body { height: 100%; margin: 0; } .center-box-vertically { height: 50%; float: left; width: 100%; } .box { clear: both; margin: auto; width: 600px; background-color: #ebebeb; border: 1px solid #c2c2c2; border-radius: 5px; box-shadow: 0 4px 8px #888; text-align: left; } body { text-align: center; } .title { overflow: hidden; width: 560px; padding: 20px; border-bottom: 1px solid #cccccc; margin-bottom: 20px; } .title img { float: left; margin-right: 15px; width: 40px; height: 40px; } .title h1 { font-size: 30px; color: #d03a00; margin-top: 2px; } .description { background-color: #d85635; border: 1px solid #7d0000; background: linear-gradient(#e97d71, #ca3604); border-radius: 5px; padding: 8px; text-align: center; margin: 20px; } .description h2 { font-size: 16px; color: white; line-height: 150%; } .instructions, .support { background-color: #d7d7d7; background: linear-gradient(#d7d7d7, #ebebeb); border-radius: 5px; padding: 10px; margin: 20px; } .instructions h2, .support h2 { font-size: 21px; } .instructions h3, .support h3 { font-size: 15px; } .instructions h4, .support h4 { font-size: 13px; color: #505050; } .support span { display: inline-block; } .code h4 { text-align: right; font-size: 13px; color: #505050; margin: 0 20px 20px 0; } @media (max-width: 700px) { .box { width: calc(100% - 20px); margin: 0 10px; } .title { width: auto; } .title h1 { font-size: 24px; } }