Skip to content

Instantly share code, notes, and snippets.

@SDuck4

SDuck4/custom.css

Last active Sep 10, 2020
Embed
What would you like to do?
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