MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
PiotrekKSC (Dyskusja | edycje) m |
(Dodanie cssów do modala dla projektu obywatelskiego) |
||
Linia 271: | Linia 271: | ||
.font-20 { font-size: 20px; } | .font-20 { font-size: 20px; } | ||
.font-30 { font-size: 30px; } | .font-30 { font-size: 30px; } | ||
/* projekt obywatelski */ | |||
#projectModal { | |||
display: block; | |||
position: fixed; | |||
left: 0; | |||
top: 0; | |||
z-index: 9999; | |||
width: 100%; | |||
height: 100%; | |||
padding-top: 100px; | |||
background-color: black; | |||
background-color: rgba(0, 0, 0, 0.4); | |||
-webkit-transition: 0.5s; | |||
overflow: auto; | |||
transition: all 0.3s linear; | |||
} | |||
.modalContent { | |||
background-color: #fefefe; | |||
margin: auto; | |||
padding: 20px; | |||
border-radius: 4px; | |||
max-width: 300px; | |||
height: 450px; | |||
} | |||
#projectModal.hidden { display: none; } | |||
#closeModal { | |||
color: #aaaaaa; | |||
float: right; | |||
font-size: 16px; | |||
} | |||
#closeModal:hover, #closeModal:focus { | |||
color: #000; | |||
text-decoration: none; | |||
cursor: pointer; | |||
} | |||
.blur { | |||
filter: blur(2px); | |||
-webkit-filter: blur(2px); | |||
} |
Wersja z 23:29, 30 wrz 2021
/* 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;
left: 0;
top: 0;
z-index: 9999;
width: 100%;
height: 100%;
padding-top: 100px;
background-color: black;
background-color: rgba(0, 0, 0, 0.4);
-webkit-transition: 0.5s;
overflow: auto;
transition: all 0.3s linear;
}
.modalContent {
background-color: #fefefe;
margin: auto;
padding: 20px;
border-radius: 4px;
max-width: 300px;
height: 450px;
}
#projectModal.hidden { display: none; }
#closeModal {
color: #aaaaaa;
float: right;
font-size: 16px;
}
#closeModal:hover, #closeModal:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.blur {
filter: blur(2px);
-webkit-filter: blur(2px);
}