This repository has been archived on 2020-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
thoughtpile/static/comtodon.css
2020-12-26 00:58:17 +01:00

109 lines
1.7 KiB
CSS

@charset "UTF-8";
.comtodon .status {
position: relative;
padding: 0.5em;
margin-bottom: 0.5em;
margin-left: 1em;
border: 0.1em solid;
}
/* TODO: Figure out if it needs more styling without the colors. */
.comtodon .status:nth-child(even) {
/* background-color:#0402; */
}
.comtodon .status:nth-child(odd) {
/* background-color:#2402; */
}
.comtodon .status-content, .comtodon .reply-main {
margin-bottom: .5em;
}
.comtodon .status-content {
padding-left: 0.1em;
}
.comtodon .status-content.sensitive {
content: 'Sensitive';
}
.comtodon .replies {
margin-left: 1em;
}
.comtodon p {
margin: .1em;
}
.comtodon .emoji {
height: 1em;
}
.comtodon .author {
display: -ms-grid;
display: grid;
-ms-grid-columns: 3.3em auto;
grid-template-columns: 3.3em auto;
-ms-grid-rows: (1em)[3];
grid-template-rows: repeat(3, 1em);
grid-gap: 0.1em;
}
.comtodon .author .avatar {
-ms-grid-row: 1;
-ms-grid-row-span: 3;
-ms-grid-column: 1;
grid-area: 1 / 1 / 4 / 1;
height: 100%;
}
.comtodon a.author {
text-decoration: none;
/* color: #8ac; */
}
.comtodon .author .name {
font-weight: bold;
}
.comtodon .author .acct:before {
content: '@';
}
.comtodon .date {
float: right;
}
.comtodon .spoiler {
font-weight: bold;
}
.comtodon .reply-main {
display: inline-block;
padding: .1em .3em;
}
.comtodon .reply-main:after {
content: ' in the Fediverse';
}
.comtodon .reply {
visibility: hidden;
position: absolute;
right: .1em;
top: 2em;
}
.comtodon .reply:after {
content: 'reply';
visibility: visible;
display: block;
position: absolute;
right: 0;
bottom: 0;
font-size: .8em;
padding: .1em .3em;
}