# HG changeset patch # User Kim Alvefur # Date 1679584749 -3600 # Node ID 7acf73d2ebb5f1c3cbef5918e4e74ec355089105 # Parent 0e5a37f554408db78752f16e87e6bee1ddd5d72a mod_http_oauth2: Use
in templates because it looks nice Removes some CSS as well diff -r 0e5a37f55440 -r 7acf73d2ebb5 mod_http_oauth2/html/consent.html --- a/mod_http_oauth2/html/consent.html Thu Mar 23 12:47:51 2023 +0100 +++ b/mod_http_oauth2/html/consent.html Thu Mar 23 16:19:09 2023 +0100 @@ -13,7 +13,8 @@ }

{site_name}

-

Authorize new application

+
+ Authorize new application

A new application wants to connect to your account.

Name
@@ -40,6 +41,7 @@ +
diff -r 0e5a37f55440 -r 7acf73d2ebb5 mod_http_oauth2/html/login.html --- a/mod_http_oauth2/html/login.html Thu Mar 23 12:47:51 2023 +0100 +++ b/mod_http_oauth2/html/login.html Thu Mar 23 16:19:09 2023 +0100 @@ -9,7 +9,8 @@

{site_name}

-

Sign in

+
+ Sign in

Sign in to your account to continue.

{state.error&

{state.error}

@@ -19,6 +20,7 @@
+
diff -r 0e5a37f55440 -r 7acf73d2ebb5 mod_http_oauth2/html/style.css --- a/mod_http_oauth2/html/style.css Thu Mar 23 12:47:51 2023 +0100 +++ b/mod_http_oauth2/html/style.css Thu Mar 23 16:19:09 2023 +0100 @@ -1,5 +1,6 @@ body { + margin-top:14%; text-align:center; background-color:#f8f8f8; font-family:sans-serif @@ -10,6 +11,9 @@ font-size:xx-large; } +legend { + font-size:x-large; +} p { font-size:large; @@ -82,30 +86,10 @@ @media(min-width: 768px) { - body - { - margin-top: 3em; - } - main { margin-left: auto; margin-right: auto; - border: solid 1px #1e1e1e; - background-color: #efefef; } - @media(prefers-color-scheme:dark) - { - body - { - background-color: #4e4e4e; - } - - main - { - color: #fff; - background-color: #1f1f1f; - } - } }