feat: Adjust the size of pythontutor blocks (#1036)

* Update the style of the python tutor blocks

* Use pythontutor links instead of iframe in the documents
This commit is contained in:
Yudong Jin
2024-01-09 16:09:35 +08:00
committed by GitHub
parent d3cb600910
commit 0b7e99dafa
17 changed files with 41 additions and 39 deletions
+10
View File
@@ -206,3 +206,13 @@ body {
.md-typeset summary:before {
width: 1.25em;
}
.pythontutor-iframe {
width: 125%;
height: 125%;
max-width: 125% !important;
max-height: 125% !important;
transform: scale(0.8);
transform-origin: top left;
border: none;
}