Skip to content

Commit

Permalink
Update style and move snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmaxwell committed Jun 17, 2024
1 parent 857dceb commit 5ba0247
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 34 deletions.
5 changes: 5 additions & 0 deletions static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
max-width: 100%;
height: auto;
} */
@media (max-width: 576px) {
.hide-at-xs {
display: none;
}
}

.highlight pre {
background-color: #2e3440;
Expand Down
2 changes: 1 addition & 1 deletion static/css/styles.min.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.highlight pre{background-color:#2e3440}span[role=group]{width:auto}
@media (max-width:576px){.hide-at-xs{display:none}}.highlight pre{background-color:#2e3440}span[role=group]{width:auto}
6 changes: 4 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@

<link rel="alternate" type="application/rss+xml" title="Latest Posts" href="{% url 'djpress:rss_feed' %}">

<script async src="https://u.amanzi.nz/script.js" data-website-id="d5f479d8-65fb-4f80-9823-5fe5ca2e17aa"></script>
{% if not debug %}
<script async src="https://u.amanzi.nz/script.js" data-website-id="d5f479d8-65fb-4f80-9823-5fe5ca2e17aa"></script>
{% endif %}
{% block head %}{% endblock head %}
</head>
<body>
<header class="container">
{% include "djpress/snippets/navbar.html" %}
{% include "snippets/navbar.html" %}
</header>

<main class="container">
Expand Down
30 changes: 0 additions & 30 deletions templates/djpress_admin/markdown_previewer.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{% blog_pages outer="ul" %}

<ul style="margin-left: auto">
<ul style="margin-left: auto" class="hide-at-xs">
<li>
<details class="dropdown">
<summary>
Expand Down

0 comments on commit 5ba0247

Please sign in to comment.