From a1240bf195988ba1b6bad9014cc526dd5faa1ead Mon Sep 17 00:00:00 2001 From: m-jahn Date: Mon, 26 Jan 2026 08:26:40 +0100 Subject: [PATCH 1/2] fix: deployment time --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7072228..1bbadfa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages on: schedule: - - cron: 0 5 * * 1 + - cron: 0 5 * * 5 push: branches: [main] From 36dc8adf216046d8a3fb211d77501c6931d5de88 Mon Sep 17 00:00:00 2001 From: m-jahn Date: Mon, 26 Jan 2026 10:41:57 +0100 Subject: [PATCH 2/2] fix: small style changes --- docusaurus.config.js | 6 +++++- src/components/About/styles.module.css | 15 +++++++++++---- src/components/Activity/index.jsx | 2 +- src/css/custom.css | 9 ++++++++- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index b955d1a..9613faa 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -107,6 +107,10 @@ const config = { label: "Documentation", to: "/docs/projects/intro", }, + { + label: `Last update: ${new Date().toLocaleDateString()}`, + to: "https://github.com/MPUSP/mpusp.github.io/actions", + }, ], }, { @@ -145,7 +149,7 @@ const config = { colorMode: { defaultMode: "light", disableSwitch: false, - respectPrefersColorScheme: false, + respectPrefersColorScheme: true, }, }), }; diff --git a/src/components/About/styles.module.css b/src/components/About/styles.module.css index b471130..880c6a9 100644 --- a/src/components/About/styles.module.css +++ b/src/components/About/styles.module.css @@ -68,12 +68,20 @@ transform: scale(0.95); } -.card h1, -h3 { +.card h1 { margin: 0; + background-image: linear-gradient( + 90deg, + var(--ifm-color-primary-dark), + var(--ifm-color-primary-lightest) + ); + -webkit-background-clip: text; + background-clip: text; + color: transparent; } .card h3 { + margin: 0; font-weight: 600; margin-top: 5px; } @@ -87,7 +95,6 @@ h3 { .stats2_card { grid-template-columns: repeat(2, 1fr); } - } @media screen and (max-width: 650px) { @@ -119,4 +126,4 @@ h3 { .about_description p { font-size: 16px; } -} \ No newline at end of file +} diff --git a/src/components/Activity/index.jsx b/src/components/Activity/index.jsx index ad81f15..762ad57 100644 --- a/src/components/Activity/index.jsx +++ b/src/components/Activity/index.jsx @@ -99,7 +99,7 @@ export default function Activity() { diff --git a/src/css/custom.css b/src/css/custom.css index f5b960d..d968cbc 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -24,6 +24,7 @@ var(--ifm-color-primary-light) 100% ); --ifm-color-link-grey: #878787; + --footer-color: #347b6f; --theme-card: #f6f6f6; --theme-card-link-color: var(--ifm-color-primary-dark); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); @@ -38,7 +39,7 @@ --ifm-color-primary-light: #5eb1a3; --ifm-color-primary-lighter: #76c0b3; --ifm-color-primary-lightest: #8ccbbf; - --ifm-color-secondary: #515151; + --ifm-color-secondary: #c4c4c4; --ifm-color-success: #388e3c; --ifm-color-info: #1976d2; --ifm-color-warning: #ef6c00; @@ -48,7 +49,13 @@ var(--ifm-color-primary-light) 100% ); --ifm-color-link-grey: #494949; + --footer-color: #293f3a; --theme-card: #2c2c2c; --theme-card-link-color: var(--ifm-color-primary-dark); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } + +/* Override the default footer background colors */ +.footer { + --ifm-footer-background-color: var(--footer-color); +}