96 lines
1.4 KiB
CSS
96 lines
1.4 KiB
CSS
@import url('./theme.css');
|
|
@import url('./tf.css');
|
|
|
|
@font-face {
|
|
font-family: 'scientifica';
|
|
src: url('/fonts/scientifica.ttf');
|
|
}
|
|
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: 'scientifica', monospace;
|
|
transition: background 0.2s ease-in-out;
|
|
font-smooth: never;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
a {
|
|
color: var(--blue);
|
|
}
|
|
a:visited {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.main {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
min-width: 600px;
|
|
width: 45%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.content {
|
|
border-top: 1px solid var(--yellow);
|
|
border-bottom: 1px solid var(--yellow);
|
|
max-height: 90vh;
|
|
}
|
|
|
|
.footer {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
}
|
|
|
|
.title {
|
|
text-decoration: none;
|
|
}
|
|
.title:hover {
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.centered-game {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-bottom: 1rem;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.centered-game canvas {
|
|
display: block;
|
|
max-height: 90%;
|
|
width: auto;
|
|
max-width: 100%;
|
|
border: 1px solid var(--yellow);
|
|
border-radius: 0.5rem;
|
|
margin: 0;
|
|
}
|