[PR #873] [MERGED] Redefine question and answer callouts to match Quarto defaults #984

Closed
opened 2026-03-22 15:57:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/873
Author: @hzeljko
Created: 6/23/2025
Status: Merged
Merged: 6/23/2025
Merged by: @profvjreddi

Base: devHead: 871-need-to-adjust-stylingformatting-of-quizzes


📝 Commits (1)

  • 95056d7 Refine question and answer callouts to match Quarto defaults

📊 Changes

9 files changed (+84 additions, -75 deletions)

View changed files

📝 .pre-commit-config.yaml (+8 -7)
📝 _extensions/custom-numbered-blocks/style/foldbox.css (+22 -19)
📝 _extensions/custom-numbered-blocks/style/foldbox.tex (+54 -49)
_extensions/custom-numbered-blocks/style/icons/icon_answer.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.pdf (+0 -0)
_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.pdf (+0 -0)
_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.png (+0 -0)
_extensions/custom-numbered-blocks/style/icons/icon_question.png (+0 -0)

📄 Description

  • Redesigned custom quiz-question and quiz-answer callouts to visually align with native Quarto callouts in both HTML and PDF.
  • Unified layout structure, improved corner rounding, border styling, and spacing.
  • Adjusted colors for visual clarity and consistency with book style.
  • Applied smaller font size to quiz callouts.

Before submitting your Pull Request, please review and complete the items on this checklist.

  • The text has been proofread for grammar and spelling errors.
  • All images, figures, and tables render properly without any glitches.
  • All images have a source or they are properly linked to external sites.
  • The chapter's formatting is consistent with the rest of the book.
  • The chapter has been locally built and tested using Quarto.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/873 **Author:** [@hzeljko](https://github.com/hzeljko) **Created:** 6/23/2025 **Status:** ✅ Merged **Merged:** 6/23/2025 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `871-need-to-adjust-stylingformatting-of-quizzes` --- ### 📝 Commits (1) - [`95056d7`](https://github.com/harvard-edge/cs249r_book/commit/95056d70feccfb5df97f0c56b81d1bb3aa1ed1b4) Refine question and answer callouts to match Quarto defaults ### 📊 Changes **9 files changed** (+84 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `.pre-commit-config.yaml` (+8 -7) 📝 `_extensions/custom-numbered-blocks/style/foldbox.css` (+22 -19) 📝 `_extensions/custom-numbered-blocks/style/foldbox.tex` (+54 -49) ➖ `_extensions/custom-numbered-blocks/style/icons/icon_answer.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.pdf` (+0 -0) ➕ `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.pdf` (+0 -0) ➕ `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.png` (+0 -0) ➖ `_extensions/custom-numbered-blocks/style/icons/icon_question.png` (+0 -0) </details> ### 📄 Description - Redesigned custom quiz-question and quiz-answer callouts to visually align with native Quarto callouts in both HTML and PDF. - Unified layout structure, improved corner rounding, border styling, and spacing. - Adjusted colors for visual clarity and consistency with book style. - Applied smaller font size to quiz callouts. Before submitting your Pull Request, please review and complete the items on this checklist. - [x] The text has been proofread for grammar and spelling errors. - [x] All images, figures, and tables render properly without any glitches. - [x] All images have a source or they are properly linked to external sites. - [x] The chapter's formatting is consistent with the rest of the book. - [x] The chapter has been locally built and tested using Quarto. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 15:57:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#984