MediaWiki:Common.less/tiles.less: Difference between revisions

no edit summary
(base cp from rsw)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6:
:root {
--byline-arrow-filter: invert(29%) sepia(0%) saturate(376%) hue-rotate(172deg) brightness(87%) contrast(80%); // match --byline-color
--tile-border-color: #cabe9b@BODY_BORDER;
--tile-background-color: #f9f3eb@BODY_LIGHT;
--tile-link-button-color: #f5e9db;
--tile-link-button-highlight-color: saturate( darken( #e2d2ba, 2.5% ), 2% );
--tile-dark-color: @white;
--tile-dark-bg: @shuttle-grayBODY_DARK;
--tile-dark-link-color: #ccc;
--tile-dark-byline-color: fade( @white, 70% );
Line 83:
display: flex;
flex-flow: row wrap;
border: 1px solid var(--tile-border-color);
background: var(--tile-background-color);
box-shadow: @box-shadow;
Line 108 ⟶ 107:
display: flex;
align-items: center; // vertically center images
background-color: var(--bylinebody-colorlight);
overflow: hidden;
padding: 0;
Line 136 ⟶ 135:
// goes inside .tile-halves
.tile-bottom {
background: var(--tilebody-background-colordark);
border-top: 1px solid var(--tile-border-color);
width: 100%;
padding: 1rem 1.5rem .6rem;
h2 {
a {
color: @white !important;
}
}
 
&.link-button {