diff --git a/Games/2048/style.css b/Games/2048/style.css index 5f152ee..16835cb 100644 --- a/Games/2048/style.css +++ b/Games/2048/style.css @@ -13,7 +13,7 @@ body{ justify-content: center; align-items: center; flex-direction: column; - min-height: 100vh; + min-height: 100vmax; background: #333; background-image: url('./pc.jpg'); background-repeat: no-repeat; diff --git a/Games/DiceWar/style.css b/Games/DiceWar/style.css index 4246372..52f0935 100644 --- a/Games/DiceWar/style.css +++ b/Games/DiceWar/style.css @@ -10,7 +10,7 @@ body{ justify-content: center; align-items: center; flex-direction: column; - min-height: 100vh; + min-height: 100vmax; background-color: #333; color: #fff; text-align: center; diff --git a/Games/NumberQuess6/style.css b/Games/NumberQuess6/style.css index 8a4d952..6541811 100644 --- a/Games/NumberQuess6/style.css +++ b/Games/NumberQuess6/style.css @@ -10,7 +10,7 @@ body{ justify-content: center; align-items: center; flex-direction: column; - min-height: 100vh; + min-height: 100dvh; background-color: #333; background-image: url("./pc.jpg"); background-repeat: no-repeat; @@ -118,7 +118,7 @@ button{ .gameBack{ padding: 1rem; height: 400px; - width: 300px; + width: 275px; display: flex; justify-content: space-around; align-items: center; diff --git a/Games/style.css b/Games/style.css index 3d41a3a..cc969c5 100644 --- a/Games/style.css +++ b/Games/style.css @@ -11,7 +11,7 @@ body{ justify-content: center; align-content: center; align-items: center; - min-height: 100vh; + min-height: 100dvh; background: #333; flex-wrap: wrap; position: relative; @@ -104,7 +104,7 @@ body{ width: 200px; height: 150px; border-radius: 10px; - margin: 1rem; + margin: .5rem; overflow: hidden; box-shadow: inset 2.5px 2.5px 7.5px #aaaaaacc, diff --git a/style.css b/style.css index 8150946..7e8ea61 100644 --- a/style.css +++ b/style.css @@ -10,7 +10,7 @@ body{ display: flex; justify-content: center; align-items: center; - min-height: 100vmin; + min-height: 100dvh; background: #333; background-image: url("./img/pc.jpg"); background-repeat: no-repeat;