Skip to content

Commit

Permalink
📏 move styles inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshix-1 committed Feb 14, 2025
1 parent e1a99b2 commit 8697284
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 31 deletions.
2 changes: 0 additions & 2 deletions an_website/static/css/main_page.css

This file was deleted.

7 changes: 0 additions & 7 deletions an_website/static/css/main_page.css.map

This file was deleted.

10 changes: 3 additions & 7 deletions an_website/templates/pages/main_page.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{% extends "../base.html" %}

{% block stylesheets %}
<link rel="stylesheet" type="text/css"
href="{{fix_static('css/main_page.css')}}">
{% end %}

{% block body %}
<style>#pages-list li{margin-top:0.2rem;}</style>
{% if quote_data %}
<a class="no-style-a"
href="{{fix_url(quote_data.get_quote_url())}}"
tooltip="Das Zitat des Tages"
tooltip-position="bottom"
id="quote-of-the-day">
style="text-align:center">
{{quote_data.wrong_quote.quote}}<br>
- {{quote_data.wrong_quote.author}}
</a>
Expand Down Expand Up @@ -42,7 +38,7 @@
</ul>

{% if settings.get("ONION_ADDRESS") and not request.host_name.endswith(".onion") %}
<section id="onion-address-section">
<section style="margin-top:2rem">
Wir sind übrigens auch über das Tor-Netzwerk erreichbar:
<a href="{{settings.get('ONION_ADDRESS')}}"
no-dynload>{{'­'.join(char for char in settings.get('ONION_ADDRESS'))}}</a>
Expand Down
15 changes: 0 additions & 15 deletions style/main_page.css

This file was deleted.

0 comments on commit 8697284

Please sign in to comment.