Skip to content

Commit

Permalink
修改cfop页样式
Browse files Browse the repository at this point in the history
  • Loading branch information
windshadow233 committed Jan 13, 2025
1 parent b7f7814 commit ddbd11d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions themes/butterfly/layout/includes/page/cfop.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,23 @@ style.
}
.twisty-container .algo-simulate{
width:calc(100% / 4 - 15px);
border: 2px double var(--fyz-theme);
border: 4px double var(--fyz-theme);
margin-bottom: 20px;
display: flex;
flex-direction: column;
align-items: center;
margin: 10px 0;
text-align: center;
border-radius: 20px;
}
.twisty-container twisty-player {
width: 100%;
border: 4px double #00000044;
background: grey;
border-radius: 15px 15px 0 0;
}
[data-theme="light"] .twisty-container twisty-player {
background: none;
}
.twisty-container .algo-text {
font-size: 25px;
Expand Down Expand Up @@ -132,7 +139,9 @@ if site.data.cfop
experimental-setup-anchor="end",
experimental-stickering=category.algo_type,
experimental-drag-input="auto",
viewer-link="none"
viewer-link="none",
background="none",
visualization="PG3D"
)
.algo-text= item.algo

0 comments on commit ddbd11d

Please sign in to comment.