Skip to content

Commit 04431e0

Browse files
committed
updates
1 parent 99c6025 commit 04431e0

File tree

4 files changed

+68
-26
lines changed

4 files changed

+68
-26
lines changed

assets/css/global.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,47 @@ input[type="search"]::-ms-clear {
9696
code{
9797
font-size:0.9em;
9898
}
99+
#footer {
100+
@apply flex bg-gray-100 px-0 py-6 dark:bg-gray-900 ;
101+
}
102+
#copyright {
103+
font-size: 0.9em;
104+
color: #78909C;
105+
display: flex;
106+
align-items: center;
107+
}
108+
109+
#copyright > * {
110+
display: inline-flex;
111+
width: max-content;
112+
white-space: nowrap;
113+
}
114+
115+
#copyright > *:not(:last-child)::after {
116+
content: "|";
117+
color: var(--color-gray-400);
118+
@apply mx-1;
119+
}
120+
121+
#links{
122+
font-size: 1em;
123+
color: var(--color-gray-600);
124+
display: flex;
125+
align-items: center;
126+
gap: 0.5em;
127+
}
128+
129+
#links a {
130+
text-underline-offset: 2px;
131+
display: inline-flex;
132+
width: max-content;
133+
padding: 0;
134+
margin: 0;
135+
}
136+
#links a:hover {
137+
text-decoration: underline;
138+
}
139+
140+
#social {
141+
@apply flex flex-row items-center gap-1;
142+
}

hugo_stats.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@
242242
"dark:border-gray-700",
243243
"dark:border-green-400",
244244
"dark:border-l-magenta-dark",
245-
"dark:fill-blue-300",
246245
"dark:focus:ring-3-blue-dark",
247246
"dark:from-blue-300",
248247
"dark:hidden",
@@ -275,11 +274,11 @@
275274
"drop-shadow",
276275
"dropdown-base",
277276
"duration-300",
278-
"fill-blue",
279277
"fixed",
280278
"flex",
281279
"flex-1",
282280
"flex-[2_2_0%]",
281+
"flex-between",
283282
"flex-col",
284283
"flex-col-reverse",
285284
"flex-grow",
@@ -344,11 +343,9 @@
344343
"hover:text-blue",
345344
"hover:underline",
346345
"icon-lg",
347-
"icon-md",
348346
"icon-sm",
349347
"icon-svg",
350348
"icon-svg-stroke",
351-
"image-svg",
352349
"inline",
353350
"inline-block",
354351
"inline-flex",
@@ -361,7 +358,8 @@
361358
"justify-between",
362359
"justify-center",
363360
"justify-end",
364-
"justify-evenly",
361+
"justify-items-end",
362+
"justify-items-start",
365363
"leading-none",
366364
"leading-snug",
367365
"leading-tight",
@@ -381,17 +379,14 @@
381379
"link",
382380
"lntable",
383381
"lntd",
382+
"m-0",
384383
"macOS",
385384
"max-h-full",
386385
"max-w-4xl",
387386
"max-w-56",
388-
"max-w-840px",
389-
"max-w-[1000px]",
390387
"max-w-[1200px]",
388+
"max-w-[1280px]",
391389
"max-w-[1920px]",
392-
"max-w-[840px]",
393-
"max-w-[9000px]",
394-
"max-w-[900px]",
395390
"max-w-full",
396391
"max-w-none",
397392
"max-w-xl",
@@ -435,6 +430,9 @@
435430
"mt-8",
436431
"mt-[2px]",
437432
"mx-1",
433+
"mx-10",
434+
"mx-4",
435+
"mx-6",
438436
"mx-auto",
439437
"my-0",
440438
"my-4",
@@ -481,15 +479,16 @@
481479
"pl-3",
482480
"pl-4",
483481
"pl-5",
484-
"place-items-center",
485482
"pr-2",
486483
"prose",
487484
"pt-10",
488485
"pt-2",
489486
"pt-4",
490487
"px-1",
488+
"px-10",
491489
"px-2",
492490
"px-4",
491+
"px-5",
493492
"px-6",
494493
"py-0.5",
495494
"py-1",
@@ -526,6 +525,8 @@
526525
"sm:flex-row",
527526
"sm:hidden",
528527
"sm:items-center",
528+
"space-x-1",
529+
"space-x-2",
529530
"space-y-2",
530531
"space-y-4",
531532
"sticky",
@@ -573,7 +574,6 @@
573574
"underline-offset-2",
574575
"w-2",
575576
"w-5",
576-
"w-6",
577577
"w-65",
578578
"w-8",
579579
"w-[1200px]",

layouts/partials/footer.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<div class="flex bg-gray-100 px-4 pt-10 pb-20 dark:bg-gray-900">
2-
<div class="flex flex-row justify-center w-full max-w-[1200px] gap-20 mx-auto">
3-
<div id="social" class="flex flex-row gap-2">
1+
<div id="footer" >
2+
<div class="flex justify-items-start max-w-[1280px] gap-10 mx-auto">
3+
<div id="social">
44
<a href="https://www.linkedin.com/company/docker">
5-
<span class="icon-svg icon-lg">
5+
<span class="icon-svg">
66
{{ partial "utils/svg" "icons/linkedin.svg" }}
77
</span>
88
</a>
99
<a href="https://x.com/docker/">
10-
<span class="icon-svg icon-lg">
10+
<span class="icon-svg">
1111
{{ partial "utils/svg" "icons/twitter.svg" }}
1212
</span>
1313
</a>
1414
<a href="https://www.facebook.com/docker.run">
15-
<span class="icon-svg icon-lg">
15+
<span class="icon-svg">
1616
{{ partial "utils/svg" "icons/facebook.svg" }}
1717
</span>
1818
</a>
1919
<a href="http://www.youtube.com/user/dockerrun">
20-
<span class="icon-svg icon-lg">
20+
<span class="icon-svg">
2121
{{ partial "utils/svg" "icons/youtube.svg" }}
2222
</span>
2323
</a>
2424
<a href="https://www.instagram.com/dockerinc/">
25-
<span class="icon-svg icon-lg">
25+
<span class="icon-svg">
2626
{{ partial "utils/svg" "icons/instagram.svg" }}
2727
</span>
2828
</a>
2929
</div>
30-
<div id="links" class="flex flex-row items-center gap-4">
30+
<div id="links">
3131
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/">Product offerings</a>
3232
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/pricing/">Pricing</a>
3333
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/company/">About us</a>
@@ -37,9 +37,7 @@
3737
<a href="{{ " llms.txt" | relURL }}">Read llms.txt</a>
3838
</div>
3939
<div id="copyright">
40-
<span class="text-sm">
41-
Copyright © 2013-{{ time.Now.Year }} Docker Inc. All rights reserved.
42-
</span>
40+
<span>Copyright © 2013-{{ time.Now.Year }} Docker Inc. All rights reserved.</span>
4341
<button type="button" id="ot-sdk-btn" class="ot-sdk-show-settings">
4442
Cookies Settings
4543
</button>

layouts/partials/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<header
2-
class="sticky top-0 z-20 h-16 w-full bg-blue-600 px-6 text-white"
2+
class="sticky top-0 z-20 h-16 w-full bg-blue-600 text-white"
33
>
44
<div
5-
class="mx-auto flex h-full max-w-[1920px] items-center justify-between gap-2"
5+
class="flex h-full max-w-[1280px] justify-between gap-2 mx-auto px-4"
66
>
77
<div class="flex h-full items-center gap-2 lg:gap-8">
88
{{- if not .IsHome }}

0 commit comments

Comments
 (0)