Skip to content

Commit 47e490a

Browse files
committed
Run rustywind
1 parent 596e7f3 commit 47e490a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

website/templates/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1>DON'T PANIC!</h1>
66
<h2>404: Page not found!</h2>
77

8-
<img class="max-h-[50vh] mx-auto"
8+
<img class="mx-auto max-h-[50vh]"
99
src="{{ get_url(path='images/panic.svg') | safe }}"
1010
alt="">
1111

website/templates/base.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
{% if permalink %}<meta property="og:url" content="{{ permalink | safe }}">{% endif %}
4848
</head>
4949

50-
<body class="flex flex-col p-2 mx-auto min-h-screen text-lg text-white break-words bg-[#2A3439] lg:px-5 2xl:container">
51-
<header class="flex flex-col gap-x-4 items-center py-2 px-4 mb-1 bg-black/30 rounded-sm sm:flex-row sm:rounded-full">
50+
<body class="flex flex-col p-2 mx-auto min-h-screen text-lg text-white break-words lg:px-5 2xl:container bg-[#2A3439]">
51+
<header class="flex flex-col gap-x-4 items-center py-2 px-4 mb-1 rounded-sm sm:flex-row sm:rounded-full bg-black/30">
5252
<a class="transition duration-500 hover:scale-110"
5353
href="{{ get_url(path='@/_index.md') | safe }}"
5454
aria-hidden="true">
@@ -74,15 +74,15 @@
7474
{% block content %}{% endblock %}
7575
</main>
7676

77-
<footer class="pt-2 pb-1 mt-auto text-center text-sm">
78-
<div class="mt-2 mx-auto inline-flex gap-x-1.5 items-center">
77+
<footer class="pt-2 pb-1 mt-auto text-sm text-center">
78+
<div class="inline-flex gap-x-1.5 items-center mx-auto mt-2">
7979
<img class="w-8 h-8"
8080
src="{{ get_url(path='images/rust_logo.svg') | safe }}"
8181
alt="">
8282
<div class="italic">Rustlings is an official Rust project</div>
8383
</div>
8484

85-
<nav class="mt-3 flex flex-col gap-y-3 justify-around py-3 bg-black/30 rounded-sm sm:flex-row sm:rounded-full">
85+
<nav class="flex flex-col gap-y-3 justify-around py-3 mt-3 rounded-sm sm:flex-row sm:rounded-full bg-black/30">
8686
{% for footer_item in config.extra.footer_items %}
8787
<a class="no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
8888
{% endfor %}

website/templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<article>
55
<h1>{{ page.title }}</h1>
66

7-
<div class="px-4 py-0.5 my-3 border-s-4 rounded-xl border-double">
7+
<div class="py-0.5 px-4 my-3 rounded-xl border-double border-s-4">
88
<nav>
99
<ul class="ml-0 list-none">
1010
{% for parent in page.toc %}

website/templates/shortcodes/details.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<strong>{{ summary | safe }}</strong> (<em>click to expand</em>)
44
</summary>
55

6-
<blockquote class="mx-0.5 border-x-3 border-b-3 border-dashed pt-1 mt-1 rounded-none">
6+
<blockquote class="pt-1 mx-0.5 mt-1 rounded-none border-dashed border-x-3 border-b-3">
77
{{ body | markdown | safe }}
88
</blockquote>
99
</details>

0 commit comments

Comments
 (0)