Skip to content

Commit f830089

Browse files
documenter css tweaks (#81)
1 parent 497c0e7 commit f830089

File tree

1 file changed

+26
-35
lines changed

1 file changed

+26
-35
lines changed

assets/scripts/navbar.html

+26-35
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@
1313
margin-top: 3.75rem;
1414
}
1515

16+
.docs-version-selector {
17+
margin-bottom: 60px !important;
18+
}
19+
20+
@media screen and (max-width: 1056px) {
21+
.docs-version-selector {
22+
margin-bottom: 60px !important;
23+
}
24+
25+
.docs-sidebar {
26+
margin-top: 0 !important;
27+
}
28+
}
29+
/* Documenter css tweaks ends here */
30+
1631
:root {
1732
--heading-color: white;
1833
--item-color: rgb(165, 165, 165);
@@ -227,13 +242,7 @@
227242
</style>
228243
<nav class="ext-navigation">
229244
<a href="https://turinglang.org/">
230-
<img
231-
src="https://turinglang.org/assets/images/turing-logo.svg"
232-
alt="Turing Logo"
233-
class="ext-navbar-logo"
234-
height="24px"
235-
width="40px"
236-
>
245+
<img src="https://turinglang.org/assets/images/turing-logo.svg" alt="Turing Logo" class="ext-navbar-logo" height="24px" width="40px">
237246
</a>
238247
<a style="color: white !important; font-size: 21.25px !important; margin-left: 10px;" href="https://turinglang.org/">Turing.jl</a>
239248
<ul class="ext-nav-links">
@@ -328,51 +337,33 @@
328337
</li>
329338
</ul>
330339
<a href="https://x.com/TuringLang" style="margin-left: 15px; padding-top: 2px">
331-
<svg
332-
fill="#ffffff"
333-
version="1.1"
334-
xmlns="http://www.w3.org/2000/svg"
335-
xmlns:xlink="http://www.w3.org/1999/xlink"
336-
width="32px"
337-
height="32px"
338-
viewBox="-209.92 -209.92 931.84 931.84"
339-
xml:space="preserve"
340-
stroke="#ffffff"
341-
>
340+
<svg fill="#ffffff" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32px" height="32px" viewBox="-209.92 -209.92 931.84 931.84" xml:space="preserve" stroke="#ffffff">
342341
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
343342
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
344343
<g id="SVGRepo_iconCarrier">
345344
<g id="7935ec95c421cee6d86eb22ecd12f847">
346-
<path style="display: inline" d="M459.186,151.787c0.203,4.501,0.305,9.023,0.305,13.565 c0,138.542-105.461,298.285-298.274,298.285c-59.209,0-114.322-17.357-160.716-47.104c8.212,0.973,16.546,1.47,25.012,1.47 c49.121,0,94.318-16.759,130.209-44.884c-45.887-0.841-84.596-31.154-97.938-72.804c6.408,1.227,12.968,1.886,19.73,1.886 c9.55,0,18.816-1.287,27.617-3.68c-47.955-9.633-84.1-52.001-84.1-102.795c0-0.446,0-0.882,0.011-1.318 c14.133,7.847,30.294,12.562,47.488,13.109c-28.134-18.796-46.637-50.885-46.637-87.262c0-19.212,5.16-37.218,14.193-52.7 c51.707,63.426,128.941,105.156,216.072,109.536c-1.784-7.675-2.718-15.674-2.718-23.896c0-57.891,46.941-104.832,104.832-104.832 c30.173,0,57.404,12.734,76.525,33.102c23.887-4.694,46.313-13.423,66.569-25.438c-7.827,24.485-24.434,45.025-46.089,58.002 c21.209-2.535,41.426-8.171,60.222-16.505C497.448,118.542,479.666,137.004,459.186,151.787z"></path>
345+
<path style="display: inline"
346+
d="M459.186,151.787c0.203,4.501,0.305,9.023,0.305,13.565 c0,138.542-105.461,298.285-298.274,298.285c-59.209,0-114.322-17.357-160.716-47.104c8.212,0.973,16.546,1.47,25.012,1.47 c49.121,0,94.318-16.759,130.209-44.884c-45.887-0.841-84.596-31.154-97.938-72.804c6.408,1.227,12.968,1.886,19.73,1.886 c9.55,0,18.816-1.287,27.617-3.68c-47.955-9.633-84.1-52.001-84.1-102.795c0-0.446,0-0.882,0.011-1.318 c14.133,7.847,30.294,12.562,47.488,13.109c-28.134-18.796-46.637-50.885-46.637-87.262c0-19.212,5.16-37.218,14.193-52.7 c51.707,63.426,128.941,105.156,216.072,109.536c-1.784-7.675-2.718-15.674-2.718-23.896c0-57.891,46.941-104.832,104.832-104.832 c30.173,0,57.404,12.734,76.525,33.102c23.887-4.694,46.313-13.423,66.569-25.438c-7.827,24.485-24.434,45.025-46.089,58.002 c21.209-2.535,41.426-8.171,60.222-16.505C497.448,118.542,479.666,137.004,459.186,151.787z">
347+
</path>
347348
</g>
348349
</g>
349350
</svg>
350351
</a>
351352
<a href="https://github.com/TuringLang/Turing.jl">
352-
<svg
353-
width="32px"
354-
height="32px"
355-
viewBox="-8.2 -8.2 36.40 36.40"
356-
version="1.1"
357-
xmlns="http://www.w3.org/2000/svg"
358-
xmlns:xlink="http://www.w3.org/1999/xlink"
359-
fill="#000000"
360-
>
353+
<svg width="32px" height="32px" viewBox="-8.2 -8.2 36.40 36.40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
361354
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
362355
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
363356
<g id="SVGRepo_iconCarrier">
364357
<title>github [#142]</title>
365358
<desc>Created with Sketch.</desc>
366359
<defs></defs>
367-
<g
368-
id="Page-1"
369-
stroke-width="0.0002"
370-
fill="none"
371-
fill-rule="evenodd"
372-
>
360+
<g id="Page-1" stroke-width="0.0002" fill="none" fill-rule="evenodd">
373361
<g id="Dribbble-Light-Preview" transform="translate(-140.000000, -7559.000000)" fill="#ffffff">
374362
<g id="icons" transform="translate(56.000000, 160.000000)">
375-
<path d="M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" id="github-[#142]"></path>
363+
<path
364+
d="M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399"
365+
id="github-[#142]">
366+
</path>
376367
</g>
377368
</g>
378369
</g>

0 commit comments

Comments
 (0)