diff --git a/assets/css/style.css b/assets/css/style.css index e81bcc19..af0d4b08 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -36,6 +36,12 @@ a { color: #E63054; } +@media (prefers-color-scheme: dark) { + a { + color: #eb4444; + } +} + .red-1 { color: #E63054; } @@ -359,6 +365,13 @@ code { color: brown; } +@media (prefers-color-scheme: dark) { + code { + font-size: 0.85em; + color: tan; + } +} + pre code { color: inherit; } diff --git a/assets/images/hero_image_white.png b/assets/images/hero_image_white.png new file mode 100644 index 00000000..3f725dce Binary files /dev/null and b/assets/images/hero_image_white.png differ diff --git a/assets/images/hero_image_white.svg b/assets/images/hero_image_white.svg new file mode 100644 index 00000000..a4d7d153 --- /dev/null +++ b/assets/images/hero_image_white.svg @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/logo/large_logo_white.png b/assets/logo/large_logo_white.png new file mode 100644 index 00000000..79a97f48 Binary files /dev/null and b/assets/logo/large_logo_white.png differ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bb221ab3..457c364f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -29,7 +29,7 @@ {{ template "_internal/opengraph.html" . }} - +
{{ partial "nav" . }} diff --git a/layouts/blog/list.html b/layouts/blog/list.html index aa5cbcb3..1debf091 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -15,7 +15,7 @@ -
+
{{ .Title }}
@@ -32,7 +32,7 @@
Continue Reading + class="bg-rose-600 dark:bg-rose-800 py-4 px-12 rounded-full text-white text-xl">Continue Reading
diff --git a/layouts/index.html b/layouts/index.html index 06f38e22..19ca502c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@
-
+
{{ range where .Site.Pages "Params.type" "card" }} {{ partial "card" . }} {{ end }} @@ -32,7 +32,7 @@

This open source project has been or

-

100%

+

100%

Open Source

CloudNativePG is 100% open source and community-driven. @@ -45,7 +45,7 @@

Open So
View on GitHub + class="bg-red-600 dark:bg-red-800 py-4 px-12 rounded-full text-white text-xl">View on GitHub

{{ end }} diff --git a/layouts/page/styleguide.html b/layouts/page/styleguide.html index 8fdf6da0..4ed6b269 100644 --- a/layouts/page/styleguide.html +++ b/layouts/page/styleguide.html @@ -9,7 +9,7 @@

Color Palette

-
+

Red 1 - #E63054

@@ -75,7 +75,7 @@

Color Palette

-
+

Gray 4 -#212C31

diff --git a/layouts/partials/author.html b/layouts/partials/author.html index cd5fdac1..8874b128 100644 --- a/layouts/partials/author.html +++ b/layouts/partials/author.html @@ -5,7 +5,7 @@
diff --git a/layouts/partials/author_sidebar.html b/layouts/partials/author_sidebar.html index e8678a2a..6ba514a3 100644 --- a/layouts/partials/author_sidebar.html +++ b/layouts/partials/author_sidebar.html @@ -5,7 +5,7 @@
-

+

{{$author.Params.name}}

diff --git a/layouts/partials/blog_datetime.html b/layouts/partials/blog_datetime.html index 4bf06518..286fefe0 100644 --- a/layouts/partials/blog_datetime.html +++ b/layouts/partials/blog_datetime.html @@ -1,5 +1,5 @@ -
-
+
+
{{ .PublishDate.Format "January 2, 2006" }} • {{ .ReadingTime }} minute{{ if (ne .ReadingTime 1) }}s{{ end }} diff --git a/layouts/partials/blog_sidebar.html b/layouts/partials/blog_sidebar.html index 331ddac0..f7c252cd 100644 --- a/layouts/partials/blog_sidebar.html +++ b/layouts/partials/blog_sidebar.html @@ -25,7 +25,7 @@

Latest Posts

{{ range first 6 (.Site.GetPage "/blog").Pages}} -
@@ -38,7 +38,7 @@

Latest Posts

Blog image
-
+

{{.Title}}

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6323d5d8..416fbe75 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,14 +1,14 @@