Skip to content

Instantly share code, notes, and snippets.

@SDuck4
Last active September 10, 2020 23:31
Show Gist options
  • Save SDuck4/92abe83efadc45e8e74d9354079ec304 to your computer and use it in GitHub Desktop.
Save SDuck4/92abe83efadc45e8e74d9354079ec304 to your computer and use it in GitHub Desktop.
Custom Style - https://news.hada.io/
.comment_row {
border-collapse: collapse;
}
.comment_row>tbody>tr>td {
padding-left: 3px;
}
.comment_row>tbody>tr>td:first-child:not([width]) {
background: linear-gradient(90deg,
#E5E5E5, #E5E5E5 1px,
rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 12px);
border-top: 12px solid #FBFBFB;
}
.comment_row>tbody>tr>td[width]:first-child {
background: repeating-linear-gradient(90deg,
#E5E5E5, #E5E5E5 1px,
rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 12px);
}
@media (prefers-color-scheme: dark) {
.comment_row>tbody>tr>td:first-child:not([width]) {
background: linear-gradient(90deg,
#383B40, #383B40 1px,
rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 12px);
border-top-color: #1F2023;
}
.comment_row>tbody>tr>td[width]:first-child {
background: repeating-linear-gradient(90deg,
#383B40, #383B40 1px,
rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 12px);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment