Compare commits

...

8 commits

Author SHA1 Message Date
Azzam Alsharafi
5750178798
Merge 904e077b74 into 199d9f4cce 2025-01-02 16:38:29 +09:00
Nuno Coração
199d9f4cce
Merge pull request #1894 from nunocoracao/dependabot/github_actions/dev/actions/upload-artifact-4
Some checks failed
Test Build / Build Example Site (push) Has been cancelled
👷 Bump actions/upload-artifact from 3 to 4
2025-01-01 16:08:22 +00:00
Nuno Coração
77c6dad63d
Merge pull request #1893 from nunocoracao/dependabot/github_actions/dev/softprops/action-gh-release-2
👷 Bump softprops/action-gh-release from 1 to 2
2025-01-01 16:08:05 +00:00
Nuno Coração
ff2b8ffccc
Merge pull request #1876 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-01-01 16:07:44 +00:00
dependabot[bot]
12e7042e9e
👷 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 05:16:01 +00:00
dependabot[bot]
5afa11c2e1
👷 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 05:15:59 +00:00
nunocoracao
80cfb06797 Update Hugo supported version
Some checks failed
Test Build / Build Example Site (push) Has been cancelled
2024-12-31 06:05:49 +00:00
Azzam Alsharafi
904e077b74 Fix top nav bar layout in RTL languages
Modify the margin direction in RTL layouts, and replace some occurrences of space-x to gap-x, for better RTL handling
2024-12-19 15:24:21 +08:00
6 changed files with 25 additions and 19 deletions

View file

@ -10,12 +10,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: config-default
path: config-default.zip
- name: Upload to release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: config-default.zip
tag_name: ${{ github.event.release.tag_name }}

View file

@ -1616,10 +1616,6 @@ select {
margin-left:-3rem
}
.-mr-2 {
margin-right:-0.5rem
}
.-mr-48 {
margin-right:-12rem
}
@ -2163,6 +2159,16 @@ select {
gap:1rem
}
.gap-x-3 {
-moz-column-gap:0.75rem;
column-gap:0.75rem
}
.gap-x-5 {
-moz-column-gap:1.25rem;
column-gap:1.25rem
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse:0;
margin-right:calc(0.5rem * var(--tw-space-x-reverse));
@ -5494,8 +5500,8 @@ pre {
margin-left:0.5rem
}
.ltr\:mr-14:where([dir="ltr"], [dir="ltr"] *) {
margin-right:3.5rem
.ltr\:mr-1:where([dir="ltr"], [dir="ltr"] *) {
margin-right:0.25rem
}
.ltr\:mr-4:where([dir="ltr"], [dir="ltr"] *) {
@ -5562,8 +5568,8 @@ pre {
margin-right:-1.25rem
}
.rtl\:ml-14:where([dir="rtl"], [dir="rtl"] *) {
margin-left:3.5rem
.rtl\:ml-1:where([dir="rtl"], [dir="rtl"] *) {
margin-left:0.25rem
}
.rtl\:ml-4:where([dir="rtl"], [dir="rtl"] *) {

View file

@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.139.3"
max = "0.140.2"

View file

@ -1,5 +1,5 @@
<div style="padding-left:0;padding-right:0;padding-top:2px;padding-bottom:3px"
class="main-menu flex items-center justify-between px-4 py-6 sm:px-6 md:justify-start space-x-3">
class="main-menu flex items-center justify-between px-4 py-6 sm:px-6 md:justify-start gap-x-3">
{{ if .Site.Params.Logo }}
{{ $logo := resources.Get .Site.Params.Logo }}
{{ if $logo }}
@ -30,7 +30,7 @@
{{ end }}
</nav>
<nav class="hidden md:flex items-center space-x-5 md:ml-12 h-12">
<nav class="hidden md:flex items-center gap-x-5 md:ml-12 h-12">
{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}
@ -51,7 +51,7 @@
{{/* Appearance switch */}}
{{ if .Site.Params.footer.showAppearanceSwitcher | default false }}
<div
class="{{ if .Site.Params.footer.showScrollToTop | default true -}} ltr:mr-14 rtl:ml-14 {{- end }} flex items-center">
class="{{ if .Site.Params.footer.showScrollToTop | default true -}} {{- end }} flex items-center">
<button id="appearance-switcher" aria-label="Dark mode switcher" type="button" class="text-base hover:text-primary-600 dark:hover:text-primary-400">
<div class="flex items-center justify-center dark:hidden">
{{ partial "icon.html" "moon" }}
@ -64,7 +64,7 @@
{{ end }}
</nav>
<div class="flex md:hidden items-center space-x-5 md:ml-12 h-12">
<div class="flex md:hidden items-center gap-x-5 md:ml-12 h-12">
<span></span>
@ -79,7 +79,7 @@
{{/* Appearance switch */}}
{{ if .Site.Params.footer.showAppearanceSwitcher | default false }}
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" class="text-base hover:text-primary-600 dark:hover:text-primary-400" style="margin-right:5px">
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" class="text-base hover:text-primary-600 dark:hover:text-primary-400 ltr:mr-1 rtl:ml-1">
<div class="flex items-center justify-center dark:hidden">
{{ partial "icon.html" "moon" }}
</div>
@ -91,7 +91,7 @@
</div>
</div>
<div class="-my-2 -mr-2 md:hidden">
<div class="-my-2 md:hidden">
<label id="menu-button" class="block">
{{ if .Site.Menus.main }}

View file

@ -1,7 +1,7 @@
{{ if .IsTranslated }}
<div>
<div class="cursor-pointer flex items-center nested-menu">
<span class="mr-1">
<span class="ltr:mr-1 rtl:ml-1">
{{ partial "icon.html" "language" }}
</span>
<div class="text-sm font-medium text-gray-500 hover:text-primary-600 dark:hover:text-primary-400" title="{{ .Title }}">

View file

@ -1 +1 @@
v0.139.3
v0.140.2