-
Latest News from The NeoForged Project
+
News from The NeoForged Project
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{- range $paginator.Pages }}
{{- .Render "summary" }}
diff --git a/themes/mainroad/assets/css/style.css b/themes/mainroad/assets/css/style.css
index b4b7634..53447ee 100644
--- a/themes/mainroad/assets/css/style.css
+++ b/themes/mainroad/assets/css/style.css
@@ -9,10 +9,7 @@
*::before,
*::after {
box-sizing: border-box;
-}
-
-html, body, .container--outer {
- height: 100%;
+ transition: all 0.5s;
}
article,
@@ -1073,7 +1070,11 @@ details[open] summary {
cursor: grab;
}
-summary:hover {
+summary code:hover {
+ filter: brightness(.85);
+}
+
+.badges:hover {
filter: brightness(.85);
}
@@ -1134,12 +1135,12 @@ summary:hover {
visibility: hidden;
}
-/* Installer Badges */
-.badges_beta {
- padding: 0 5px;
+.installer-version {
+ font-family: monospace;
}
-.badges_new {
+/* Installer Badges */
+.badges_beta, .badges_new, .badges_legacy {
padding: 0 5px;
}
@@ -1192,10 +1193,10 @@ summary:hover {
align-items: center;
text-align: center;
justify-content: center;
+ border-radius: 25%;
}
.footer_modetoggle-button {
- border-radius: 50%;
border-collapse: separate;
height: 28px;
width: 28px;
@@ -1350,6 +1351,10 @@ summary:hover {
--color-background: #d5e0df;
--color-badges-beta: #d7742f;
--color-badges-new: #e57;
+ --color-badges-legacy: #13cace;
+ --color-border-badges-beta: #dd9460;
+ --color-border-badges-new: #e2899c;
+ --color-border-badges-legacy: #53d8da;
--color-download: #e68c37;
--color-download-highlight: #e5b04c;
--color-box: #bdc7c7;
@@ -1360,7 +1365,7 @@ summary:hover {
--color-code: #b12a48;
--color-code-background: #bdc7c7;
--color-code-notice: #e57;
- --color-code-notice-background: #bdc7c7;
+ --color-code-notice-background: #ffffff85;
--color-code-block-background: #2e3135;
--color-footer-text: #aab0b3;
--color-footer-link-text: #bdc7c7;
@@ -1375,6 +1380,10 @@ summary:hover {
--color-highlight: #d7742f;
--color-badges-beta: #d7742f;
--color-badges-new: #e57;
+ --color-badges-legacy: #079b9e;
+ --color-border-badges-beta: #875938;
+ --color-border-badges-new: #8b5460;
+ --color-border-badges-legacy: #227778;
--color-background: #222427;
--color-download: #d7742f;
--color-download-highlight: #e68c37;
diff --git a/themes/mainroad/layouts/_default/baseof.html b/themes/mainroad/layouts/_default/baseof.html
index 3a6009b..b0c750c 100644
--- a/themes/mainroad/layouts/_default/baseof.html
+++ b/themes/mainroad/layouts/_default/baseof.html
@@ -41,7 +41,6 @@
{{- if hasPrefix .Site.GoogleAnalytics "G-" }}
{{ template "_internal/google_analytics.html" . }}
{{- else }}
- {{ template "_internal/google_analytics_async.html" . }}
{{- end }}
{{- end }}
diff --git a/themes/mainroad/layouts/partials/colors.css b/themes/mainroad/layouts/partials/colors.css
index 30eacbd..e858949 100644
--- a/themes/mainroad/layouts/partials/colors.css
+++ b/themes/mainroad/layouts/partials/colors.css
@@ -381,10 +381,17 @@ details:hover {
/* Installer Badges */
.badges_beta {
background-color: var(--color-badges-beta);
+ border: 2px solid var(--color-border-badges-beta);
}
.badges_new {
background-color: var(--color-badges-new);
+ border: 2px solid var(--color-border-badges-new);
+}
+
+.badges_legacy {
+ background-color: var(--color-badges-legacy);
+ border: 2px solid var(--color-border-badges-legacy);
}
/* News Section */
diff --git a/themes/mainroad/layouts/partials/svg/team.svg b/themes/mainroad/layouts/partials/svg/team.svg
new file mode 100644
index 0000000..00b3a1f
--- /dev/null
+++ b/themes/mainroad/layouts/partials/svg/team.svg
@@ -0,0 +1 @@
+
diff --git a/themes/mainroad/theme.toml b/themes/mainroad/theme.toml
index 0c12d2e..6a98d4b 100644
--- a/themes/mainroad/theme.toml
+++ b/themes/mainroad/theme.toml
@@ -5,7 +5,7 @@ description = "Mainroad is a responsive, clean and content-focused Hugo theme."
homepage = "https://github.com/vimux/mainroad/"
demosite = "https://mainroad-demo.netlify.app/"
tags = ["blog", "responsive", "light", "multilingual", "customizable", "widgets", "wordpress"]
-features = ["blog", "responsive", "multilingual", "widgets", "rss", "disqus", "google analytics", "wordpress"]
+features = ["blog", "responsive", "multilingual", "widgets", "rss", "disqus", "wordpress"]
min_version = "0.48"
[author]