A clean, minimal overlay for 4:3 aspect ratio gameplay (classic consoles, arcade games, and retro PCs) with transparent background and extensive customization options to create your perfect retro streaming setup.
All customization options are available through CSS variables in the :root
section. This makes it easy to adjust the overlay without having to modify multiple CSS properties.
:root {
/* Colors */
--border-color: rgba(0, 0, 0, 0.8);
--shadow-color: rgba(0, 0, 0, 0.4);
/* Game window position and size - for 1920x1080 resolution */
--game-width: 1420px; /* Fixed width for 4:3 game window */
--game-height: 1065px; /* Fixed height for 4:3 ratio (1420 * 3/4) */
--game-left-position: 45%; /* Left position of game window */
/* Webcam position and size */
--webcam-size: 300px; /* Width and height of webcam container */
--webcam-bottom: 40%; /* Distance from bottom - centers vertically */
--webcam-right: 3%; /* Distance from right */
--webcam-visibility: block; /* Set to "none" to hide webcam container */
--webcam-bg-color: rgba(0, 0, 0, 1); /* Background color behind webcam - solid black */
}
Make the borders truly your own with these customization options:
--border-color
to any color that fits your stream theme.--border-color
(e.g., rgba(0, 0, 0, 0.8)
for 80% opacity).--shadow-color
to create subtle shadows, glows, or highlight effects.The game window is positioned to the left (at 45% by default) to leave more room for the webcam on the right. The window has fixed dimensions optimized for 1920×1080 displays. You can adjust:
--game-width
: The width of the game window in pixels (default 1420px).--game-height
: The height of the game window in pixels (default 1065px).--game-left-position
: The horizontal position of the game window (percentage from left).If you want to center the game window exactly, set --game-left-position
to 50%.
Create the perfect webcam container to complement your retro gameplay:
--webcam-size
to perfectly size your webcam display.--webcam-bottom
and --webcam-right
(default configuration).--webcam-top
and --webcam-left
for other screen positions.--webcam-visibility
between block
and none
to show/hide webcam.--webcam-bg-color: rgba(0, 0, 0, 1)
).rgba(0, 0, 0, 0.7)
).transparent
for a borderless webcam effect.This minimal overlay is designed to work with any background theme in the repository:
/sources/backgrounds/
directory.