Add basic print mode styles for resume format #3

Open
N0tAI wants to merge 1 commit from feature/print-mode-5503257500816862231 into main
N0tAI commented 2026-04-02 18:00:54 +00:00 (Migrated from github.com)

Adds a dedicated print mode that strips away the parchment theme and styles the page like a clean, professional resume when printed or saved as a PDF. Links automatically display their URLs and keyword interactions are flattened for static reading.


PR created automatically by Jules for task 5503257500816862231 started by @N0tAI

Adds a dedicated print mode that strips away the parchment theme and styles the page like a clean, professional resume when printed or saved as a PDF. Links automatically display their URLs and keyword interactions are flattened for static reading. --- *PR created automatically by Jules for task [5503257500816862231](https://jules.google.com/task/5503257500816862231) started by @N0tAI*
google-labs-jules[bot] commented 2026-04-02 18:00:55 +00:00 (Migrated from github.com)

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to **Reactive Mode**. When this mode is on, I will only act on comments where you specifically mention me with `@jules`. You can find this option in the **Pull Request** section of your [global Jules UI settings](https://jules.google.com/settings). You can always switch back! New to Jules? Learn more at [jules.google/docs](https://jules.google/docs). --- *_For security, I will only act on instructions from the user who triggered this task._*
gemini-code-assist[bot] (Migrated from github.com) reviewed 2026-04-02 18:04:32 +00:00
gemini-code-assist[bot] (Migrated from github.com) left a comment

Code Review

This pull request introduces a dedicated print stylesheet, src/styles/print.css, and integrates it into the site layout to optimize the page for printing. The new styles adjust colors for readability, hide interactive components like popups, and ensure that link URLs are visible on the printed page. Review feedback suggests removing redundant !important declarations in the CSS to better leverage standard specificity and improve code maintainability.

## Code Review This pull request introduces a dedicated print stylesheet, `src/styles/print.css`, and integrates it into the site layout to optimize the page for printing. The new styles adjust colors for readability, hide interactive components like popups, and ensure that link URLs are visible on the printed page. Review feedback suggests removing redundant `!important` declarations in the CSS to better leverage standard specificity and improve code maintainability.
@ -0,0 +60,4 @@
.keyword-display {
color: #000000 !important;
font-weight: bold !important;
gemini-code-assist[bot] (Migrated from github.com) commented 2026-04-02 18:04:32 +00:00

medium

The !important declaration on font-weight is redundant. The base style for .keyword-display already sets font-weight: bold. While !important is needed for the color property to override more specific :hover styles, it is not needed for font-weight as it is not being changed in other states. Removing the unnecessary !important improves code clarity.

    font-weight: bold;
![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg) The `!important` declaration on `font-weight` is redundant. The base style for `.keyword-display` already sets `font-weight: bold`. While `!important` is needed for the `color` property to override more specific `:hover` styles, it is not needed for `font-weight` as it is not being changed in other states. Removing the unnecessary `!important` improves code clarity. ```suggestion font-weight: bold; ```
@ -0,0 +78,4 @@
}
address a[href]::after {
content: " - " attr(href) !important;
gemini-code-assist[bot] (Migrated from github.com) commented 2026-04-02 18:04:32 +00:00

medium

The !important declaration on the content property is not necessary. The selector address a[href] is more specific than the general a[href] selector defined on line 43, so this rule will take precedence naturally. The general rule does not use !important either. It's a good practice to rely on CSS specificity and avoid !important where possible to make styles easier to manage.

    content: " - " attr(href);
![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg) The `!important` declaration on the `content` property is not necessary. The selector `address a[href]` is more specific than the general `a[href]` selector defined on line 43, so this rule will take precedence naturally. The general rule does not use `!important` either. It's a good practice to rely on CSS specificity and avoid `!important` where possible to make styles easier to manage. ```suggestion content: " - " attr(href); ```
This pull request has changes conflicting with the target branch.
  • src/layouts/site_layout.astro
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/print-mode-5503257500816862231:feature/print-mode-5503257500816862231
git switch feature/print-mode-5503257500816862231

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/print-mode-5503257500816862231
git switch feature/print-mode-5503257500816862231
git rebase main
git switch main
git merge --ff-only feature/print-mode-5503257500816862231
git switch feature/print-mode-5503257500816862231
git rebase main
git switch main
git merge --no-ff feature/print-mode-5503257500816862231
git switch main
git merge --squash feature/print-mode-5503257500816862231
git switch main
git merge --ff-only feature/print-mode-5503257500816862231
git switch main
git merge feature/print-mode-5503257500816862231
git push origin main
Sign in to join this conversation.
No description provided.