prime8dev

prime8dev
git clone https://git.prime8.dev/prime8dev.git
Log | Files | Refs | README | LICENSE

commit a9fdf38bb476af1b8d7155ccf99e7a0a3a56371a
parent b4361c80bcdb7004295325ea721500a5652f6d07
Author: Damian Myrda <damian@prime8.dev>
Date:   Wed, 11 Sep 2024 07:57:53 -0500

Center home page when screen is big enough

Diffstat:
Mweb/templates/index.html | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/web/templates/index.html b/web/templates/index.html @@ -98,5 +98,16 @@ max-width: 800px !important; margin: auto !important; } + + @media (min-width: 1200px) { + #content { + margin: 0 !important; + position: absolute !important; + top: 50% !important; + left: 50% !important; + transform: translate(-50%, -50%) !important; + width: 800px; + } + } </style> {% endblock %}