MediaWiki:Custom-Common.less/portals.less

// /* ==============================    Template:Portal-links ============================== */

.portal-link-wrapper { text-align: center; margin-bottom: 0.5em; }

.portal-link { display: inline-block;

a { height: 100px; width: 300px; display: inline-flex; justify-content: center !important; align-items: center !important; margin: 7px;

line-height: 1.5em; font-size: 1.75em; letter-spacing: 0.0625em; font-family: 'League Spartan', sans-serif; text-transform: uppercase;

background-color: darken( @default-page, 2% ); color: darken( @default-page, 75% ); box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03); .transition( 0.2s );

&:hover { text-decoration: none; background-color: darken( @default-page, 5% ); }   }

&.article {

a { border-radius: 5px; border-top: 8px solid @theme-body;

&:hover { background-color: @theme-body; color: @default-page; }       }

&.wide a { height: 100px; width: 618px; }   }

&.file {

a { border-radius: 5px; border-top: 8px solid #617ebc; background-color: #cfd8eb;

&:hover { background-color: #617ebc; color: @default-page; }       }

&.wide a { height: 100px; width: 618px; }   }

&.wide a { height: 100px; width: 618px; } }