MediaWiki:Common.css: Różnice pomiędzy wersjami
Z Wikio - Wiedza i Słowa
mNie podano opisu zmian |
mNie podano opisu zmian |
||
| Linia 25: | Linia 25: | ||
} | } | ||
blockquote:after { | blockquote:after { | ||
content: "\ | content: "\f128"; | ||
position: absolute; | position: absolute; | ||
top: 50%; | top: 50%; | ||
Wersja z 07:17, 6 paź 2025
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
blockquote {
border-left: 3px solid #00CC8F;
color: #1a1a1a;
font-family: Georgia, Times, "Times New Roman", serif;
font-size: 1.25em;
font-style: italic;
line-height: 1.8em;
margin: 1.1em;
padding: 1em 2em;
position: relative;
transition: 0.2s border ease-in-out;
z-index: 0;
}
lockquote:before {
content: "";
position: absolute;
top: 50%;
left: -4px;
height: 2em;
background-color: #fff;
width: 5px;
margin-top: -1em;
}
blockquote:after {
content: "\f128";
position: absolute;
top: 50%;
left: -0.5em;
color: #00CC8F;
font-family: "Font Awesome 5 Free";
font-style: normal;
line-height: 1em;
text-align: center;
text-indent: -2px;
width: 1em;
margin-top: -0.5em;
transition: 0.2s all ease-in-out, 0.4s transform ease-in-out;
}
blockquote.format:before, blockquote.format:after {
display: none;
}
blockquote.book:after {
content: "0x22";
}
blockquote.podcast:after {
content: "0x22";
}
blockquote.lyrics:after {
content: "0x22";
}
blockquote.favorite:after {
content: "0x22";
}
blockquote:active:after {
transform: rotateY(360deg);
}
blockquote cite {
display: block;
font-size: 0.75em;
line-height: 1.8em;
margin-top: 1em;
}