A clean, minimal overlay for 16:9 aspect ratio gameplay with transparent background and completely customizable styling to match your unique stream aesthetic.
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: 1760px; /* Fixed width for 16:9 game window */
--game-height: 990px; /* Fixed height for 16:9 game window (1760 * 9/16) */
--game-left-position: 47%; /* Left position of game window (shifted left to reduce overlap) */
/* Webcam position and size */
--webcam-size: 250px; /* Width and height of webcam container */
--webcam-bottom: 40%; /* Distance from bottom - centers vertically */
--webcam-right: 1%; /* 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 */
}
The overlay borders can be fully personalized to match your stream’s branding:
--border-color
to any color using hex codes (#RRGGBB), RGB, or RGBA values.--border-color
(e.g., rgba(0, 0, 0, 0.8)
for 80% opacity black).--shadow-color
to create subtle depth or glow effects.The game window is positioned slightly to the left (at 49% 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 1760px).--game-height
: The height of the game window in pixels (default 990px).--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%.
The webcam container is highly flexible and offers multiple customization options:
--webcam-size
to create a larger or smaller webcam display.--webcam-bottom
and --webcam-right
(default setup).--webcam-top
and --webcam-left
to position in other corners.--webcam-visibility: none
to completely hide the webcam container.--webcam-bg-color
to any color that matches your stream’s theme.rgba(255, 0, 0, 0.5)
for semi-transparent red).transparent
for no background at all.This minimal overlay is designed to work with any background theme in the repository:
/sources/backgrounds/
directory.