diff --git a/docs/index.html b/docs/index.html index d45c646ee..5e8b0888a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -349,7 +349,7 @@

贡献者

本书在开源社区一百多位贡献者的共同努力下不断完善,感谢他们付出的时间与精力!

- Contributors + Contributors diff --git a/en/docs/index.html b/en/docs/index.html index fe6773e7e..566711b18 100644 --- a/en/docs/index.html +++ b/en/docs/index.html @@ -416,7 +416,7 @@

Contributors

This book has been refined by the efforts of over 180 contributors. We sincerely thank them for their invaluable time and contributions!

- Contributors + Contributors diff --git a/overrides/stylesheets/extra.css b/overrides/stylesheets/extra.css index 70be64b95..04201732a 100644 --- a/overrides/stylesheets/extra.css +++ b/overrides/stylesheets/extra.css @@ -1,7 +1,7 @@ /* Color Settings */ /* https://github.com/squidfunk/mkdocs-material/blob/6b5035f5580f97532d664e3d1babf5f320e88ee9/src/assets/stylesheets/main/_colors.scss */ /* https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors */ -:root > * { +:root>* { --md-primary-fg-color: #ffffff; --md-primary-bg-color: #1d1d20; @@ -69,8 +69,10 @@ .md-header--landing { box-shadow: none; transition: none; - backdrop-filter: saturate(180%) blur(20px); /* Gaussian blur */ - -webkit-backdrop-filter: saturate(180%) blur(20px); /* Safari */ + backdrop-filter: saturate(180%) blur(20px); + /* Gaussian blur */ + -webkit-backdrop-filter: saturate(180%) blur(20px); + /* Safari */ background-color: var(--md-header-bg-color); } @@ -159,7 +161,7 @@ body { /* max height of code block */ /* https://github.com/squidfunk/mkdocs-material/issues/3444 */ -.md-typeset pre > code { +.md-typeset pre>code { max-height: 25rem; } @@ -176,7 +178,8 @@ body { align-items: center; justify-content: center; margin: 0 auto; - width: 100%; /* Default to full width */ + width: 100%; + /* Default to full width */ } /* Admonition for python tutor */ @@ -192,12 +195,13 @@ body { box-shadow: var(--md-shadow-z1); } -.md-typeset .pythontutor > .admonition-title, -.md-typeset .pythontutor > summary { +.md-typeset .pythontutor>.admonition-title, +.md-typeset .pythontutor>summary { background-color: var(--md-code-bg-color); } -.md-typeset .pythontutor > .admonition-title::before, -.md-typeset .pythontutor > summary::before { + +.md-typeset .pythontutor>.admonition-title::before, +.md-typeset .pythontutor>summary::before { background-color: rgb(55, 118, 171); -webkit-mask-image: var(--md-admonition-icon--pythontutor); mask-image: var(--md-admonition-icon--pythontutor); @@ -363,27 +367,27 @@ a:hover .text-button span { } /* hover on the planets */ -.hero-div > a > img { +.hero-div>a>img { width: auto; position: absolute; transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; } -.hero-div > a > span { +.hero-div>a>span { margin: 0; position: absolute; transform: translateX(-50%) translateY(-50%); - white-space: nowrap; /* prevent line breaks */ + white-space: nowrap; + /* prevent line breaks */ color: white; } -.hero-div > a:hover > img { - filter: brightness(1.15) saturate(1.1) - drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.2)); +.hero-div>a:hover>img { + filter: brightness(1.15) saturate(1.1) drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.2)); transform: scale(1.03); } -.hero-div > a:hover > span { +.hero-div>a:hover>span { text-decoration: underline; color: var(--md-typeset-btn-color); } @@ -426,7 +430,8 @@ a:hover .text-button span { } .intro-text { - flex-grow: 1; /* fill the space */ + flex-grow: 1; + /* fill the space */ display: flex; flex-direction: column; justify-content: center; @@ -436,7 +441,7 @@ a:hover .text-button span { margin: 2em; } -.intro-text > div { +.intro-text>div { align-self: flex-start; width: auto; margin: 0 auto; @@ -524,14 +529,15 @@ a:hover .text-button span { margin: 0.7em auto; } - .profile-cell{ + .profile-cell { flex: 1 1 30%; } } .video-container { position: relative; - padding-bottom: 56.25%; /* 16:9 */ + padding-bottom: 56.25%; + /* 16:9 */ height: 0; } @@ -541,4 +547,4 @@ a:hover .text-button span { left: 0; width: 100%; height: 100%; -} +} \ No newline at end of file diff --git a/zh-Hant/docs/index.html b/zh-Hant/docs/index.html index 4c20abb9e..e2c6eb0eb 100644 --- a/zh-Hant/docs/index.html +++ b/zh-Hant/docs/index.html @@ -368,7 +368,7 @@

貢獻者

本書在開源社群一百多位貢獻者的共同努力下不斷完善,感謝他們付出的時間與精力!

- Contributors + Contributors