diff options
| author | Alexander Hunt <me@liz.coffee> | 2025-11-01 14:20:29 -0700 |
|---|---|---|
| committer | Alexander Hunt <me@liz.coffee> | 2025-11-01 14:20:29 -0700 |
| commit | 8910d629fe52122351f3a42ebf06f5c278dcf91e (patch) | |
| tree | e26adf96854cde821e99dc9590fa21cbd6e22df8 /playbooks/roles/traefik/templates | |
| parent | f47e1b66bf79b50bd129ab16a388e1e4e39dda95 (diff) | |
| download | infra-8910d629fe52122351f3a42ebf06f5c278dcf91e.tar.gz infra-8910d629fe52122351f3a42ebf06f5c278dcf91e.zip | |
Fix logo color for git and for oauth2 proxy
Diffstat (limited to 'playbooks/roles/traefik/templates')
| -rw-r--r-- | playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html b/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html index 17d3718..60b9b92 100644 --- a/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html +++ b/playbooks/roles/traefik/templates/volumes/oauth2proxy/templates/sign_in.html @@ -54,11 +54,39 @@ .button:hover { background-color: var(--yellow); } + .logo { + font-family: monospace; + font-size: 1rem; + line-height: 1; + white-space: pre; + overflow-x: auto; + overflow-y: hidden; + } + .logo-line { + display: flex; + } + .logo-char { + display: inline-block; + min-width: 1ch; + width: 1ch; + max-width: 1ch; + text-align: center; + overflow: hidden; + white-space: nowrap; + } </style> </head> <body> <div class="container"> - <pre class="logo">{{ logo }}</pre> + <div class="logo"> +{%- for line in logo.split('\n') %} +<div class="logo-line"> +{%- for char in line -%} +<span class="logo-char">{{ char }}</span> +{%- endfor -%} +</div> +{%- endfor %} + </div> <form method="GET" action="{{ '{{' }} .ProxyPrefix {{ '}}' }}/start" style="width: 100%; display: flex; flex-direction: column;"> <input type="hidden" name="rd" value="{{ '{{' }} .Redirect {{ '}}' }}"> {{ '{{' }} if .SignInMessage {{ '}}' }} |
