diff --git a/css/style.css b/css/style.css index 95c687b..eb7c6ba 100644 --- a/css/style.css +++ b/css/style.css @@ -38,6 +38,19 @@ body { margin-bottom: 10px; } +.game-container { + background-color: #000000; + border: 3px solid #9D4300; + border-radius: 10px; + padding: 3px 3px; + text-align: center; + width: 100%; /* Full width relative to the container */ + max-width: 550px; /* Limit width to 640px */ + height: auto; + max-height: 480px; /* Limit height to 480px */ + margin-bottom: 10px; +} + .inner-container img { height: auto; /* Set image height */ width: 90%; /* Maintain aspect ratio */ @@ -78,6 +91,12 @@ body { line-height: 1; /* Ensure the line-height is tight */ } +.center { + display: flex; + justify-content: center; + align-items: center; +} + /* 1px separator styling */ .separator { border: 0; diff --git a/games/swf/index.html b/games/swf/index.html index bc83796..dbb945e 100644 --- a/games/swf/index.html +++ b/games/swf/index.html @@ -12,8 +12,21 @@
World's Hardest Game
- - + + +