@charset "utf-8"; /* CSS Document */ .onlyImage{ position:relative; width:100%; background-image: url("../img/onlyImage.png"); text-align: center; margin-bottom:40px; } .onlyImage a{ text-decoration: none; } .onlyImage img{ display:block; width:100%; } .onlyImage div{ position:absolute; top:0; width:100%; text-align: center; } .onlyImage h1{ border-top:none; } .onlyImage .orange{ border: solid white 4px; border-top:none; border-left:none; padding: 0 20px 0 0; color: #EE9929; margin-top:0px; } .onlyImage h3{ position:absolute; width:100%; top:40%; font-family: "Merriweather"; color:white; margin: 0; font-weight: bold; } @media (max-width:600px){ .onlyImage .underlined{ padding-bottom: 4px; border-width: 2px; } .onlyImage h3{ font-size: 18px; } }