MediaWiki:Common.css

Z WikiPasy.pl - Encyklopedia KS Cracovia
Przejdź do nawigacji Przejdź do wyszukiwania

Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.

  • Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
  • Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
  • Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
  • Opera: Naciśnij klawisze Ctrl+F5.
/* SZARA STRONA */
/* body { filter: grayscale(100%); } */

/* Forum_info */
.usermessage {
  background-color:#FF6F60 !important;
  border:1px solid #DD2222 !important;
}

.toccolours {
  border:1px solid #DD2222 !important;
}

/*Strona Główna*/

body.page-Encyklopedia_KS_Cracovia_online h1.firstHeading { display:none; }
Encyklopedia_KS_Cracovia_online.firstHeading { display:none; }


/*Hokej*/

body.page-Encyklopedia_KS_Cracovia_online_Hokej h1.firstHeading { display:none; }


/* Referencje */
.refsection {
    font-size: 0.8em !important;
}

/* Style dla infoboksów */

.infobox {
        border: 1px solid #aaa;
        background-color: #f9f9f9;
        color: black;
        margin-bottom: 0.5em;
        margin-left: 1em;
        padding: 0.2em;
        float: right;
        clear: right;
}
.infobox td,
.infobox th {
        vertical-align: top;
}
.infobox caption {
        font-size: larger;
        margin-left: inherit;
}
.infobox.bordered {
        border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
        border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
        border: 0;
}

