MediaWiki:Common.css: Różnice pomiędzy wersjami
Wygląd
Nie podano opisu zmian |
Nie podano opisu zmian |
||
| Linia 4: | Linia 4: | ||
:root { | :root { | ||
--background-color-base: rgb(215, 205, 191); | /*--background-color-base: rgb(215, 205, 191);*/ | ||
} | } | ||
/* | |||
body { | body { | ||
background-image: url(https://nemopedia.pl/resources/assets/bg.jpg); | background-image: url(https://nemopedia.pl/resources/assets/bg.jpg); | ||
| Linia 11: | Linia 13: | ||
background-size: cover; | background-size: cover; | ||
} | } | ||
*/ | |||
pre { | pre { | ||
background-color: inherit; | background-color: inherit; | ||
Aktualna wersja na dzień 22:00, 19 lut 2026
.vector-main-menu-action-opt-out {
display: none;
}
:root {
/*--background-color-base: rgb(215, 205, 191);*/
}
/*
body {
background-image: url(https://nemopedia.pl/resources/assets/bg.jpg);
background-repeat: no-repeat;
background-size: cover;
}
*/
pre {
background-color: inherit;
border: none;
}
/* Kontener dla kafelków */
.kafelki-container {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 15px;
margin: 20px 0;
padding: 0;
}
/* Pojedynczy kafelek */
.kafelek-zwoj {
display: inline-block;
width: 100%;
perspective: 1000px;
}
.zwoj-tlo {
background: linear-gradient(135deg, #f4e4c1 0%, #e8d4a8 50%, #d9c293 100%);
border: 3px solid #8b6f47;
border-radius: 8px;
box-shadow:
0 4px 6px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.3),
inset 0 -2px 8px rgba(139, 111, 71, 0.2);
padding: 20px 10px;
text-align: center;
position: relative;
transition: all 0.3s ease;
min-height: 140px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image:
repeating-linear-gradient(0deg,
rgba(139, 111, 71, 0.03) 0px,
rgba(139, 111, 71, 0.03) 1px,
transparent 1px,
transparent 3px);
}
/* Efekt zwijania brzegów */
.zwoj-tlo:before,
.zwoj-tlo:after {
content: '';
position: absolute;
width: 100%;
height: 8px;
background: linear-gradient(to bottom, #8b6f47, transparent);
left: 0;
opacity: 0.4;
}
.zwoj-tlo:before {
top: 0;
border-radius: 8px 8px 0 0;
}
.zwoj-tlo:after {
bottom: 0;
border-radius: 0 0 8px 8px;
background: linear-gradient(to top, #8b6f47, transparent);
}
/* Hover effect */
.zwoj-tlo:hover {
transform: translateY(-5px) scale(1.02);
box-shadow:
0 8px 15px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.4);
background: linear-gradient(135deg, #f9ead1 0%, #eddeb8 50%, #dec89d 100%);
}
/* Ikona */
.zwoj-ikona {
margin-bottom: 12px;
filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
/* Tekst */
.zwoj-tekst {
font-family: 'Georgia', 'Times New Roman', serif;
font-size: 16px;
font-weight: bold;
color: #3d2817;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
text-decoration: none;
}
.zwoj-tekst a {
color: #3d2817 !important;
text-decoration: none !important;
transition: color 0.3s ease;
}
.zwoj-tekst a:hover {
color: #6b4423 !important;
text-decoration: underline !important;
}
/* Responsywność */
@media (max-width: 1200px) {
.kafelki-container {
grid-template-columns: repeat(4, 1fr);
}
}
@media (max-width: 768px) {
.kafelki-container {
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
}
@media (max-width: 480px) {
.kafelki-container {
grid-template-columns: repeat(2, 1fr);
}
}
.scroll-container {
max-width: 800px;
margin: 0 auto 40px;
}
.scroll {
position: relative;
background: linear-gradient(to bottom,
#f4e4c1 0%,
#e8d4a8 10%,
#ede0c8 50%,
#e8d4a8 90%,
#d9c293 100%);
padding: 60px 50px 60px 50px;
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.5),
inset 0 2px 5px rgba(255, 255, 255, 0.3);
border-radius: 4px;
/* Tekstura pergaminu */
background-image:
repeating-linear-gradient(0deg,
rgba(139, 111, 71, 0.02) 0px,
rgba(139, 111, 71, 0.02) 1px,
transparent 1px,
transparent 4px),
repeating-linear-gradient(90deg,
rgba(139, 111, 71, 0.02) 0px,
rgba(139, 111, 71, 0.02) 1px,
transparent 1px,
transparent 4px),
radial-gradient(circle at 20% 30%, rgba(210, 180, 140, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(160, 130, 90, 0.1) 0%, transparent 50%);
}
/* Górny zwój */
.scroll:before {
content: '';
position: absolute;
top: -20px;
left: 0;
right: 0;
height: 30px;
background: linear-gradient(to bottom, #8b6f47, #6b5435);
border-radius: 50%;
box-shadow:
0 3px 10px rgba(0, 0, 0, 0.5),
inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}
/* Dolny zwój */
.scroll:after {
content: '';
position: absolute;
bottom: -20px;
left: 0;
right: 0;
height: 30px;
background: linear-gradient(to top, #8b6f47, #6b5435);
border-radius: 50%;
box-shadow:
0 3px 10px rgba(0, 0, 0, 0.5),
inset 0 2px 5px rgba(0, 0, 0, 0.3);
}
/* Lewa krawędź zwoju */
.scroll-edge-left,
.scroll-edge-right {
position: absolute;
top: 0;
bottom: 0;
width: 15px;
background: linear-gradient(to right, #6b5435, #8b6f47);
box-shadow: inset -2px 0 5px rgba(0, 0, 0, 0.3);
}
.scroll-edge-left {
left: -15px;
border-radius: 8px 0 0 8px;
}
.scroll-edge-right {
right: -15px;
background: linear-gradient(to left, #6b5435, #8b6f47);
box-shadow: inset 2px 0 5px rgba(0, 0, 0, 0.3);
border-radius: 0 8px 8px 0;
}
/* Sznurki do zawijania zwoju */
.scroll-string {
position: absolute;
width: 3px;
background: #4a3820;
box-shadow: 1px 0 2px rgba(0, 0, 0, 0.5);
}
.scroll-string-left {
left: -8px;
top: -25px;
height: calc(100% + 50px);
}
.scroll-string-right {
right: -8px;
top: -25px;
height: calc(100% + 50px);
}
/* Data */
.scroll-date {
text-align: center;
font-size: 14px;
color: #5a3825;
font-style: italic;
margin-bottom: 20px;
letter-spacing: 1px;
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
border-bottom: 2px solid rgba(139, 111, 71, 0.3);
padding-bottom: 10px;
}
/* Inicjał ozdobny */
.scroll-text::first-letter {
font-size: 3em;
line-height: 0.8;
float: left;
margin: 0 8px 0 0;
color: #8b3a3a;
font-weight: bold;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}
/* Tekst */
.scroll-text {
font-size: 18px;
line-height: 1.8;
color: #2d1810;
text-align: justify;
text-shadow: 0.5px 0.5px 1px rgba(255, 255, 255, 0.3);
hyphens: auto;
}
.scroll-text p {
margin: 0 0 15px 0;
}
.scroll-text p:last-child {
margin-bottom: 0;
}
/* Ozdobne zakończenie */
.scroll-ornament {
text-align: center;
margin-top: 25px;
padding-top: 15px;
border-top: 2px solid rgba(139, 111, 71, 0.3);
color: #8b6f47;
font-size: 24px;
letter-spacing: 10px;
}
/* Tytuł strony */
.scroll h1 {
text-align: center;
color: #f4e4c1;
font-size: 36px;
margin-bottom: 50px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
letter-spacing: 3px;
}