MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 139: | Line 139: | ||
table.wikitable, table.prettytable { | table.wikitable, table.prettytable { | ||
background-color: #ffffff; /* Change this color */ | background-color: #ffffff; /* Change this color */ | ||
} | } | ||
| Line 148: | Line 147: | ||
border-bottom: none; | border-bottom: none; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border-width: 2px; | |||
} | } | ||
Revision as of 11:20, 16 October 2025
h1 {
font-family:"URW DIN Black", sans-serif;
color: black;
}
h2.vector-pinnable-header-label {
padding-right:1rem !important;
}
h2 {
background:#0072B6;
color:#ffffff !important;
font-family:"URW DIN Black", sans-serif !important;
font-style:normal;
font-variant:normal;
font-weight:900;
line-height:1em !important;
padding-top:0.5em !important;
margin-bottom:0.5em !important;
margin-left:3px;
margin-right:0;
margin-top:2em !important;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:left;
text-decoration:none;
text-indent:1rem;
text-transform:uppercase;
widows:1;
}
h3 {
background:#042B60;
color:#ffffff !important;
font-family:"URW DIN Black", sans-serif !important;
font-style:normal;
font-variant:normal;
/*font-weight:900;*/
line-height:1em !important;
padding-top:0.5em !important;
margin-bottom:0.5em !important;
margin-left:3px;
margin-right:0;
margin-top:2em !important;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:justify;
text-align-last:left;
text-decoration:none;
text-indent:1rem;
text-transform:uppercase;
widows:1;
}
h4 {
color:#042B60 !important;
font-family:"URW DIN Black", sans-serif !important;
font-style:normal;
font-variant:normal;
font-weight:900;
line-height:1em !important;
padding-top:0.5em !important;
margin-bottom:0.5em !important;
margin-left:3px;
margin-right:0;
margin-top:1em !important;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:justify;
text-align-last:left;
text-decoration:none;
text-indent:0px;
text-transform:uppercase;
widows:1;
}
p {
color:#000000;
font-family:"URW DIN SemiCond", sans-serif;
font-size:14px;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.2;
margin-bottom:0.5em;
margin-left:0;
margin-right:0;
margin-top:0.5em;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:justify;
text-align-last:left;
text-decoration:none;
text-indent:0px;
text-transform:none;
widows:1;
}
pre {
border-color: #C4040F;
}
/* Responzivni obrazek */
.fullw {
max-width:100%;
height:auto;
}
body .mw-content-ltr ul {
list-style-type: disc !important;
}
body .mw-content-ltr ul ul {
list-style-type: circle !important;
}
body .mw-content-ltr ul ul ul {
list-style-type: square !important;
}
/* Responzivni video */
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
max-width: 100%;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
table.wikitable, table.prettytable {
background-color: #ffffff; /* Change this color */
}
/* Removes all cell borders from default wikitable tables */
table.wikitable th, table.wikitable td {
border-top: none;
border-bottom: none;
border-collapse: collapse;
border-width: 2px;
}
.wikitable tr:nth-child(odd) {
background-color: #fafafa; /* A light, neutral color */
}
.wikitable tr:nth-child(even) {
background-color: #efefef; /* A slightly different light color */
}