MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,139: Line 1,139:
.tweet-display-name:hover a.external {
.tweet-display-name:hover a.external {
     text-decoration: underline;
     text-decoration: underline;
}
/* Quote tweet: inherit main tweet typography */
.tweet-quote .tweet {
    font: inherit;                /* inherits family, size, weight, style, line-height */
}
}


/* Keep the quoted card look but without changing fonts */
/* Keep the quoted card look but without changing fonts */
.tweet-quote {
.tweet-quote {
    /* border: 1px solid #e0e0e0; */
     border-radius: 10px;
     border-radius: 10px;
     background-color: #f9f9f9;
     background-color: #f9f9f9;
    /* padding: 0.5rem; */
     margin-top: 0.75rem;
     margin-top: 0.75rem;
}
/* (Optional) make sure text blocks inside quote don't get boxed by the skin */
.tweet-quote .tweet-content,
.tweet-quote .tweet-timestamp {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
/* Ensure name/handle styling inside quotes matches the main tweet */
.tweet-quote .tweet-display-name a.external {
    color: #000 !important;
    font-weight: bold;
    text-decoration: none;
}
}


Line 1,178: Line 1,156:
     width: 36px !important;
     width: 36px !important;
     height: 36px !important;
     height: 36px !important;
}
/* Kill pre/code styling inside quoted tweets */
.tweet-quote pre,
.tweet-quote .mw-code,
.tweet-quote .mw-parser-output pre {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
}
}