Skip to content

Commit 50b9d69

Browse files
committed
updates
1 parent 04431e0 commit 50b9d69

File tree

4 files changed

+49
-72
lines changed

4 files changed

+49
-72
lines changed

assets/css/global.css

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -96,47 +96,3 @@ 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-
}

assets/css/utilities.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,3 +270,36 @@
270270
font-size: 19px;
271271
}
272272
}
273+
274+
.footer {
275+
@apply flex flex-wrap grow justify-center bg-gray-100 px-4 py-6;
276+
@apply dark:bg-gray-900 w-full min-w-0 border-t border-gray-200 dark:border-gray-700;
277+
}
278+
279+
.social {
280+
@apply flex-row items-center gap-1 flex-wrap min-w-0 hidden md:flex;
281+
}
282+
283+
.links {
284+
@apply text-gray-600 flex-wrap items-center gap-[0.5em] hidden lg:flex;
285+
}
286+
287+
.links a {
288+
@apply underline-offset-2 inline-flex w-max p-0 m-0;
289+
}
290+
.links a:hover {
291+
@apply underline;
292+
}
293+
294+
.copyright {
295+
@apply text-[0.9em] text-[#78909C] flex flex-wrap items-center;
296+
}
297+
298+
.copyright > * {
299+
@apply w-max;
300+
}
301+
302+
.copyright > *:not(:last-child)::after {
303+
content: "|";
304+
@apply text-[color:var(--color-gray-400)] mx-1;
305+
}

hugo_stats.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
"cls-2",
218218
"col-start-2",
219219
"containerd-image-store",
220+
"copyright",
220221
"cursor-pointer",
221222
"dark:bg-amber-400",
222223
"dark:bg-background-dark",
@@ -278,7 +279,6 @@
278279
"flex",
279280
"flex-1",
280281
"flex-[2_2_0%]",
281-
"flex-between",
282282
"flex-col",
283283
"flex-col-reverse",
284284
"flex-grow",
@@ -293,6 +293,7 @@
293293
"font-medium",
294294
"font-normal",
295295
"font-semibold",
296+
"footer",
296297
"footnote-backref",
297298
"footnote-ref",
298299
"footnotes",
@@ -358,8 +359,6 @@
358359
"justify-between",
359360
"justify-center",
360361
"justify-end",
361-
"justify-items-end",
362-
"justify-items-start",
363362
"leading-none",
364363
"leading-snug",
365364
"leading-tight",
@@ -377,14 +376,13 @@
377376
"lg:pb-2",
378377
"lg:scale-100",
379378
"link",
379+
"links",
380380
"lntable",
381381
"lntd",
382-
"m-0",
383382
"macOS",
384383
"max-h-full",
385384
"max-w-4xl",
386385
"max-w-56",
387-
"max-w-[1200px]",
388386
"max-w-[1280px]",
389387
"max-w-[1920px]",
390388
"max-w-full",
@@ -430,9 +428,6 @@
430428
"mt-8",
431429
"mt-[2px]",
432430
"mx-1",
433-
"mx-10",
434-
"mx-4",
435-
"mx-6",
436431
"mx-auto",
437432
"my-0",
438433
"my-4",
@@ -472,7 +467,6 @@
472467
"pb-0.5",
473468
"pb-1",
474469
"pb-2",
475-
"pb-20",
476470
"pb-4",
477471
"pb-8",
478472
"pl-2",
@@ -481,15 +475,11 @@
481475
"pl-5",
482476
"pr-2",
483477
"prose",
484-
"pt-10",
485478
"pt-2",
486479
"pt-4",
487480
"px-1",
488-
"px-10",
489481
"px-2",
490482
"px-4",
491-
"px-5",
492-
"px-6",
493483
"py-0.5",
494484
"py-1",
495485
"py-2",
@@ -525,8 +515,7 @@
525515
"sm:flex-row",
526516
"sm:hidden",
527517
"sm:items-center",
528-
"space-x-1",
529-
"space-x-2",
518+
"social",
530519
"space-y-2",
531520
"space-y-4",
532521
"sticky",
@@ -571,7 +560,6 @@
571560
"transition-colors",
572561
"transition-transform",
573562
"truncate",
574-
"underline-offset-2",
575563
"w-2",
576564
"w-5",
577565
"w-65",

layouts/partials/footer.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div id="footer" >
2-
<div class="flex justify-items-start max-w-[1280px] gap-10 mx-auto">
3-
<div id="social">
1+
<div class="footer">
2+
<div class="flex max-w-[1280px] gap-8">
3+
<div class="social">
44
<a href="https://www.linkedin.com/company/docker">
55
<span class="icon-svg">
66
{{ partial "utils/svg" "icons/linkedin.svg" }}
@@ -27,25 +27,25 @@
2727
</span>
2828
</a>
2929
</div>
30-
<div id="links">
31-
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/">Product offerings</a>
32-
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/pricing/">Pricing</a>
33-
<a class="underline-offset-2 hover:underline" href="https://www.docker.com/company/">About us</a>
30+
<div class="links">
31+
<a href="https://www.docker.com/">Product offerings</a>
32+
<a href="https://www.docker.com/pricing/">Pricing</a>
33+
<a href="https://www.docker.com/company/">About us</a>
3434
{{- with .GetPage "/contribute" }}
35-
<a class="underline-offset-2 hover:underline" href="{{ .Permalink }}">{{ .LinkTitle }}</a>
35+
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
3636
{{- end }}
3737
<a href="{{ " llms.txt" | relURL }}">Read llms.txt</a>
3838
</div>
39-
<div id="copyright">
39+
<div class="copyright">
4040
<span>Copyright © 2013-{{ time.Now.Year }} Docker Inc. All rights reserved.</span>
4141
<button type="button" id="ot-sdk-btn" class="ot-sdk-show-settings">
4242
Cookies Settings
4343
</button>
44-
<a class="underline-offset-2 hover:underline" title="Docker Terms of Service"
44+
<a title="Docker Terms of Service"
4545
href="https://www.docker.com/legal/docker-terms-service">Terms of Service</a>
46-
<a class="underline-offset-2 hover:underline" title="Docker Systems Status Page"
46+
<a title="Docker Systems Status Page"
4747
href="https://www.dockerstatus.com/">Status</a>
48-
<a class="underline-offset-2 hover:underline" title="Docker Legal Terms"
48+
<a title="Docker Legal Terms"
4949
href="https://www.docker.com/legal">Legal</a>
5050
</div>
5151
</div>

0 commit comments

Comments
 (0)