prime8dev

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

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

style(web): center the home page on wide screens

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

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