Szablon:RCT style.css: Różnice pomiędzy wersjami

Z Nonsensopedii, polskiej encyklopedii humoru
M (font nie dla mrówków)
M (+ do przeniesinei)
Linia 1: Linia 1:
/* <nowiki> */
@media screen and (min-width: 850px) {
@media screen and (min-width: 850px) {
.rct-container {
.rct-container {
Linia 62: Linia 63:
}
}
}
}

/*
</nowiki><noinclude>
Style do [[MediaWiki:Recentchangestext]].
[[Kategoria:Szablony techniczne]]
*/

Wersja z 18:11, 3 kwi 2022

/* <nowiki> */
@media screen and (min-width: 850px) {
  .rct-container {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
    border-top: 1px #aa1 dashed;
    padding-top: 1px;
    font-size: 0.8em;
    line-height: 1.6em;
  }

  .rct-header {
    text-align: right;
    padding-right: 0.7em;
  }
  .rct-header, .rct-psa-header {
    font-weight: bold;
  }

  .rct-psa-header, .rct-psa-content {
    grid-column: span 2;
    justify-self: center;
  }

  .rct-psa-header {
    padding-top: 1px;
    width: 100%;
    border-top: 1px dashed #aa1;

  }

  .rct-psa-content p {
    margin-bottom: 0;
  }

  .rct-psa-content {
    border-bottom: 1px #aa1 dashed;
    padding-bottom: 1px;
    width: 100%;
  }
  
  .mobileonly {
    display: none;
  }
}

@media screen and (max-width: 849px) {
  .rct-container {
    display: grid;
    grid-template-columns: 1fr;
    line-height: 1.5;
  }
  
  .rct-header, .rct-psa-header {
    padding-bottom: 0.1em;
    margin-top: 0.5em;
    justify-self: center;
    font-weight: bold;
  }
  
  .desktoponly {
    display: none;
  }
}

/*
</nowiki><noinclude>
Style do [[MediaWiki:Recentchangestext]].
[[Kategoria:Szablony techniczne]]
*/