MediaWiki:Common.css

Z Dubbingpedia
Wersja z dnia 21:58, 14 sie 2026 autorstwa Daru (dyskusja | edycje) (Anulowanie wersji 241993 autorstwa Daru (dyskusja))
Skocz do:nawigacja, szukaj

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.
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

#blackclose a, #blackclose a:visited { 
text-decoration: none; 
font-family: "Arial",Helvetica,sans-serif
}

#overlayblack {
       background: -moz-radial-gradient(center center 45deg, circle closest-side, transparent 0pt, black 350px) repeat scroll 0 0 transparent;
       background: -webkit-gradient(radial, center center, 0, center center, 350, from(transparent), to(rgba(0, 0, 0, 1)));
   height: 100%;
   left: 0;
   pointer-events: none;
   position: absolute;
   top: 0;
   width: 200%;
   bottom: 0;
   top: 0;
   right: 0;
   left: 0;
   z-index: 2000;

}

#blackclose {
   text-align: center;
   height: 40px;
   width: 100%;
   left: 0;
   position: fixed;
   top: 0;
   z-index: 2001;
   background: #000;
}

#blackclose a{font-size: 12px; margin-right: 10px; color: #fff; margin-top: 10px;}
#blackclose p {padding: 0px; margin: 0px;}
#blackclose p a{color: #fff; font-size: 30px; padding-top: 20px;}
#blackclose .fright{ float:right; }
#ca-talk { display:none!important; }
.mw-usertoollinks-talk { display:none!important; }
.mw-contributions-user-tools { display:none!important; }

.contentHeader {
	max-width: 1180px;
	margin: 0 auto 24px;
}

#firstHeading {
	box-sizing: border-box;
	margin: 18px 0 0 !important;
	padding: 11px 14px !important;
	border: 1px solid #a2a9b1 !important;
	border-left: 6px solid #064f9e !important;
	background: #f8f9fa !important;
	color: #202122 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-align: left !important;
	font-size: 20px !important;
	line-height: 1.2 !important;
	font-weight: 800 !important;
}

#firstHeading .mw-page-title-main {
	color: #064f9e !important;
}

body.page-Strona_główna #firstHeading .mw-page-title-main::before {
	content: "Dubbingpedia";
	display: inline-block;
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px solid #a2a9b1;
	color: #54595d;
	font-size: 12px;
	line-height: 1;
	font-weight: 800;
	text-transform: uppercase;
	vertical-align: 2px;
}

#siteSub,
#jump-to-nav {
	display: none;
}

.dp-home-section {
	margin-bottom: 18px !important;
}

.dp-home-section:last-child {
	margin-bottom: 0 !important;
}

.dp-home-feature-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding: 14px;
}

.dp-home-feature-card {
	flex: 1 1 220px;
	min-width: 190px;
	border: 1px solid #a2a9b1;
	background: #fff;
	overflow: hidden;
}

.dp-home-feature-image {
	background: #eaecf0;
	border-bottom: 1px solid #a2a9b1;
}

.dp-home-feature-image > p {
	margin: 0;
}

.dp-home-feature-image a,
.dp-home-feature-image .mw-file-description {
	display: block;
}

.dp-home-feature-image img,
.dp-home-feature-image .mw-file-element {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
}

.dp-home-feature-text {
	padding: 11px 14px;
}

.dp-home-founder-image > p {
	margin: 0;
}

.dp-home-founder-image a,
.dp-home-founder-image .mw-file-description {
	display: block;
}

.dp-home-founder-image img,
.dp-home-founder-image .mw-file-element {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
}

.dp-home-searchbox {
	border: 1px solid #a2a9b1;
	background: #fff;
	padding: 0;
}

.dp-home-searchbox form.searchbox {
	display: flex;
	gap: 0;
	align-items: stretch;
	margin: 0;
	border: 2px solid #064f9e;
	background: #fff;
	font-size: 0;
	line-height: 0;
}

.dp-home-searchbox .mw-inputbox-centered {
	margin-left: 0;
	margin-right: 0;
}

.dp-home-searchbox input[type="search"],
.dp-home-searchbox input.mw-searchInput,
.dp-home-searchbox input.searchboxInput {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	border: 0;
	background: #fff;
	padding: 9px 11px;
	font-size: 14px;
	line-height: 1.25;
	outline: 0;
	box-shadow: none;
	appearance: none;
}

