MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,182: Line 1,182:


/* Tweet Thread */
/* Tweet Thread */
.tweet-thread .tweet {
.tweet-thread > .tweet {
     display: grid;
     display: grid;
     grid-template-areas: "header date" "content content";
     grid-template-areas: "header date" "content content";
Line 1,191: Line 1,191:
}
}


.tweet-thread .tweet-header {
.tweet-thread > .tweet > .tweet-header {
     grid-area: header;
     grid-area: header;
     margin: 0 0 0.25rem;
     margin: 0 0 0.25rem;
}
}


.tweet-thread .tweet-content {
.tweet-thread > .tweet > .tweet-content {
     grid-area: content;
     grid-area: content;
     margin-left: 23px;
     margin-left: 23px;
Line 1,203: Line 1,203:
}
}


.tweet-thread .tweet-content p:first-child {
.tweet-thread > .tweet > .tweet-content p:first-child {
     margin: 0 0 0.5em;
     margin: 0 0 0.5em;
}
}


.tweet-thread .tweet-timestamp {
.tweet-thread > .tweet > .tweet-timestamp {
     grid-area: date;
     grid-area: date;
     align-items: start;
     align-items: start;
     margin: 0;
     margin: 0;
}
}