.infobox.sisterproject {
        width: 20em;
        font-size: 90%;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
        border: 0;
        border-top: 1px solid #aaa;
        border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
        border: 0;
        border-right: 1px solid #aaa;
}

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {  
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content { 
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
  background-color: #f9f9f9;
}

h5 {
  font-weight: bold; 
}

.szablon{
  border:1px solid #000000; 
  margin:0px;
}
.szablon td{
  border-top:1px solid #000000;
  background-color:#ffffff;
}

.szablon_kl_krak{
  font: 100% Verdana; 
  color:white;
  background-color:#3080ff;
}

.szablon_kl_wojsk{
  font: 100% Verdana; 
  color:white;
  background-color:#30C030;
}

.szablon_kl_narod{
  font: 100% Verdana; 
  color:white;
  background-color:#308080;
}

.szablon_kl_kres{
  font: 100% Verdana; 
  color:white;
  background-color:#C0C0C0;
}

.szablon_kl_milic{
  font: 100% Verdana; 
  color:white;
  background-color:#2020A0;
}

.szablon_kl_niemiec{
  font: 100% Verdana; 
  color:white;
  background-color:#eeee00;
}

.szablon_kl_skorump{
  font: 100% Verdana; 
  color:#ffffff;
  background-color:#000000;
}

.podzielsie a{
  opacity: 0.6;
}
.podzielsie a:hover{
  opacity: 1;
}

.share a{
  opacity: 0.6;
}
.share a:hover{
  opacity: 1;
}
.box {
  float: left;
  clear:both;
  width:100%;
  margin:20px 0 10px 0;
}
.box-title {
  background-color:#be1616;
  color:#fff;
  padding: 5px;
  font-size: 14pt;
}
.box-title-black {
  background-color:#000;
  color:#fff;
  padding: 5px;
  font-size: 14pt;
}
.box-title-gray {
  background-color:#C0C0C0;
  color:#000;
  padding: 5px;
  font-size: 14pt;
}
.box-title-blue {
  background-color:#2020A0;
  color:#fff;
  padding: 5px;
  font-size: 14pt;
}
.box-title-sea {
  background-color:#308080;
  color:#fff;
  padding: 5px;
  font-size: 14pt;
}
.box-title-yellow {
  background-color:#EEEE00;
  color:#000;
  padding: 5px;
  font-size: 14pt;
}
.box-title-green {
  background-color:#30C030;
  color:#000;
  padding: 5px;
  font-size: 14pt;
}
.box-title-purple {
  background-color:#A050A0;
  color:#000;
  padding: 5px;
  font-size: 14pt;
}
.box-title a, .box-title a:visited, .mw-collapsible-text, .box-title-black a, .box-title-black a:visited, .box-title-blue a, .box-title-blue a:visited, .box-title-sea a, .box-title-sea a:visited, .box-title-green a, .box-title-green a:visited, .box-title-purple a, .box-title-purple a:visited {
  color:#fff;
  text-decoration:underline;
}
.box-title a:hover, .box-title-black a:hover, .box-title-blue a:hover, .box-title-sea a:hover, .box-title-green a:hover, .box-title-purple a:hover {
   text-decoration:none;
}
.box-title-gray a, .box-title-gray a:visited, .box-title-yellow a, .box-title-yellow a:visited {
  color:#000;
  text-decoration:underline;
}
.box-title-gray a:hover, .box-title-yellow a:hover {
   text-decoration:none;
}

.center-text {
  text-align: center;
}

.main_box {
  float: left;
  clear:both;
  width:100%;
  margin:20px 0 10px 0;
}
.main_box-title {
  background-color:#be1616;
  color:#fff;
  padding: 5px;
  font-size: 16pt;
}
.main_box-content {
  border: 1px solid #be1616;
  padding: 5px;
}

.font-8 { font-size: 8px; }
.font-10 { font-size: 10px; }
.font-12 { font-size: 12px; }
.font-14 { font-size: 14px; }
.font-16 { font-size: 16px; }
.font-18 { font-size: 18px; }
.font-20 { font-size: 20px; }
.font-30 { font-size: 30px; }

/* projekt obywatelski */
	
	
#projectModal {
	
  display: block;
	
  position: fixed;
	
  top: 0px;
	
  left: 0px;
	
  z-index: 999999999999;
	
  width: 100%;
	
  height: 100%;
	
  background-color: black;
	
  background-color: rgba(0, 0, 0, 0.4);
	
backdrop-filter: blur(2px);
	
-webkit-backdrop-filter: blur(2px);
	
  -webkit-transition: 0.5s;
	
  overflow: auto;
	
  transition: all 0.3s linear;
	
}
	
	
.modal-content {
	
  position:fixed;
	
  top: 50%;
	
  left: 50%;
	
  transform: translate(-50%, -50%);
	
  background-color: #fefefe;
	
  background-image: url('https://cracovia.pl/files-app/file_196/ZlotNews.jpg');
	
  background-repeat: no-repeat;
	
background-size: contain;
	
  margin: auto;
	
  border-radius: 4px;
	
  width: 1200px;
	
  height: 640px;
	
}
	
	
@media screen and (max-height: 910px) {
	
.modal-content {
	
  width: 900px;
	
  height: 480px;
	
}
	
}
	
	
	
@media screen and (max-width: 1280px) {
	
.modal-content {
	
  background-image: url('https://cracovia.pl/files-app/file_196/ZlotNews.jpg');
	
  width: 640px;
	
  height: 341px;
	
}
	
}
	
	
.modal-content:hover {
	
cursor: pointer;
	
}
	
	
	
#projectModal.hidden, .hidden { display: none; }
	
	
.no-visable { opacity: 100%; }
	
	
#closeModal {
	
  color: #aaaaaa;
	
    float: right;
	
    font-size: 32px;
	
    border-radius: 50%;
	
    padding: 0 15px;
	
    margin: 10px;
	
    background-color: white;
	
    border: 2px solid black;
	
  
	
}
	
	
#closeModal:hover, #closeModal:focus {
	
  color: #000;
	
  text-decoration: none;
	
  cursor: pointer;
	
}
	
	
.z-index-hide {
	
 z-index: -1;
	
}

/* Nowy szablon */

html {
  box-sizing: border-box;
}
.primary-text-color {
  color: #af1e30;
}

.primary-bg-color {
  background-color: #af1e30;
}

.img-fluid {
  max-width: 150px;
  height: auto;
}

.main-page-scores{
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr)); 

@media (min-width: 640px) { 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
 }
gap: 0.5rem; 
}