diff --git a/src/common/components/modal/modal.module.css b/src/common/components/modal/modal.module.css index 0dc6ad7..1e40825 100644 --- a/src/common/components/modal/modal.module.css +++ b/src/common/components/modal/modal.module.css @@ -18,7 +18,7 @@ border-radius: var(--border-radius, 0); &::backdrop { - background-color: var(--shadeColor, rgba(0, 0, 0, 0.2)); + backdrop-filter: blur(5px); } >.content { diff --git a/src/games/ai/assets/bg.jpg b/src/games/ai/assets/bg.jpg new file mode 100644 index 0000000..cec9429 Binary files /dev/null and b/src/games/ai/assets/bg.jpg differ diff --git a/src/games/ai/assets/style.css b/src/games/ai/assets/style.css index 254532e..c3b4611 100644 --- a/src/games/ai/assets/style.css +++ b/src/games/ai/assets/style.css @@ -1,6 +1,6 @@ :root { - --backgroundColorDark: #111111; - --backgroundColor: #333333; + --backgroundColorDark: rgba(0, 0, 0, 0.3); + --backgroundColor: rgba(51, 51, 51, 0.9); --color: #DCDCD2; --italicColor: #AFAFAF; --quoteColor: #D4E5FF; @@ -67,19 +67,27 @@ button { body { color: var(--color); - background-color: var(--backgroundColor); width: 100dvw; height: 100dvh; - - display: flex; - flex-direction: row; - justify-content: center; font-size: 16px; line-height: 1.5; + .root { + background-size: cover; + background-position: center; + background-repeat: no-repeat; + width: 100%; + height: 100%; + + display: flex; + flex-direction: row; + justify-content: center; + } + .app { display: flex; flex-direction: column; + background-color: var(--backgroundColor); width: 100%; max-width: 1200px; diff --git a/src/games/ai/components/app.tsx b/src/games/ai/components/app.tsx index 97b1265..4d4aa76 100644 --- a/src/games/ai/components/app.tsx +++ b/src/games/ai/components/app.tsx @@ -2,12 +2,16 @@ import { Header } from "./header/header"; import { Chat } from "./chat"; import { Input } from "./input"; +import bgImage from '../assets/bg.jpg'; + export const App = () => { return ( -