Skip to content

Commit

Permalink
Deployed 59bde02 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Apr 22, 2024
1 parent 9138b94 commit 8bfa759
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
24 changes: 22 additions & 2 deletions css/custom.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.badges {
margin-top: -2em;
}

.badge {
display: inline-block;
padding: 0.2em 0.4em;
Expand All @@ -12,7 +11,18 @@
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
opacity: 0.6; /* 默认透明度为75% */
transition: opacity 0.3s ease;
transition: transform 0.3s ease;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);

}

.badge:hover {
opacity: 1; /* 鼠标悬停时不透明 */
transform: scale(1.05);
}

.is-badge, .labor-badge {
background-color: #FF862F;
color: #161616;
Expand All @@ -25,8 +35,18 @@
background-color: #FC6255;
color: #161616;
}
.se-badge, .cross-badge {
background-color: #47ff47;
color: #161616;
}
.dx-badge, .cross-badge {
background-color: #f386ff;
color: #161616;
}
[data-md-color-scheme="default"] .is-badge,
[data-md-color-scheme="default"] .cs-badge,
[data-md-color-scheme="default"] .ai-badge {
[data-md-color-scheme="default"] .ai-badge,
[data-md-color-scheme="default"] .se-badge,
[data-md-color-scheme="default"] .dx-badge {
color: #FFFFFF;
}
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,8 @@ <h1 id="_1">&lt;课程名称&gt;<a class="headerlink" href="#_1" title="Permanen
<span class="badge cs-badge">CS <专业基础/专业必修/专业选修></span>
<span class="badge ai-badge">AI <专业基础/专业必修/专业选修></span>
<span class="badge is-badge">IS <专业基础/专业必修/专业选修></span>
<span class="badge se-badge">SE <专业基础/专业必修/专业选修></span>
<span class="badge dx-badge">紫丁香 <专业基础/专业必修/专业选修></span>
</div>

<h2 id="_2">课程学习内容<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
Expand Down

0 comments on commit 8bfa759

Please sign in to comment.