Files
games4.zane/styles.css

62 lines
1.0 KiB
CSS

body {
background-image: url('images/arcade.png');
justify-content: center;
align-items: center;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #242424;
margin: 100px auto;
max-width: 50%;
}
.logo {
align-self: center;
justify-self: center;
display: block;
margin: -130px auto;
}
h1 {
color: #ffffff;
}
h3 {
color: #ffffff;
}
p {
color: #ffffff;
}
ul {
color: #ffffff;
}
a:visited {
color: #8686ff;
}
a:link {
color: #7373ff;
}
a:hover {
color: #4343ff;
}
#flash-container {
width: 100%;
max-width: 80%;
aspect-ratio: 4 / 3; /* adjust if needed */
margin: auto;
}
#flash-container ruffle-player,
#flash-container canvas {
width: 100% !important;
height: 100% !important;
object-fit: contain;
}
#flash-container {
width: min(90vw, 800px); /* container size */
margin: auto;
display: flex;
justify-content: center;
align-items: center;
}