Skip to content

Commit

Permalink
1. 更改行内公式细节
Browse files Browse the repository at this point in the history
2. 修改`table`编辑条 fixed #11
  • Loading branch information
AntonVanke committed Nov 22, 2022
1 parent eb0c4fb commit edfe814
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cement-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
--inline-code-color: #03d2c1;
/*表格首行背景颜色*/
--table-first-bg-color: #1a1a16;
/*表格编辑条颜色*/
--ty-table-edit-bg-color: #999999;
/*表格其他行背景颜色*/
/* --table-other-bg-color: var(--color-tertiary-container); */

Expand Down
4 changes: 3 additions & 1 deletion cement.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
--color-secondary-container: #EADDFF;
--color-on-secondary-container: #1D192B;

--color-tertiary: #7D5260;
--color-tertiary: #0e82c2;
--color-on-tertiary: #FFFFFF;
--color-tertiary-container: #FFD8E4;
--color-on-tertiary-container: #31111D;
Expand Down Expand Up @@ -102,6 +102,8 @@
--inline-code-color: #008f83;
/*表格首行背景颜色*/
--table-first-bg-color: #f8f9fa;
/*表格编辑条颜色*/
--ty-table-edit-bg-color: var(--color-white);
/*表格其他行背景颜色*/
/* --table-other-bg-color: var(--color-tertiary-container); */

Expand Down
13 changes: 11 additions & 2 deletions cement/cement.css
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ content .dropdown-menu {
/*overflow: hidden;*/
/*width: 30px !important;*/
/*height: 30px;*/
background: var(--color-white);
background: var(--ty-table-edit-bg-color);
border-radius: 15px;
/*padding-left: 0;*/
border: 1px solid var(--table-border-color);
Expand Down Expand Up @@ -339,6 +339,14 @@ mark span {
}

/*行内公式预览*/
.md-inline-math {
margin-left: .3rem;
margin-right: .3rem;
}

.md-inline-math .md-meta {
color: #0e82c2;
}

#math-inline-preview .md-arrow {
opacity: .3;
Expand Down Expand Up @@ -787,7 +795,8 @@ header {
color: var(--color-black);
font-weight: 400;
}
#recent-file-panel tbody tr:nth-child(2n-1){

#recent-file-panel tbody tr:nth-child(2n-1) {
background-color: var(--recent-file-panel-n-bg-color);
color: var(--recent-file-panel-n-color);
}
Expand Down

0 comments on commit edfe814

Please sign in to comment.