Skip to content

Commit 864831c

Browse files
committed
feat: adjust table css style
1 parent 6e53a5c commit 864831c

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

packages/vuepress-theme-yuicer/styles/index.styl

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,19 @@ table
158158
display: block;
159159
overflow-x: auto;
160160

161-
tr
162-
border-top: 1px solid #dfe2e5;
161+
thead
162+
background: #8a95ab;
163163

164-
&:nth-child(2n)
165-
background-color: #f6f8fa;
164+
tr
165+
background: #ffffff55;
166+
border-top: 1px solid #dfe2e5;
166167

167-
th, td
168-
border: 1px solid #dfe2e5;
169-
padding: 0.6em 1em;
168+
&:nth-child(2n)
169+
background-color: #ffffffcc;
170+
171+
th, td
172+
border: 1px solid #97aabd;
173+
padding: 0.6em 1em;
170174

171175
.theme-container
172176
padding: 3.6rem 0;

0 commit comments

Comments
 (0)