discourse-yearly-review/assets/stylesheets/yearly_review.scss
Vinoth Kannan cb9a2df927
DEV: use markdown to create post tables instead of HTML. (#53)
This PR will replace HTML tags with Markdown in yearly review posts.
2023-02-07 10:50:57 +05:30

59 lines
1.1 KiB
SCSS

[data-review-topic-users="true"] table,
[data-review-featured-topics="true"] table {
width: 100%;
}
[data-review-topic-users="true"] table th,
[data-review-featured-topics="true"] table th {
text-align: left;
}
[data-review-topic-users="true"] table {
th {
width: 50%;
}
td:first-child img {
border-radius: 50%;
}
}
[data-review-topic-users="true"] table table tr {
border-top: none;
border-bottom: none;
}
[data-review-topic-users="true"] table table tbody {
border-top: none;
}
[data-review-topic-users="true"] table table td {
text-align: left;
padding-left: 0;
}
[data-review-topic-users="true"] table table td:first-child {
width: 25px;
}
[data-review-users="true"] span {
white-space: pre;
display: inline-block;
margin-bottom: 4px;
}
[data-review-featured-topics="true"] table th:first-child {
width: 10%;
}
[data-review-featured-topics="true"] table th:nth-child(2) {
width: 60%;
}
[data-review-featured-topics="true"] table th:last-child {
width: 30%;
}
[data-review-featured-topics="true"] table td:first-child img {
border-radius: 50%;
}