|
48 | 48 | </head> |
49 | 49 |
|
50 | 50 | <body class="flex flex-col p-3 mx-auto min-h-screen text-lg text-white break-words bg-[#2A3439] lg:px-5 2xl:container"> |
51 | | - <header class="flex gap-x-6 items-center py-2 px-2.5 mb-1 bg-black/30 rounded-full"> |
| 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"> |
52 | 52 | <a class="transition duration-500 hover:scale-110" |
53 | 53 | href="{{ get_url(path='/') | safe }}" |
54 | 54 | aria-hidden="true"> |
55 | | - <img class="m-0 w-12 h-12 rounded-full" |
| 55 | + <img class="m-0 w-12 h-12" |
56 | 56 | src="{{ get_url(path=config.extra.logo_path) | safe }}" |
57 | 57 | alt=""> |
58 | 58 | </a> |
59 | 59 |
|
60 | | - <nav class="flex gap-x-6 items-center font-bold"> |
| 60 | + <nav class="flex flex-col gap-x-6 items-center font-bold sm:flex-row"> |
61 | 61 | {% for menu_item in config.extra.menu_items %} |
62 | 62 | <a class="p-1 no-underline" href="{{ menu_item.url | safe }}">{{ menu_item.name }}</a> |
63 | 63 | {% endfor %} |
|
68 | 68 | {% block content %}{% endblock %} |
69 | 69 | </main> |
70 | 70 |
|
71 | | - <footer class="pt-2 pb-3 mt-auto"> |
72 | | - <img class="m-0 mx-auto w-20 h-20" |
73 | | - src="{{ get_url(path='images/happy_ferris.svg') | safe }}" |
74 | | - alt=""> |
| 71 | + <footer class="pt-2 pb-3 mt-auto text-center"> |
| 72 | + <div class="mx-auto inline-flex gap-x-1.5 items-center"> |
| 73 | + <img class="w-8 h-8" |
| 74 | + src="{{ get_url(path='images/rust_logo.svg') | safe }}" |
| 75 | + alt=""> |
| 76 | + <div class="text-sm italic">Rustlings is an official Rust project</div> |
| 77 | + </div> |
75 | 78 |
|
76 | | - <nav class="flex flex-col gap-y-3 justify-around py-3 text-center bg-black/30 rounded-sm sm:flex-row sm:rounded-full"> |
| 79 | + <nav class="flex flex-col gap-y-3 justify-around py-3 bg-black/30 rounded-sm sm:flex-row sm:rounded-full"> |
77 | 80 | {% for footer_item in config.extra.footer_items %} |
78 | 81 | <a class="text-sm no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a> |
79 | 82 | {% endfor %} |
|
0 commit comments