language: CSS
934 Bytes / 54 lines / 46 loc
@font-face {
font-family: Scoreboard;
src: url(scoreboard.ttf) format("truetype");
}
body {
font-family: Scoreboard;
color: rgb(255,147,41);
font-size: 29pt;
font-weight: bold;
margin: 0;
padding: 0;
background-size: cover; /* <------ */
background-repeat: no-repeat;
background-position: center center; /* optional, center the image */
}
#background {
position: absolute;
z-index: -1;
min-height: 100%;
width: 100%
}
table {
border-collapse: collapse;
width: 95%;
margin: 0 auto;
}
tr {
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
td {
padding: .6ex .5ex;
background: black;
background-clip: padding-box;
}
tr > td:first-child {
padding-left: 1.3ex;
width: 3.5em;
}
tr > td:first-child + td {
width: 1.5em;
}
img.line {
margin-top: .2ex;
width: 1.8em;
}