Diferència entre revisions de la pàgina «MediaWiki:Vector.css»

De WikiPrat
Jump to navigation Jump to search
(Es crea la pàgina amb «CSS placed here will affect users of the Vector skin: Coordinades en el títol, utilitzat per la família de Plantilla:Coord: /* la referència és dewiki; no ...».)
 
Línia 15: Línia 15:
 
   white-space: nowrap;
 
   white-space: nowrap;
 
  }
 
  }
 +
@media screen and (max-width: 720px){
 +
  div#p-logo {
 +
    display: block;
 +
    position: absolute;
 +
    top: 4px;
 +
    left: 0px;
 +
    height: 30px !important;
 +
    width: 30px !important;
 +
  }
 +
  #p-logo a {
 +
    display: block;
 +
    width: 30px;
 +
    height: 30px;
 +
    background-repeat: no-repeat;
 +
    background-position: center center;
 +
    text-decoration: none;
 +
  }
 +
}

Revisió del 12:05, 20 gen 2020

/* CSS placed here will affect users of the Vector skin */

/* Coordinades en el títol, utilitzat per la família de Plantilla:Coord */
/* la referència és dewiki; no serveix enwiki ja que ells tenen un subtítol "From Wikipedia..." */

   #coordinates {
   position: absolute;
   top: -1.4em;
   right: 0;
   display: block;
   line-height: 11px;
   text-align: right;
   text-indent: 0;
   font-size: 10px;
   white-space: nowrap;
 }
@media screen and (max-width: 720px){
  div#p-logo {
    display: block;
    position: absolute;
    top: 4px;
    left: 0px;
    height: 30px !important;
    width: 30px !important;
  }
  #p-logo a {
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    text-decoration: none;
  }
}