body, html { height: 100%; font-family: Arial, Helvetica, sans-serif; max-width: 80%; min-width: 600px; margin: 0 auto; } .hero-image { background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("image.png"); height: 50%; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; } .hero-text { text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; } .roles { text-align: center; left: 35%; background-color: #f1f1f1; } .roles-inner { padding: 10px 25px; background-color: #ffffff; } .hero-text img { border-radius: 10%; width: 50%; } .hero-text button { border: none; outline: 0; display: inline-block; padding: 10px 25px; color: black; background-color: #ddd; text-align: center; cursor: pointer; } .hero-text button:hover { background-color: #555; color: white; } .button { border-radius: 4px; background-color: #999; border: none; color: #FFFFFF; text-align: center; font-size: 18px; padding: 10px; width: 20%; max-width: 200px; min-width: 100px; transition: all 0.5s; cursor: pointer; margin: 5px; } .button span { cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } .button span:after { content: '\00bb'; position: absolute; opacity: 0; top: 0; right: -20px; transition: 0.5s; } .button:hover span { padding-right: 25px; } .button:hover span:after { opacity: 1; right: 0; } .buttonselected { border-radius: 4px; background-color: #666; border: none; color: #FFFFFF; text-align: center; font-size: 18px; padding: 10px; width: 20%; max-width: 200px; min-width: 100px; transition: all 0.5s; cursor: pointer; margin: 5px; } .buttonselected span { cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } .buttonselected span:after { content: '\00bb'; position: absolute; opacity: 0; top: 0; right: -20px; transition: 0.5s; } .buttonselected:hover span { padding-right: 25px; } .buttonselected:hover span:after { opacity: 1; right: 0; } .container { border: 2px solid #dedede; background-color: #f1f1f1; border-radius: 5px; padding: 10px; margin: 10px 0; } .container { border: 2px solid #dedede; background-color: #f1f1f1; border-radius: 5px; padding: 10px; margin: 10px 0; } .darker { border-color: #ccc; background-color: #ddd; } .container::after { content: ""; clear: both; display: table; } .container img { float: left; max-width: 60px; width: 100%; margin-right: 20px; border-radius: 10%; } .container img.attachment { max-width: 100%; margin-left: 25%; width: 50%; border-radius: 10%; } .container img.right { float: right; margin-left: 20px; margin-right:0; } .time-right { float: right; color: #aaa; } .time-left { float: left; color: #999; } .post-title { margin-top: 0px; color: #444; } .share-title { margin-top: 0px; color: #222; } .skill-title { margin-left: 25%; text-align: left; font-size: 24px; font-weight: bold; color: #666; line-height: 40px; } #myProgress { float: left; width: 70%; background-color: #f1f1f1; } #myBar { float: left; width: 10%; height: 30px; background-color: #999; }