This repository has been archived on 2025-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
Webtris/css/style.css
2019-10-29 00:57:33 +01:00

101 lines
2.0 KiB
CSS

@font-face {
font-family: 'Share Tech';
font-style: normal;
font-weight: 400;
src: local('Share Tech Regular'), local('ShareTech-Regular'), url(fonts/ShareTech.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Share Tech Mono';
font-style: normal;
font-weight: 400;
src: local('Share Tech Mono Regular'), local('ShareTechMono-Regular'), url(fonts/ShareTechMono.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
color: white;
font-family: 'Share Tech';
font-size: 1.05em;
}
body {
background-image: url("images/bg.jpg");
background-size: cover;
}
h1 {
font-size: 50px;
margin: 40px;
text-shadow: 3px 2px rgb(153, 145, 175);
text-align: center;
}
button {
color: black;
width: 100%;
}
a {
text-decoration: none;
}
#actions {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
margin: 40px auto;
width: 700px;
justify-items: left;
}
#play {
color: LightCyan;
text-align: center;
font-weight: bold;
text-shadow: 2px 1px rgb(153, 145, 175);
font-size: 1.5em;
margin: 30px;
}
#grid {
display: grid;
grid-template-columns: 2fr 3fr 10fr 6fr;
grid-gap: 20px;
margin: auto;
width: 550px;
}
#hold {
grid-column: 1 / 3;
grid-row: 1;
width: 120px;
}
#stats-names {
grid-column: 1;
grid-row: 2;
font-family: 'Share Tech';
text-align: left;
align-self: top;
}
#stats-values {
grid-column: 2;
grid-row: 2;
text-align: right;
font-family: 'Share Tech Mono';
align-self: top;
}
#matrix {
grid-column: 3;
grid-row: 1 / 3;
border: 0.5px solid grey;
}
#next {
grid-column: 4;
grid-row: 1 / 3;
}