MediaWiki:Custom-common.less/mainpage.less

/**************************** * General ****************************/ /* Effects widgets on the front page / templates that use this class. */ .widget_title, .widget-title, .widget_subtitle, .widget-subtitle { border-radius: 3px; border: 1px solid #BBB; color: #DDD; font-weight: bold; text-align: center; text-transform: capitalize; * { font-family: inherit !important; } .theme-fandomdesktop-light & { color: black; border: 1px solid #eee; } } .widget_title, .widget-title { margin: 13px 0 10px 0; padding: 2px; font-size: 150%; } .widget_subtitle, .widget-subtitle { margin: 0 0 10px 0; font-size: 120%; background: transparent !important; } .color1 { background: var(--theme-accent-color); color: #fff; .theme-fandomdesktop-light & { color: #111; } } .color2 { background: #AA4A98; color: #fff; .theme-fandomdesktop-light & { background: #E88CD7; color: #111; a { color: white; }	} } .color3 { background: #cc9933; color: #fff; .theme-fandomdesktop-light & { background: #ecc881; color: #111; a { color: white; }	} }

/**************************** * Project:Poll ****************************/ /* Changes the color of the bars on polls to fit wiki colors. */ .pollAnswerVotes { color:#DDD; background:darken(@theme-page, 15%); } .pollAnswerVotes div { #gradient.horizontal(@theme-buttons, lighten(@theme-buttons, 15%)) !important; }

/**************************** * Project:News/article ****************************/ .newsarticle-heading { border-bottom:1px solid #b2af9c; } .newsarticle-new { color:white; background:red; padding:1px 3px; border-radius:5px; border:2px dotted darkred; } .newsarticle-date { float:right; } .newsarticle-content { padding:0 5px 0 25px; margin:3px 0 8px 0; background:darken(@theme-page, 2%); border:1px solid darken(@theme-page, 15%); &:after { content: ""; display:block; clear:both; } } .newsarticle-links { float:right; border: 1px solid darken(@theme-page, 15%); line-height: 1; padding: 2px 2px 1px 2px; border-radius: 2px; background: rgba(0,0,0,0.01); } .newsarticle-links:empty { display: none; }

.skydate-clock { display: none; } .skydate-clock-time { font-family: minecraft, rubik, serif, sans-serif; font-size: 35px; margin: 0 0 -10px 0; } .skydate-clock-date { margin: 0 0 10px 0; }

.darkTable-wrapper { background: rgba(0,0,0,0.1); padding: .8em 0; margin-bottom: 1em; } .darkTable-wrapper table, .darkTable { width: 100%; table-layout: fixed; } .darkTable-wrapper td, .darkTable td { vertical-align: top; } .darkTable-wrapper.hlist { text-align: center; }

/* Fandomdesktop weirdness*/ p + .darkTable-wrapper, p + .darkTable { margin-top: -1.5em; }

/* Article of the Month styling */ .article-month-wrapper { background:rgba(0,0,0,0.1); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: .7em 0; } .article-month-slot { margin-top: 2em; text-align: center; } .article-month-heading { font-weight: bold; background: none; } .article-month-content { width: 70%; margin-left: 1.5em; } .article-month-wrapper .note { font-size: small; color: gray; }

/**************************** * Front page tabber/gallery styling ****************************/ .frontpage-tabber .tabber.wds-tabber { border: none !important; } .frontpage-tabber .tabber.wds-tabber .wds-tabs { justify-content: center !important; } .frontpage-tabber .tabber.wds-tabber .wds-tabs__tab.wds-is-current { border: 1px solid rgba(255, 255, 255, 0.4); border-top: none; background: rgba(255, 255, 255, 0.1); color: var(--theme-page-text-color); } .frontpage-tabber .tabber.wds-tabber .wds-tabs__tab a:active, .wds-tabs__tab a:focus { color: rgb(200, 200, 200); } .frontpage-tabber .tabber.wds-tabber .wikia-gallery-caption-size-medium .lightbox-caption, .wikia-gallery-caption-size-medium .title { /* font-size: inherit; */ } body .frontpage-gallery .wikia-gallery-item a { font-size: 14px; color: var(--theme-page-text-color); word-wrap: anywhere; font-family: verdana,rubik,helvetica,arial,sans-serif; } body .frontpage-gallery .wikia-gallery { position: relative; padding: 8px 0; display: flex; flex-wrap: wrap; justify-content: center; } body .frontpage-gallery .wikia-gallery-item { display: flex; flex-direction: column; justify-content: center; position: inherit; width: 160px !important; margin: 3px; padding: 15px; border-radius: 8px !important; box-shadow: 0 2px 15px rgba(175, 175, 175, 0.2); transition: all 0.3s ease; } body .frontpage-gallery .wikia-gallery-item .lightbox-caption { width: inherit !important; margin: 0; align-self: center; } body .frontpage-gallery .wikia-gallery-item img { transition: transform 0.1s ease; } body .frontpage-gallery .wikia-gallery-item:hover { box-shadow: 0 0 5px var(--theme-page-text-color); background-color: rgba(255, 255, 255, 0.05); .theme-fandomdesktop-light & { background-color: rgba(0, 0, 0, 0.05); } } body .frontpage-gallery .wikia-gallery-item:hover img { transform: scale(1.1); } body .frontpage-gallery .wikia-gallery-item:active { background-color: #efb651; box-shadow: 0 2px 15px #efb651; } body .frontpage-gallery .wikia-gallery-item:active * { color: black; } body .frontpage-gallery .wikia-gallery-border-small .thumb .gallery-image-wrapper { border-width: 0; }