.main { position: absolute; top: 0; left: 2%; width: 96%; padding-bottom: 50px; } @media screen and (min-width: 600px) { .main { padding-bottom: 50px; top: 0; left: 10%; width: 50%; max-width: 750px; padding-bottom: 50px; min-width: 550px; } .hexdump p { font-family: monospace; font-size: 14px; color: black; } } /*Positioning rules*/ #title { position:static; font-size: x-large; } #title img { position:relative; width: 64px; height: 64px; } img { width: 100%; } video { width: 100%; } #title h1 { position: absolute; top: -15px; left:26%; } #contact { position:absolute; width:22%; } article { text-color:black; } /*Fonts*/ p { line-height:1.2; color:black; font-size: 18px; } code { font-family: monospace; line-height:1.2; color:black; font-size: 11.5px; } h1,h2,h3,h4 { font-family: 'Lato', sans-serif; font-weight: 300; text-color:black; } ul { list-style: none; font-family: 'Lato', sans-serif; font-weight: 300; text-color: black; } ul li:before { content: "\00BB"; } table { font-family: 'Lato', sans-serif; } .post h1 { font-family: "Lato"; font-weight: normal; font-size: 36px; line-height: 36px; padding-top: 32px; padding-bottom: 8px; border-bottom: 1px solid; margin: 0 0 20px 0; color: black; } .post p { font-family: "Lato"; font-size: 18px; color: black; } .post strong { font-family: "Lato"; font-size: 18px; font-weight: 600; color: black;; } .post img { border-style: solid; border-width: 0; } .post a { border-bottom: 1px dashed black; color: black; text-decoration: none; } .post a:hover { border-bottom: 1px solid black; color: black; text-decoration: none; } .hexdump p { font-family: monospace; font-size: 9px; color: black; } .hexdump a { border-bottom: 1px dashed black; color: black; text-decoration: none; } .hexdump a:hover { border-bottom: 1px solid black; color: black; text-decoration: none; } .title h1 { font-family: "Lato"; font-weight: normal; font-size: 36px; line-height: 36px; padding-top: 32px; padding-bottom: 8px; border-bottom: 1px solid; margin: 0 0 20px 0; color: black; } .footer { font-family: "Lato"; position: relative; bottom: 10%; left: 0; width:100%; height: 50px; text-align: center; margin-top: 50px; /* negative value of footer height */ clear:both; } .footer p { font-size: small; color:grey; } pre { background-color:#eeeeee; font-family: monospace; margin: 15px 15px 15px 15px; padding: 10px 10px 10px 10px; overflow: auto; word-wrap: normal; }