Styles for markdown tables in the plugin details view

This commit is contained in:
Jérémy Gaulin 2016-07-31 12:14:30 +02:00
parent 9c1a97309d
commit 7ca97f4825
2 changed files with 35 additions and 0 deletions

View File

@ -52,3 +52,18 @@
margin-left: -50px;
padding-left: 50px;
}
.plugin-details-content table th {
font-weight: bold
}
.plugin-details-content table th,
.plugin-details-content table td {
padding: 6px 13px;
border: 1px solid #ddd
}
.plugin-details-content table tr {
background-color: #fff;
border-top: 1px solid #ccc
}
.plugin-details-content table tr:nth-child(2n) {
background-color: #f8f8f8
}

View File

@ -48,4 +48,24 @@
margin-left: -((@padding-standard * 2) + @padding-container);
padding-left: ((@padding-standard * 2) + @padding-container);
}
table {
th {
font-weight: bold;
}
th, td {
padding: 6px 13px;
border: 1px solid #ddd;
}
tr {
background-color: #fff;
border-top: 1px solid #ccc;
&:nth-child(2n) {
background-color: #f8f8f8;
}
}
}
}