9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-19 14:59:28 +00:00

template: highlight Cloudflare name as the original page

This commit is contained in:
Anthony Donlon
2025-11-21 23:50:56 +08:00
parent 0302d05310
commit a72525b36e
2 changed files with 11 additions and 2 deletions

View File

@@ -67,7 +67,8 @@
<span class="cf-icon-{{status}} w-12 h-12 absolute left-1/2 md:left-auto md:right-0 md:top-0 -ml-6 -bottom-4"></span>
</div>
<span class="md:block w-full truncate">{{item.location or default_location}}</span>
<h3 class="md:inline-block mt-3 md:mt-0 text-2xl text-gray-600 font-light leading-1.3">{{item.name or default_name}}</h3>
{% set _name_style = 'style="color: #2f7bbf;"' if ((item.name or default_name) == 'Cloudflare') else '' %}
<h3 class="md:inline-block mt-3 md:mt-0 text-2xl text-gray-600 font-light leading-1.3" {{_name_style | safe}}>{{item.name or default_name}}</h3>
<span class="leading-1.3 text-2xl" style="color: {{text_color}}">{{status_text}}</span>
</div>
{% endfor %}