Open main menu

TaticView β

MediaWiki:Mobile.css

Revision as of 11:38, 23 January 2019 by Jonathan (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */

/* Adiciona logotipo no topo da página */
.header-container .branding-box > h1 { display: none; }
.header-container .branding-box { 
   background-image: url(https://wiki.taticview.com/skins/common/images/logo.png?16bb4);
   background-repeat: no-repeat;
   background-size: 200px 50px;
   background-position: 0px;
}

div:not(.overlay) img:not(.icon) { width: 100% !important; height: 100% !important; }

.section-heading,
.section-heading > .mw-headline { font-family: inherit !important; }

/* Adiciona espaçamento antes da barra de traduções */
#bodyContent { padding-top: 10px; }

/* Adiciona margem após a barra de traduções */
#mf-section-0 { margin-bottom: 10px; }

/* Remove todo o footer da página */
#mw-mf-page-center > footer > .last-modified-bar, 
#mw-mf-page-center > footer #footer-places-privacy,
#mw-mf-page-center > footer > .footer-content > h2  { display:none !important; }

/* Remove seta indicadora de expansão do bloco "Bem vindo..." */
div.mw-parser-output h2.section-heading:first-of-type > div { display: none; }

/* Remove informações sobre tradução da página e separador do conteúdo */
div#content div.pre-content, div#bodyContent div.mw-pt-translate-header, #mw-content-text > hr { display: none; }

/* Remove botão para discussão*/
div#content div.post-content { display: none; }

/* Remove parágrafos não utilizados */
//#content #mf-section-0 > p, #content #content-collapsible-block-0 > p:last-child, #content #content-collapsible-block-1 > p:last-child { display: none; }

/* Ajusta espaço entre conteúdo e footer */
#mw-mf-page-center > footer > .footer-content { margin-top: 10px; }

/* Ajusta dimensões e posicionamento das tabelas de conteúdo */ 
.content-table tr { display: flex; }
.content-table td { display: flex; flex-direction: column; font-size: .9em; width: 33%; padding-left: 5px; }

/* Remove opções não utilizadas no menu */
nav#mw-mf-page-left ul:first-child li:last-child,
nav#mw-mf-page-left ul:nth-child(2), 
nav#mw-mf-page-left ul:nth-child(3),
nav#mw-mf-page-left ul:last-child li:last-child { display: none; }

/* Ajusta formatação dos links para o termo de uso e politica de privacidade */
div#terms { display: flex; justify-content: center; }
div#terms > p { display: flex; justify-content: space-around; width: 100%; }

.media-viewer .details { display: none !important; }

@media(max-width: 376px) {
  .content-table tr { flex-direction: column; }
  .content-table td { flex-direction: row; align-items: center; flex-wrap: wrap; border-bottom: 1px solid lightgray; margin-bottom: 10px; width: 100%; } 
}