diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index b2105d38..b41e31fb 100755 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -50,4 +50,15 @@ .time { text-align: right; } - \ No newline at end of file + + + .grid-container { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 20px; + } + + .grid-item { + + padding: 20px; + } diff --git a/hugo_stats.json b/hugo_stats.json index fab5e986..61f6bee2 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -34,6 +34,7 @@ "section", "source", "span", + "style", "svg", "textarea", "time", @@ -64,6 +65,7 @@ "btn-sm", "capitalize", "col-12", + "col-md-3", "col-md-4", "column", "container", @@ -92,6 +94,7 @@ "from-body", "g", "grid-container", + "grid-item", "group", "gx-5", "h-4", @@ -223,7 +226,6 @@ "search-wrapper-footer", "search-wrapper-header", "section", - "section-s", "section-sm", "sm:bg-red-200", "sm:block", diff --git a/layouts/index.html b/layouts/index.html index 84aa467e..9fcc2371 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -80,24 +80,32 @@ {{ end }} - -{{ range $i, $e:= .Params.features2 }} -
-
-

{{ .title | markdownify }}

-

{{ .content | markdownify }}

-
+ + + +
+
+ {{ range $i, $e := .Params.features2 }} +
+

{{ .title | markdownify }}

+

{{ .content | markdownify }}

+ {{ with .button }} {{ if .enable }} + + {{ .label }} + + + {{ end }} {{ end }} +
+ {{ end }}
- -{{ end }} - - +
+ {{ if gt (len (where .Site.RegularPages "Section" "blog")) 0 }}
diff --git a/public/css/style.css b/public/css/style.css index 40f9b5c7..f53041d5 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -3061,6 +3061,14 @@ input#nav-toggle:checked ~ #nav-menu { .time { text-align: right; } +.grid-container { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 20px; } + +.grid-item { + padding: 20px; } + @media (min-width: 540px) { .sm\:col-10 { diff --git a/public/index.html b/public/index.html index 3d29f6ac..1bb5f602 100644 --- a/public/index.html +++ b/public/index.html @@ -2080,39 +2080,47 @@ -
-
-

Fediversity explained - for Individuals

-

2Always be in control with your own data on social networks, whether that’s with Mastodon, PeerTube or Pixelfed: Fediversity makes it possible.

-
+ +
+
+ +
+

Fediversity explained - for Individuals

+

2Always be in control with your own data on social networks, whether that’s with Mastodon, PeerTube or Pixelfed: Fediversity makes it possible.

+ + + Learn more + + + +
+ +
+

Fediversity explained - for Developers

+

2As a developer building the next generation of social platforms, you are looking to make it easier to facilitate your customers to use your product. Fediversity can help.

+ + + Learn more + + + +
+ +
+

Fediversity explained - for the EC

+

2The Fediversity Project operates on a grant gratiously provided by the HORIZON fund by the EC. Learn more about the accountability of the project.

+ + + Learn more + + + +
+
- - - -
- -
-

Fediversity explained - for Developers

-

2As a developer building the next generation of social platforms, you are looking to make it easier to facilitate your customers to use your product. Fediversity can help.

-
- -
- - - -
- -
-

Fediversity explained - for the EC

-

2The Fediversity Project operates on a grant gratiously provided by the HORIZON fund by the EC. Learn more about the accountability of the project.

-
- -
- - - +