Skip to content

Commit 32c83d1

Browse files
author
Alban Bailly
committed
margin and fonts adjustments and add tags to libraries cells
1 parent 3d50281 commit 32c83d1

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<div class="w-full sm:w-1/4 md:w-1/5 px-4 flex flex-wrap">
66
<div id="filters" class="button-group filters-group sm:py-4 sm:mt-4">
77
<div class="flex flex-wrap sm:block">
8-
<div class="md:my-4 invisible sm:visible text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
9-
<h4 class="uppercase mb-4 w-full md:text-center">Created By</h4>
8+
<div class="md:mt-4 invisible sm:visible text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
9+
<h4 class="uppercase mt-2 mb-4 w-full md:text-center">Created By</h4>
1010
{{ partial "1_atoms/radio.html" (dict "ID" "linode" "Name" "created" "Value" ".linode" "Label" "Linode") . }}
1111
{{ partial "1_atoms/radio.html" (dict "ID" "community" "Name" "created" "Value" ".community" "Label" "Community") . }}
1212
</div>
@@ -82,6 +82,7 @@ <h2 class="font-normal text-BaseGreenDark">Libraries</h2>
8282
{{ range .Paginator.Pages }}
8383
<article class="item lib-item w-full md:w-1/2 px-4 mb-4 md:mb-8 {{ range .Params.languages }}{{ lower (replace . "." "-") }} {{ end }}{{ .Params.origin }}">
8484
<div class="p-8 h-full bg-ThemeCell tile">
85+
<div class="origin mb-2 text-xs uppercase font-semibold {{ if eq .Params.origin "linode" }}text-BaseGreen{{ end }}">{{ .Params.origin }}</div>
8586
<header>
8687
<h3 class="mt-0"><a class="text-black tile-link" href="{{ .Params.external_url }}" target="_blank">{{ .Title | markdownify }}</a></h3>
8788
</header>

themes/dlc/layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ <h3 class="mt-0 mb-4 font-normal"><a href="{{ .Params.event_url }}" class="text-
6464

6565
<div class="relative row-full pb-8 home-cubes">
6666
<div class="mx-auto text-center max-w-lg my-8">
67-
<h2 class="font-light text-BaseGreenDark">Careers at Linode</h2>
68-
<div class="text-2xl mt-4 font-light">Help us create the platform of tomorrow.</div>
67+
<h2 class="font-normal text-BaseGreenDark">Careers at Linode</h2>
68+
<div class="text-2xl mt-2 font-light">Help us create the platform of tomorrow.</div>
6969
<a class="btn block mx-auto mt-6" href="https://www.linode.com/careers" target="_blank">View Opportunities</a>
7070
</div>
7171
</div>

themes/dlc/srcCSS/components/2_molecules/tile.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@
1414
height: 100%;
1515
}
1616

17-
.tile section {
17+
.tile section,
18+
.tile .origin {
1819
transition: color 225ms ease-in-out;
1920
}
2021

2122
.tile-link:hover {
2223
@apply text-BaseGreen;
2324
}
25+
26+
27+
.tile:hover .origin {
28+
@apply text-BaseGreenDark;
29+
}

0 commit comments

Comments
 (0)