MediaWiki:Common.css
Wygląd
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)
- Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5.
- Opera: Naciśnij klawisze Ctrl+F5.
.vector-main-menu-action-opt-out { display: none; }
/* Kontener dla kafelków */
.kafelki-container {
display: grid;
grid-template-columns: repeat(5, 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);
}
}