MediaWiki:Common.css
Megjelenés
Megjegyzés: közzététel után frissítened kell a böngésződ gyorsítótárát, hogy lásd a változásokat.
- Firefox / Safari: tartsd lenyomva a Shift gombot és kattints a Frissítés gombra a címsorban, vagy használd a Ctrl–F5 vagy Ctrl–R (Macen ⌘–R) billentyűkombinációt
- Google Chrome: használd a Ctrl–Shift–R (Macen ⌘–Shift–R) billentyűkombinációt
- Edge: tartsd nyomva a Ctrl-t, és kattints a Frissítés gombra, vagy nyomj Ctrl–F5-öt
@charset "UTF-8";
/*
cd /home/drgyz/Dokumentumok/wiki.kaktuszgyujtok.hu/wiki_lua_html_css_js
sass --watch --style=expanded gyz.scss:gyz.css
*/
/* Legújabb DataTables CSS betöltése */
@import url("https://cdn.datatables.net/2.1.8/css/dataTables.dataTables.min.css");
/* MediaWiki specifikus finomhangolás */
table.datatable-hook {
width: 100% !important;
margin: 1em 0 !important;
border: 1px solid #a2a9b1 !important;
font-size: 0.9em;
}
/* A MediaWiki saját rendező nyilainak elrejtése, ha ütközne */
table.datatable-hook th.headerSort {
background-image: none !important;
}
/* Keresőmező stílusának igazítása a MediaWiki beviteli mezőihez */
.dt-search input {
border: 1px solid #a2a9b1 !important;
border-radius: 2px;
padding: 4px;
}
/* Közös CSS az összes felületnek */
/* Anonim felhasználóknál rejtsük el a felesleges füleket */
body.anonymous #ca-history,
body.anonymous #ca-viewsource {
display: none !important;
}
/* Csak a kategóriaoldalak elsődleges címe (namespace + kettőspont) elrejtése */
.mw-page-title-namespace,
.mw-page-title-separator {
display: none;
}
@media screen {
.mw-body h1.firstHeading {
padding-bottom: 3px;
}
.mw-body h1.firstHeading span {
background-color: beige;
border-top-right-radius: 6px;
border-top-left-radius: 6px;
color: #436d38;
padding: 0px 10px 0 10px;
}
.mw-body div.tn li {
line-height: 1.8em;
margin-bottom: 10px;
}
.mw-body div.tn li span.tnb b {
border-radius: 10px;
color: black;
font-size: 110%;
padding: 2px 5px;
}
.mw-body div.tn li span.tnb-acc b {
background: #ccffcc;
}
.mw-body div.tn li span.tnb-syn b {
background: #ffebcc;
}
.mw-body div.tn li span.tnb-unres b {
background: #ffcccc;
}
.mw-body div.tn li span.tnb-hyb b {
background: #f2e6d9;
}
.mw-body div.tn li span.tns {
border-radius: 10px;
color: white;
font-size: 90%;
font-weight: bold;
padding: 2px 5px;
}
.mw-body div.tn li span.tns-acc {
background: green;
}
.mw-body div.tn li span.tns-syn {
background: orange;
}
.mw-body div.tn li span.tns-unres {
background: red;
}
.mw-body div.tn li span.tns-hyb {
background: brown;
}
.mw-body div.tn li span.sec {
background: #ccf5ff;
color: black;
padding: 0 3px;
}
.mw-body ul span.syn {
background: beige;
border-radius: 10px;
padding-left: 5px;
padding-right: 5px;
}
.mw-body ul span.syn a {
color: #436d38; /* A fejlécben is használt zölded */
text-decoration: none;
}
.mw-body ul span.syn a:hover {
text-decoration: underline;
}
.vector-page-titlebar::after {
height: 3px;
background-color: #436d38;
}
.mw-heading h1, .mw-heading h2, .mw-heading h3, .mw-heading h4, .mw-heading h5, .mw-heading h6 {
color: #274f1c;
}
.mw-heading h3, .mw-heading h4 {
text-decoration-line: underline;
}
.mw-heading2 h2 {
background-color: rgb(250, 250, 239);
padding: 0px 5px;
}
.mw-heading2 {
border-bottom: 1px solid #436d38;
}
table.datatable-hook {
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
border: 1px solid #ebebe0 !important;
border-radius: 6px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
color: grey;
}
table.dataTable > thead > tr th {
background-color: #eaeadd;
border-width: 0px;
}
table.dataTable > thead > tr th:first-child {
border-top-left-radius: 6px;
}
table.dataTable > thead > tr th:last-child {
border-top-right-radius: 6px;
}
.wikitable {
background-color: #fffff9;
}
.wikitable tr.accepted {
background-color: #dcecd7;
}
.wikitable > * > tr > td {
border-color: beige;
border-width: 1px;
}
div.dt-container.dt-empty-footer tbody > tr:last-child > * {
border-bottom-width: 0px;
}
.vector-column-start .vector-main-menu-container,
.vector-column-start .vector-sticky-pinned-container {
margin-bottom: 10px;
margin-left: 0;
}
.vector-column-start .vector-main-menu-container nav#mw-panel .vector-pinned-container,
.vector-column-start .vector-sticky-pinned-container nav#mw-panel .vector-pinned-container {
background-image: url(https://wiki.kaktuszgyujtok.hu/images/d/d5/Epicactus.png);
background-repeat: no-repeat;
background-position-x: right;
}
.vector-column-start .vector-main-menu-container nav#mw-panel,
.vector-column-start .vector-main-menu-container nav#mw-panel-toc,
.vector-column-start .vector-sticky-pinned-container nav#mw-panel,
.vector-column-start .vector-sticky-pinned-container nav#mw-panel-toc {
border: 1px solid #ebebe0;
border-radius: 6px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
color: grey;
display: block !important;
overflow: hidden;
}
.vector-column-start .vector-main-menu-container nav#mw-panel .vector-pinned-container,
.vector-column-start .vector-main-menu-container nav#mw-panel-toc .vector-pinned-container,
.vector-column-start .vector-sticky-pinned-container nav#mw-panel .vector-pinned-container,
.vector-column-start .vector-sticky-pinned-container nav#mw-panel-toc .vector-pinned-container {
background-color: #fffff9;
margin-bottom: 0;
padding-bottom: 5px;
}
.catlinks {
background-color: #f8f9fa;
border: 1px solid #ebebe0;
border-radius: 6px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
color: grey;
display: block !important;
overflow: hidden;
}
}
.szerzo {
text-align: center;
font-size: xx-large;
font-weight: bold;
}
.cim {
text-align: center;
font-size: xxx-large;
font-weight: bold;
}
.center {
text-align: center;
}
.right {
text-align: right;
}
/* taxobox alapstílus */
/* SimpleTaxobox */
table.infobox.biota {
background-color: #f8f9fa;
border: 1px solid #ebebe0;
border-radius: 6px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
float: right;
margin: 1em 0 1.3em 1.4em;
padding: 10px 2px;
text-align: center;
width: 22em;
}
table.infobox.biota.acc {
color: rgb(68, 99, 64);
}
table.infobox.biota.acc th {
background-color: rgb(129, 182, 7);
}
table.infobox.biota.acc th.taxonnev {
background-color: #1d4b03;
color: #cfdecb;
}
table.infobox.biota.syn {
color: rgb(55, 102, 49);
}
table.infobox.biota.syn th {
background-color: rgb(248, 222, 172);
color: #233e1d;
}
table.infobox.biota.syn th.taxonnev {
background-color: #f9b129;
color: #233e1d;
}
table.infobox.biota.unres {
color: rgb(230, 227, 213);
}
table.infobox.biota.unres th {
background-color: rgb(247, 193, 207);
}
table.infobox.biota.unres th.taxonnev {
background-color: #a83027;
color: white;
}
table.infobox.biota.hyb {
color: rgb(230, 227, 213);
}
table.infobox.biota.hyb th {
background-color: rgb(114, 84, 27);
}
table.infobox.biota.hyb th.taxonnev {
background-color: #322102;
color: white;
}
table.infobox.biota th.taxonnev {
font-size: 110%;
}
table.infobox.biota th.suha-svg {
padding: 10px 0 !important;
}
table.infobox.biota th.taxobox-icons {
/* Csak a taxobox keresőikonjaira vonatkozó stílus eleje */
/* Eltávolítjuk az alapértelmezett belső margókat a celláról */
background-color: #ebebe0;
padding: 10px 0 !important;
}
table.infobox.biota th.taxobox-icons a {
/* Minden linkre (a-tag), ami a taxobox-icons cellában van */
margin: 0 5px !important;
display: inline-block;
vertical-align: middle;
text-decoration: none !important; /* Eltünteti az esetleges aláhúzást */
}
table.infobox.biota th.taxobox-icons .external {
/* Opcionális: a külső link ikon elrejtése, ha zavarja a logót */
background-image: none !important;
padding-right: 0 !important;
}
table.infobox.biota th.taxobox-icons img {
/* Biztosítjuk, hogy a kép ne lógjon ki */
display: block;
opacity: 0.7;
}
table.infobox.biota th.taxobox-icons img:hover {
/* Ha szeretnél egy kis hover effektet (elhalkul/erősödik ha rámutatsz) */
opacity: 1;
transition: opacity 0.2s;
}
table.infobox.biota th.taxobox-icons {
/* Csak a taxobox keresőikonjaira vonatkozó stílus vége */
}
table.infobox.biota td {
padding: 4px 2px;
}
table.infobox.biota td.left {
line-height: 95%;
text-align: right;
}
table.infobox.biota td.right {
line-height: 95%;
text-align: left;
}
table.infobox.biota caption {
background-color: #afe1af;
text-align: center;
}
@media screen {
.vector-feature-custom-font-size-clientpref--excluded, .vector-feature-custom-font-size-clientpref-0, .mw-body-content .cdx-message {
--font-size-medium: 1rem;
--line-height-medium: 1.6;
}
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"],
figure[typeof~="mw:File"].mw-halign-right {
background-color: #f8f9fa;
border: 1px solid #ebebe0;
border-radius: 6px;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
color: grey;
display: block !important;
overflow: hidden;
}
figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
border: 0px solid #a2a9b1;
display: block !important;
font-size: 85%;
max-width: 334px;
text-align: center;
}
body.skin--responsive .mw-parser-output figure img.mw-file-element {
width: 340px;
height: auto;
max-width: 100%;
}
}
.wiki-dynamic-gallery {
display: flex;
flex-wrap: wrap;
align-items: flex-end; /* Így az aljuk lesz egy vonalban */
gap: 10px;
margin: 15px 0;
}
.wiki-dynamic-gallery a {
display: block;
height: 210px; /* Fix magasság */
background: #f0f0f0; /* Betöltődés alatti szín */
border-radius: 8px;
}
.wiki-dynamic-gallery img {
height: 200px;
width: auto; /* A szélesség alkalmazkodik az arányokhoz */
display: block;
object-fit: contain;
}
/*# sourceMappingURL=gyz.css.map */