body, input {
font-family: 'Roboto', sans-serif;
- font-size: 120%;
+ font-size: 110%;
}
body {
position: absolute;
top: 50%;
left: 50%;
- margin-left: -10em;
- margin-top: -5em;
- width: 10em;
+ margin-left: -8em; /* width + 2 * padding / 2 */
+ margin-top: -2.5em;
+ width: 12em;
height: 5em;
background: #ff8;
padding: 2em;
border: 0.5em solid #f00;
+ text-align: center;
}
</style>