Skip to content

Commit

Permalink
Merge pull request #584 from nunocoracao/dev
Browse files Browse the repository at this point in the history
🔖 release v2.31.0
  • Loading branch information
nunocoracao authored Mar 10, 2023
2 parents 80159c6 + fa15a00 commit 789ec70
Show file tree
Hide file tree
Showing 14 changed files with 276 additions and 68 deletions.
127 changes: 124 additions & 3 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ select {
padding-bottom: 3px;
padding-left: 5px;
padding-right: 5px;
border-radius: 0.25rem;
}

.prose :where(code):not(:where([class~="not-prose"] *))::before {
Expand Down Expand Up @@ -1202,9 +1203,9 @@ select {

.prose :where(mark):not(:where([class~="not-prose"] *)) {
color: rgba(var(--color-neutral-800), 1);
background-color: rgb(228 230 233 / 1);
background-color: rgb(48 97 175 / 1);
padding: 0.1rem 0.2rem;
border-radius: 0.12rem;
border-radius: 0.25rem;
}

.prose :where(p):not(:where([class~="not-prose"] *))::before {
Expand Down Expand Up @@ -1275,6 +1276,10 @@ select {
position: fixed;
}

.\!absolute {
position: absolute !important;
}

.absolute {
position: absolute;
}
Expand Down Expand Up @@ -1439,6 +1444,14 @@ select {
z-index: 1080;
}

.z-\[1\] {
z-index: 1;
}

.z-\[2\] {
z-index: 2;
}

.z-\[999\] {
z-index: 999;
}
Expand All @@ -1455,6 +1468,10 @@ select {
float: left;
}

.\!-m-px {
margin: -1px !important;
}

.m-0 {
margin: 0px;
}
Expand Down Expand Up @@ -1491,6 +1508,16 @@ select {
margin-right: 0.25rem;
}

.mx-\[15\%\] {
margin-left: 15%;
margin-right: 15%;
}

.mx-\[3px\] {
margin-left: 3px;
margin-right: 3px;
}

.mx-auto {
margin-left: auto;
margin-right: auto;
Expand Down Expand Up @@ -1539,6 +1566,10 @@ select {
margin-right: -12rem;
}

.-mr-\[100\%\] {
margin-right: -100%;
}

.-mt-3 {
margin-top: -0.75rem;
}
Expand Down Expand Up @@ -1743,6 +1774,10 @@ select {
height: 0px !important;
}

.\!h-px {
height: 1px !important;
}

.h-0 {
height: 0px;
}
Expand Down Expand Up @@ -1851,6 +1886,10 @@ select {
height: 32px;
}

.h-\[3px\] {
height: 3px;
}

.h-\[40px\] {
height: 40px;
}
Expand Down Expand Up @@ -1927,6 +1966,10 @@ select {
min-height: auto;
}

.\!w-px {
width: 1px !important;
}

.w-0 {
width: 0px;
}
Expand Down Expand Up @@ -1987,6 +2030,10 @@ select {
width: 2.25rem;
}

.w-\[15\%\] {
width: 15%;
}

.w-\[150px\] {
width: 150px;
}
Expand Down Expand Up @@ -2152,6 +2199,10 @@ select {
flex: 1 1 auto;
}

.flex-initial {
flex: 0 1 auto;
}

.flex-none {
flex: none;
}
Expand Down Expand Up @@ -2485,6 +2536,10 @@ select {
overflow: auto;
}

.\!overflow-hidden {
overflow: hidden !important;
}

.overflow-hidden {
overflow: hidden;
}
Expand Down Expand Up @@ -2515,6 +2570,10 @@ select {
white-space: normal;
}

.\!whitespace-nowrap {
white-space: nowrap !important;
}

.whitespace-nowrap {
white-space: nowrap;
}
Expand Down Expand Up @@ -2609,6 +2668,10 @@ select {
border-top-right-radius: 0.5rem;
}

.\!border-0 {
border-width: 0px !important;
}

.\!border-\[3px\] {
border-width: 3px !important;
}
Expand All @@ -2633,6 +2696,11 @@ select {
border-width: 14px;
}

.border-y-\[10px\] {
border-top-width: 10px;
border-bottom-width: 10px;
}

.border-b-2 {
border-bottom-width: 2px;
}
Expand Down Expand Up @@ -2832,6 +2900,10 @@ select {
background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-none {
background-image: none;
}

.from-neutral {
--tw-gradient-from: rgba(var(--color-neutral), 1);
--tw-gradient-to: rgba(var(--color-neutral), 0);
Expand Down Expand Up @@ -2895,6 +2967,10 @@ select {
object-position: left;
}

.\!p-0 {
padding: 0px !important;
}

.p-0 {
padding: 0px;
}
Expand Down Expand Up @@ -3160,6 +3236,10 @@ select {
text-align: right;
}

.-indent-\[999px\] {
text-indent: -999px;
}

.align-top {
vertical-align: top;
}
Expand Down Expand Up @@ -3694,10 +3774,20 @@ select {
transition-duration: 150ms;
}

.transition-transform {
transition-property: transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}

.delay-\[0ms\] {
transition-delay: 0ms;
}

.duration-150 {
transition-duration: 150ms;
}

.duration-200 {
transition-duration: 200ms;
}
Expand All @@ -3718,6 +3808,10 @@ select {
transition-duration: 400ms;
}

.duration-\[600ms\] {
transition-duration: 600ms;
}

.ease-\[cubic-bezier\(0\2c 0\2c 0\.15\2c 1\)\2c _cubic-bezier\(0\2c 0\2c 0\.15\2c 1\)\] {
transition-timing-function: cubic-bezier(0,0,0.15,1), cubic-bezier(0,0,0.15,1);
}
Expand Down Expand Up @@ -3750,6 +3844,10 @@ select {
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.\!\[clip\:rect\(0\2c 0\2c 0\2c 0\)\] {
clip: rect(0,0,0,0) !important;
}

.\[direction\:ltr\] {
direction: ltr;
}
Expand Down Expand Up @@ -5347,7 +5445,7 @@ body:has(#menu-controller:checked) {
}

.dark .dark\:prose-invert :where(mark):not(:where([class~="not-prose"] *)) {
background-color: rgb(200 204 211 / 1);
background-color: rgb(143 174 224 / 1);
}

.dark .dark\:prose-invert :where(code):not(:where([class~="not-prose"] *)) {
Expand Down Expand Up @@ -5378,6 +5476,21 @@ body:has(#menu-controller:checked) {
background-color: transparent;
}

.after\:clear-both::after {
content: var(--tw-content);
clear: both;
}

.after\:block::after {
content: var(--tw-content);
display: block;
}

.after\:content-\[\'\'\]::after {
--tw-content: '';
content: var(--tw-content);
}

.first\:mt-8:first-child {
margin-top: 2rem;
}
Expand Down Expand Up @@ -5578,6 +5691,10 @@ body:has(#menu-controller:checked) {
opacity: 1;
}

.hover\:opacity-90:hover {
opacity: 0.9;
}

.hover\:\!shadow-none:hover {
--tw-shadow: 0 0 #0000 !important;
--tw-shadow-colored: 0 0 #0000 !important;
Expand Down Expand Up @@ -5639,6 +5756,10 @@ body:has(#menu-controller:checked) {
opacity: 0.9 !important;
}

.focus\:opacity-90:focus {
opacity: 0.9;
}

.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
Expand Down
4 changes: 2 additions & 2 deletions assets/lib/jquery/jquery.slim.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions exampleSite/content/docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The theme currently supports the following languages by default:
| 🇷🇴 Romanian | `ro` |
| 🇷🇺 Russian | `ru` |
| 🇹🇷 Turkish | `tr` |
| 🇻🇳 Vietnamese | `vi` |
| 🇨🇳 Simplified Chinese (China) | `zh-cn` |
| 🇹🇼 Traditional Chinese (Taiwan) | `zh-tw` |

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/samples/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>

Press <kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd> to end the session.

Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
70 changes: 70 additions & 0 deletions i18n/vi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
global:
language: "🇻🇳"

article:
anchor_label: "Neo"
date: "{{ .Date }}"
date_updated: "Cập nhật: {{ .Date }}"
draft: "Bản nháp"
edit_title: "Sửa nội dung"
reading_time:
one: "{{ .Count }} phút"
other: "{{ .Count }} phút"
reading_time_title: "Thời gian đọc"
table_of_contents: "Mục lục"
word_count:
one: "{{ .Count }} từ"
other: "{{ .Count }} từ"
views:
one: "{{ .Count }} lượt xem"
other: "{{ .Count }} lượt xem"
likes:
one: "{{ .Count }} lượt thích"
other: "{{ .Count }} lượt thích"
part_of_series: "Bài viết này là một phần của loạt bài."
part: "Phần"
this_article: "Bài viết này"

author:
byline_title: "Tác giả"

code:
copy: "Sao chép"
copied: "Đã sao chép"

error:
404_title: "Không tìm thấy trang :confused:"
404_error: "Lỗi 404"
404_description: "Có vẻ như trang bạn yêu cầu không tồn tại."

footer:
dark_appearance: "Chuyển sang giao diện tối"
light_appearance: "Chuyển sang giao diện sáng"
powered_by: "Dựa trên {{ .Hugo }} &amp; {{ .Theme }}"

list:
externalurl_title: "Liên kết đến trang web bên ngoài"
no_articles: "Không có bài viết nào để liệt kê ở đây."

nav:
scroll_to_top_title: "Cuộn lên trên cùng"
skip_to_main: "Chuyển đến nội dung chính"

search:
open_button_title: "Tìm kiếm (/)"
close_button_title: "Đóng (Esc)"
input_placeholder: "Tìm kiếm"

sharing:
email: "Gửi qua email"
facebook: "Chia sẻ trên facebook"
linkedin: "Chia sẻ trên LinkedIn"
pinterest: "Ghim trên Pinterest"
reddit: "Gửi lên Reddit"
twitter: "Tweet trên Twitter"

shortcode:
recent_articles: "Gần đây"

recent:
show_more: "Xem nhiều hơn"
Loading

0 comments on commit 789ec70

Please sign in to comment.