mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Giscus (#209)
* Test giscus on homepage * Use @giscus/react and support light theme * Track prefers color scheme * Create a discussion tab for each version
This commit is contained in:
@@ -1394,6 +1394,23 @@ hr {
|
||||
fill: var(--accent-primary);
|
||||
}
|
||||
|
||||
.version-tabs {
|
||||
display: flex;
|
||||
margin: 20px 0 10px;
|
||||
box-shadow: inset 0 -1px 0 var(--background-4);
|
||||
}
|
||||
|
||||
.version-tabs > * {
|
||||
border-bottom: 2px solid transparent;
|
||||
padding: 8px 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.version-tabs > .selected {
|
||||
border-color: var(--text-3);
|
||||
color: var(--text-1);
|
||||
}
|
||||
|
||||
.ace_editor,
|
||||
.ace_gutter,
|
||||
.ace_gutter .ace_layer,
|
||||
@@ -1437,6 +1454,10 @@ hr {
|
||||
background-color: var(--selection) !important;
|
||||
}
|
||||
|
||||
.giscus {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 720px) {
|
||||
.sound-search-group {
|
||||
margin-bottom: 8px;
|
||||
|
||||
Reference in New Issue
Block a user