.dp-home-searchbox input[type="submit"] {
	flex: 0 0 82px;
	box-sizing: border-box;
	border: 0;
	border-left: 2px solid #064f9e;
	background: #064f9e !important;
	background-image: none !important;
	color: #fff !important;
	padding: 9px 12px;
	font-size: 14px;
	line-height: 1.25;
	font-weight: 800;
	cursor: pointer;
	text-shadow: none;
	box-shadow: none;
	appearance: none;
	text-align: center;
	min-width: 82px;
	margin: 0;
}

.dp-home-searchbox input[name="fulltext"] {
	display: none;
}

@media (max-width: 520px) {
	.dp-home-searchbox form.searchbox {
		display: block;
	}

	.dp-home-searchbox input[type="search"],
	.dp-home-searchbox input.mw-searchInput,
	.dp-home-searchbox input.searchboxInput,
	.dp-home-searchbox input[type="submit"] {
		display: block;
		width: 100%;
		margin: 0;
	}

	.dp-home-searchbox input[type="submit"] {
		border-left: 0;
		border-top: 2px solid #064f9e;
		margin-bottom: 0;
	}
}

/*
 * Responsywne listy odcinków Dubbingpedii.
 * Paletę, odstępy i punkt przejścia można zmieniać w jednym miejscu poniżej.
 */
.mw-parser-output {
    --pdk-blue-700: #07569f;
    --pdk-blue-600: #0878c9;
    --pdk-blue-100: #e8f2fb;
    --pdk-ink: #152238;
    --pdk-muted: #5c6b7d;
    --pdk-line: #aebbc8;
    --pdk-line-soft: #d8e0e7;
    --pdk-surface: #fff;
    --pdk-surface-soft: #f2f4f6;
    --pdk-table-row: #f8fafc;
    --pdk-table-gap: 0.55rem;
}

/* H2 jest lżejszy od głównej, zamkniętej belki H1. */
.mw-parser-output > h2,
.mw-parser-output > .mw-heading2 {
    box-sizing: border-box;
    margin: 2rem 0 0.9rem;
    border: 0;
    border-bottom: 1px solid var(--pdk-line);
    border-left: 4px solid var(--pdk-blue-600);
    background: transparent;
    padding: 0.2rem 0.7rem 0.32rem;
    color: var(--pdk-blue-700);
}

.mw-parser-output > h2,
.mw-parser-output > .mw-heading2 > h2 {
    color: inherit;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
}

.mw-parser-output > .mw-heading2 > h2 {
    flex: 1;
    border: 0;
    margin: 0;
    padding: 0;
}

.mw-parser-output > .mw-heading2 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.mw-parser-output > h3,
.mw-parser-output > .mw-heading3,
.pdk-section-content > h3,
.pdk-section-content > .mw-heading3 {
    margin: 1.5rem 0 0.65rem;
    border: 0;
    border-bottom: 1px solid var(--pdk-line-soft);
    border-left: 3px solid var(--pdk-blue-600);
    padding: 0.15rem 0.6rem 0.3rem;
    color: var(--pdk-blue-700);
}

.mw-parser-output > h3,
.mw-parser-output > .mw-heading3 > h3,
.pdk-section-content > h3,
.pdk-section-content > .mw-heading3 > h3 {
    font-family: inherit;
    font-size: 1.16rem;
    font-weight: 700;
}

.mw-parser-output > .mw-heading3 > h3,
.pdk-section-content > .mw-heading3 > h3 {
    flex: 1;
    border: 0;
    margin: 0;
    padding: 0;
    color: inherit;
}

.mw-parser-output > .mw-heading3,
.pdk-section-content > .mw-heading3 {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.pdk-section-heading {
    position: relative;
}

.pdk-section-content[hidden] {
    display: none !important;
}

.pdk-section-toggle,
.pdk-episodes__season-toggle {
    flex: 0 0 auto;
    float: right;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    margin: -0.25rem -0.35rem -0.25rem 0.4rem;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--pdk-blue-700);
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.pdk-section-toggle:hover,
.pdk-section-toggle:focus-visible,
.pdk-episodes__season-toggle:hover,
.pdk-episodes__season-toggle:focus-visible {
    background: #dceaf7;
    outline: 2px solid transparent;
}

.pdk-section-toggle__icon::before,
.pdk-episodes__toggle-icon::before {
    content: "▾";
}

.pdk-section-toggle[aria-expanded="false"] .pdk-section-toggle__icon::before,
.pdk-episodes__season-toggle[aria-expanded="false"] .pdk-episodes__toggle-icon::before {
    content: "▸";
}

.pdk-episodes__season-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    float: none;
    margin: 0;
    transform: translateY(-50%);
}

