Ir para o conteúdo

MediaWiki:Common.css: mudanças entre as edições

De Cine Linux Wiki
Sem resumo de edição
Sem resumo de edição
Linha 11: Linha 11:


/* GLOBAL */
/* GLOBAL */
body {
  background: var(--color-primary-dark);
}
/* FIM GLOBAL */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   font-family: 'Gemunu Libre', sans-serif !important;
   font-family: 'Gemunu Libre', sans-serif !important;
   font-weight: 700!important;
   font-weight: 700!important;
}
}
 
/* FIM GLOBAL */
/* FIM FONTES */
 
/* BARRA MENU NAVBAR SUPERIOR */
.color-middle {
  background: var(--color-primary-dark);
}
 
.color-right {
  background: var(--color-primary-dark);
}
 
.color-left {
  background: var(--color-primary-dark);
}
 
#mw-header-container {
  background: var(--color-primary-dark);
  color: #fff;
}
 
#mw-header {
  padding-right: 30px;
  padding-left: 30px;
}
 
#site-navigation h2 {
  background-image: url(/images/menu-large-white.svg);
}
 
#site-navigation h2::after {
  background-image: url(/images/arrow-down-white.svg);
  display: none;
}
 
#site-tools h2 {
  background-image: url(/images/gear-large-white.svg);
}
 
#site-tools h2::after {
  background-image: url(/images/arrow-down-white.svg);
  display: none;
}
 
#personal h2 {
  background-image: url(/images/user-white.svg);
}
 
#personal h2::after {
  background-image: url(/images/arrow-down-white.svg);
}
 
#personal-inner {
color: #000;
}
 
 
#p-logo {
  display: none;
}
 
#p-logo-text {
  /* 1. Defina o tamanho que você quer para a sua imagem/logo */
  width: 63px;  /* Ajuste a largura conforme necessário */
  height: 30px; /* Ajuste a altura conforme necessário */
 
  /* 2. Adicione o link para a sua imagem */
  background-image: url("https://i0.wp.com/cinelinux.com/wp-content/uploads/2025/06/Cine-Linux-Logo-Branca.png?fit=63%2C30&ssl=1") !important;
  background-repeat: no-repeat;
  background-size: contain; /* Garante que a imagem caiba no espaço definido */
  background-position: left center; /* Alinha a imagem à esquerda */
 
  /* 3. Esconde o texto "Cine Linux Wiki" */
  text-indent: -9999px;
  overflow: hidden;
}
 
#simpleSearch {
  border-radius: 20px;
}
 
#searchInput-container input{
  border-radius: 20px;
}
 
.suggestions {
  border-radius: 15px;
 
}
/* FIM BARRA MENU NAVBAR SUPERIOR */
 
/* RODAPÉ */
#mw-content-container {
  border-bottom: solid 4px var(--color-primary-dark);
}
/* FIM RODAPÉ */
 
/* SIDEBAR GLOBAL */
.sidebar-chunk {
  border-radius: 8px;
}
/* FIM SIDEBAR GLOBAL */


/* SOFTWARE INFOBOX */
/* SOFTWARE INFOBOX */
Linha 194: Linha 88:
   font-style: italic;
   font-style: italic;
}
}
/* FIM SOFTWARE INFOBOX */


/* FIM SOFTWARE INFOBOX */


/* GRID CATEGORIAS */
/* GRID CATEGORIAS */
#categories-list {
#categories-list {
   list-style: none;
   list-style: none;
Linha 231: Linha 124:
   color: #fff;
   color: #fff;
}
}
/* GRID CATEGORIAS */
/* GRID CATEGORIAS */

Edição das 12h51min de 2 de julho de 2025

/** o código CSS colocado aqui será aplicado a todos os temas */

:root {
  /* -- Cor principal de destaque (links, botões, abas ativas) -- */
  --color-primary: #602CB9;
  --color-primary-dark: #120B28;
  --color-primary-light: #E8E6F4;
  --color-primary-highlight: 6339D8;

}

/* GLOBAL */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Gemunu Libre', sans-serif !important;
  font-weight: 700!important;
}
/* FIM GLOBAL */

/* SOFTWARE INFOBOX */
.software-infobox {
  float: right;
  margin: 0 0 1em 1em;
  width: 300px;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

@media (max-width: 768px) {
  .software-infobox {
    float: none;
    width: 100%;
    margin: 1em 0;
  }
}

.software-infobox .name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 13px;
  background: #E8E6F4;
}

.software-infobox .discontinued {
  background: #fedbd2;
  font-weight: bold;
  text-align: center;
  padding: 20px 0px;
}

.software-infobox .logo{
 text-align: center;
 padding: 20px 0px;
}

.software-infobox table {
 padding: 10px 15px;
}

.software-infobox td {
 border-bottom: 1px solid #ddd;
 font-size: 14px;
}

.software-infobox .operating-system p{
 margin: 3px;
}

.software-infobox p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.software-infobox td.item{
 font-weight: bold;
}

.software-infobox td.item-content {
  word-break: break-word;
}

.software-infobox .stable-version-date {
  font-size: 12px;
  font-style: italic;
}
/* FIM SOFTWARE INFOBOX */


/* GRID CATEGORIAS */
#categories-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5em;
  padding: 0;
  margin: 0;
}

#categories-list li {
  background: var(--color-primary-light);
  padding: 0.5em;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#categories-list a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

#categories-list li:hover {
   box-shadow: 0 4px 8px rgba(0,0,0,0.05);
   background: var(--color-primary);
}

#categories-list li:hover a{
   color: #fff;
}
/* GRID CATEGORIAS */