mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-22 00:07:13 +00:00
build
This commit is contained in:
+1
-1
@@ -349,7 +349,7 @@
|
|||||||
<h3>贡献者</h3>
|
<h3>贡献者</h3>
|
||||||
<p>本书在开源社区一百多位贡献者的共同努力下不断完善,感谢他们付出的时间与精力!</p>
|
<p>本书在开源社区一百多位贡献者的共同努力下不断完善,感谢他们付出的时间与精力!</p>
|
||||||
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
||||||
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=16" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=12" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -416,7 +416,7 @@
|
|||||||
<h3>Contributors</h3>
|
<h3>Contributors</h3>
|
||||||
<p>This book has been refined by the efforts of over 180 contributors. We sincerely thank them for their invaluable time and contributions!</p>
|
<p>This book has been refined by the efforts of over 180 contributors. We sincerely thank them for their invaluable time and contributions!</p>
|
||||||
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
||||||
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=16" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=12" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -69,8 +69,10 @@
|
|||||||
.md-header--landing {
|
.md-header--landing {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
backdrop-filter: saturate(180%) blur(20px); /* Gaussian blur */
|
backdrop-filter: saturate(180%) blur(20px);
|
||||||
-webkit-backdrop-filter: saturate(180%) blur(20px); /* Safari */
|
/* Gaussian blur */
|
||||||
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
||||||
|
/* Safari */
|
||||||
background-color: var(--md-header-bg-color);
|
background-color: var(--md-header-bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +178,8 @@ body {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%; /* Default to full width */
|
width: 100%;
|
||||||
|
/* Default to full width */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Admonition for python tutor */
|
/* Admonition for python tutor */
|
||||||
@@ -196,6 +199,7 @@ body {
|
|||||||
.md-typeset .pythontutor>summary {
|
.md-typeset .pythontutor>summary {
|
||||||
background-color: var(--md-code-bg-color);
|
background-color: var(--md-code-bg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-typeset .pythontutor>.admonition-title::before,
|
.md-typeset .pythontutor>.admonition-title::before,
|
||||||
.md-typeset .pythontutor>summary::before {
|
.md-typeset .pythontutor>summary::before {
|
||||||
background-color: rgb(55, 118, 171);
|
background-color: rgb(55, 118, 171);
|
||||||
@@ -373,13 +377,13 @@ a:hover .text-button span {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translateX(-50%) translateY(-50%);
|
transform: translateX(-50%) translateY(-50%);
|
||||||
white-space: nowrap; /* prevent line breaks */
|
white-space: nowrap;
|
||||||
|
/* prevent line breaks */
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-div>a:hover>img {
|
.hero-div>a:hover>img {
|
||||||
filter: brightness(1.15) saturate(1.1)
|
filter: brightness(1.15) saturate(1.1) drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.2));
|
||||||
drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.2));
|
|
||||||
transform: scale(1.03);
|
transform: scale(1.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -426,7 +430,8 @@ a:hover .text-button span {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.intro-text {
|
.intro-text {
|
||||||
flex-grow: 1; /* fill the space */
|
flex-grow: 1;
|
||||||
|
/* fill the space */
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -531,7 +536,8 @@ a:hover .text-button span {
|
|||||||
|
|
||||||
.video-container {
|
.video-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 56.25%; /* 16:9 */
|
padding-bottom: 56.25%;
|
||||||
|
/* 16:9 */
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -368,7 +368,7 @@
|
|||||||
<h3>貢獻者</h3>
|
<h3>貢獻者</h3>
|
||||||
<p>本書在開源社群一百多位貢獻者的共同努力下不斷完善,感謝他們付出的時間與精力!</p>
|
<p>本書在開源社群一百多位貢獻者的共同努力下不斷完善,感謝他們付出的時間與精力!</p>
|
||||||
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
<a href="https://github.com/krahets/hello-algo/graphs/contributors">
|
||||||
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=16" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
<img src="https://contrib.rocks/image?repo=krahets/hello-algo&max=300&columns=12" alt="Contributors" style="width: 100%; max-width: 38.5em;">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user