/* Główna tabela. Wikikod zawiera dane, a cały wygląd pozostaje tutaj. */
.pdk-episodes.wikitable {
    width: 100%;
    margin: 0.8rem 0 1.5rem;
    border: 1px solid var(--pdk-line);
    border-collapse: collapse;
    background: var(--pdk-surface);
    color: var(--pdk-ink);
    table-layout: auto;
}

.pdk-episodes.wikitable th,
.pdk-episodes.wikitable td {
    box-sizing: border-box;
    border: 1px solid var(--pdk-line-soft);
    padding: 0.48rem 0.65rem;
    vertical-align: middle;
}

.pdk-episodes.wikitable .pdk-episodes__head > th {
    position: relative;
    background: var(--pdk-surface-soft);
    color: var(--pdk-ink);
    text-align: center;
    font-weight: 700;
}

.pdk-episodes.wikitable .pdk-episodes__row:nth-of-type(even) > td {
    background: var(--pdk-table-row);
}

.pdk-episodes.wikitable .pdk-episodes__row:hover > td {
    background: var(--pdk-blue-100);
}

/* Numer serii pozostaje podnagłówkiem wewnątrz tabeli. */
.pdk-episodes.wikitable .pdk-episodes__season > th {
    position: relative;
    border-left: 5px solid var(--pdk-blue-700);
    background: var(--pdk-blue-100);
    color: var(--pdk-blue-700);
    padding: 0.52rem 0.75rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.pdk-episodes.wikitable td.pdk-episodes__number,
.pdk-episodes.wikitable td.pdk-episodes__date {
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pdk-episodes.wikitable td.pdk-episodes__title {
    font-weight: 600;
    text-align: center;
}

/* Wymagane centrowanie tytułu angielskiego na desktopie. */
.pdk-episodes.wikitable td.pdk-episodes__original {
    text-align: center;
    font-style: italic;
}

.pdk-episodes.wikitable td.pdk-episodes__empty {
    background: var(--pdk-surface-soft);
    color: var(--pdk-muted);
}

.pdk-episodes__sort {
    min-width: 2rem;
    min-height: 2rem;
    margin: -0.35rem -0.35rem -0.35rem 0.2rem;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--pdk-blue-700);
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.pdk-episodes__sort:hover,
.pdk-episodes__sort:focus-visible {
    background: #dceaf7;
    outline: 2px solid transparent;
}

.pdk-episodes__sort-icon::before {
    content: "↕";
}

th[aria-sort="ascending"] .pdk-episodes__sort-icon::before {
    content: "↑";
}

th[aria-sort="descending"] .pdk-episodes__sort-icon::before {
    content: "↓";
}

/* Podczas sortowania rekordy z różnych serii tworzą jedną listę. */
.pdk-episodes--sorted .pdk-episodes__season {
    display: none !important;
}

.pdk-episodes:not(.pdk-episodes--sorted) .pdk-episodes__row--series-hidden {
    display: none !important;
}

.pdk-episodes__mobile-sort {
    display: none;
}

.pdk-episodes__mobile-sort select,
.pdk-episodes__mobile-sort button {
    min-height: 2.75rem;
    border: 1px solid var(--pdk-line);
    border-radius: 2px;
    background: var(--pdk-surface);
    color: var(--pdk-ink);
    font: inherit;
}

.pdk-episodes__mobile-sort select {
    min-width: 0;
    flex: 1;
    padding: 0.45rem 0.6rem;
}

.pdk-episodes__mobile-sort button {
    width: 2.75rem;
    color: var(--pdk-blue-700);
    font-weight: 700;
    cursor: pointer;
}

.pdk-episodes__visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    .mw-parser-output > h2,
    .mw-parser-output > .mw-heading2 {
        margin-top: 1.5rem;
        padding: 0.4rem 0.65rem;
    }

    .mw-parser-output > h2,
    .mw-parser-output > .mw-heading2 > h2 {
        font-size: 1.28rem;
    }

    .pdk-episodes__mobile-sort {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        margin: 0.6rem 0;
    }

    .pdk-episodes.wikitable,
    .pdk-episodes.wikitable > tbody {
        display: block;
        width: 100%;
        border: 0;
        background: transparent;
    }

    .pdk-episodes.wikitable .pdk-episodes__head {
        display: none;
    }

    .pdk-episodes.wikitable .pdk-episodes__season {
        display: block;
        margin: 0.85rem 0 0.45rem;
    }

    .pdk-episodes.wikitable .pdk-episodes__season > th {
        display: block;
        width: 100%;
        border: 1px solid var(--pdk-line);
        border-left: 5px solid var(--pdk-blue-700);
        padding: 0.62rem 0.7rem;
        text-align: center;
    }

    .pdk-section-toggle,
    .pdk-episodes__season-toggle {
        width: 2.75rem;
        min-width: 2.75rem;
        height: 2.75rem;
        margin-top: -0.45rem;
        margin-bottom: -0.45rem;
    }

    .pdk-episodes__season-toggle {
        margin: 0;
    }

    .pdk-episodes.wikitable .pdk-episodes__row {
        display: grid;
        grid-template-columns: minmax(2.75rem, auto) minmax(0, 1fr) max-content;
        gap: 0 0.65rem;
        margin: 0 0 var(--pdk-table-gap);
        border: 1px solid var(--pdk-line-soft);
        border-left: 3px solid var(--pdk-blue-600);
        background: var(--pdk-surface);
        padding: 0.6rem 0.7rem;
    }

    .pdk-episodes.wikitable .pdk-episodes__continuation {
        margin-top: calc(-1 * var(--pdk-table-gap));
        border-top: 1px dashed var(--pdk-line-soft);
        border-left-color: var(--pdk-line-soft);
    }

    .pdk-episodes.wikitable .pdk-episodes__row > td {
        display: block;
        grid-column: 2;
        width: auto !important;
        border: 0;
        background: transparent;
        padding: 0;
        text-align: left;
        white-space: normal;
    }

    .pdk-episodes.wikitable .pdk-episodes__row:hover > td:not(.pdk-episodes__number),
    .pdk-episodes.wikitable .pdk-episodes__row:nth-of-type(even) > td:not(.pdk-episodes__number) {
        background: transparent;
    }

    .pdk-episodes.wikitable .pdk-episodes__row > td.pdk-episodes__number {
        grid-column: 1;
        order: 0;
        align-self: start;
        min-width: 2.55rem;
        border-radius: 2px;
        background: var(--pdk-blue-700);
        padding: 0.45rem 0.35rem;
        color: #fff;
        text-align: center;
        font-weight: 700;
        line-height: 1.15;
    }

    .pdk-episodes.wikitable .pdk-episodes__row > td.pdk-episodes__number:not(.pdk-episodes__column--labelled) {
        grid-row: 1 / span 2;
    }

    .pdk-episodes.wikitable td.pdk-episodes__title {
        grid-column: 2;
        order: 1;
        font-size: 1rem;
        line-height: 1.2;
    }

    .pdk-episodes.wikitable td.pdk-episodes__original {
        grid-column: 2;
        order: 2;
        margin-top: -0.08rem;
        color: var(--pdk-muted);
        text-align: left;
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .pdk-episodes.wikitable td.pdk-episodes__date {
        grid-column: 3;
        order: 3;
        align-self: center;
        justify-self: end;
        margin-top: 0;
        color: var(--pdk-muted);
        text-align: right;
        font-size: 0.82rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .pdk-episodes.wikitable td.pdk-episodes__date:not(.pdk-episodes__column--labelled) {
        grid-row: 1 / span 2;
    }

    .pdk-episodes.wikitable td:not(.pdk-episodes__number)::before {
        content: attr(data-pdk-label);
        display: block;
        margin-bottom: 0.05rem;
        color: var(--pdk-muted);
        font-size: 0.7rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.2;
    }

    .pdk-episodes.wikitable td.pdk-episodes__title:not(.pdk-episodes__column--labelled)::before,
    .pdk-episodes.wikitable td.pdk-episodes__original:not(.pdk-episodes__column--labelled)::before,
    .pdk-episodes.wikitable td.pdk-episodes__date:not(.pdk-episodes__column--labelled)::before {
        display: none;
    }

    .pdk-episodes.wikitable td.pdk-episodes__empty {
        min-height: 1.15rem;
        color: var(--pdk-muted);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdk-episodes * {
        scroll-behavior: auto !important;
    }
}