MediaWiki:Common.css
Z Wiki JU
Poznámka: Po zveřejnění musíte vyprázdnit cache vašeho prohlížeče, jinak změny neuvidíte.
- Firefox / Safari: Při kliknutí na Aktualizovat držte Shift nebo stiskněte Ctrl-F5 nebo Ctrl-R (na Macu ⌘-R)
- Google Chrome: Stiskněte Ctrl-Shift-R (na Macu ⌘-Shift-R)
- Edge: Při kliknutí na Aktualizovat držte Ctrl nebo stiskněte Ctrl-F5.
/* Zde uvedené CSS bude ovlivňovat všechny vzhledy */
#ca-talk {
display: none !important;
}
#ca-viewsource { display: none !important; }
#ca-history {
display: none;
}
.cdx-button {
display: none !important;
}
#mw-category-media {display: none ;}
/*obsah v div s .noautonum nebude číslován https://www.mediawiki.org/wiki/Manual:Table_of_contents - sekce auto-numbering*/
.noautonum .tocnumber { display: none; }
/*pozadí hlavičky*/
#mw-header-container, #mw-header-nav-hack {
background: #e00034;
color: #ffffff;
}
/*font a barva v hlavičce*/
#p-logo-text a, #personal h2 {
color: #ffffff;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
}
/*pruh s barvami pod hlavičkou*/
.color-middle, .color-left, .color-right {
background: #e00034;
}
/*Podtržení u typu stránky*/
.tools-inline li.selected {
border-bottom-color: #e00034;
}
/*patička pruh*/
#mw-content-container {
background: #eaecf0;
border-bottom: solid 4px #e00034;
}
#mw-footer-container.mw-footer-container.ts-container ul li {font-size: 13px;}
/*Skrýt Powered by - patička*/
#footer-poweredbyico { display: none; }
#footer-places { display: none; }
.mw-footer-container {
background: #a30328;
}
#mw-footer-container.ts-container {
box-shadow: none;
border: none;
background: #a30328;
display: inline-block;
width: 100%;
}
#mw-wrapper .mw-body h1 {
text-transform: uppercase;
border-bottom: solid 2px lightgray;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
font-size: 1.7em;
font-weight: 600;
}
#mw-wrapper .mw-body h2 {
text-transform: uppercase;
border-bottom: solid 2px lightgray;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
font-size: 1.7em;
font-weight: 600;
}
#mw-wrapper .mw-body h1.firstHeading {
border-bottom: solid 0px #3366cc;
margin: 0.25em 0 1.5em;
}
#mw-wrapper .mw-body h3 {
text-transform: uppercase;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
font-weight: 600;
font-size: 1.5em;
border: none;
}
#mw-wrapper .mw-body h4 {
text-transform: none;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
margin-left: 20px;
font-weight: 600;
font-size: 1.3em;
border: none;
}
#mw-wrapper .mw-body h5 {
text-transform: none;
font-family: 'Noto Sans','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Helvetica Neue','Helvetica',sans-serif;
margin-left: 30px;
font-weight: 600;
font-size: 1.1em;
border: none;
}
/*
#personal h2 {
background-image: url(/var/www/html/images/control_images/user-white.svg);
}
#personal h2:after {
background-image: url(/var/www/html/images/control_images/arrow-down-white.svg);
}
#site-tools h2 {
background-image: url(/var/www/html/images/control_images/gear-large-white.svg);
}
#user-tools h2:after, .sidebar-chunk h2:after {
background-image: url(/var/www/html/images/control_images/arrow-down-white.svg);
}
#site-navigation h2 {
background-image: url(/var/www/html/images/control_images/menu-large-white.svg);
}
*/
#user-tools h2 span {
text-transform: uppercase;}
/*GALERIE - slideshow*/
.mw-gallery-slideshow .gallerycarousel {
display: block;
text-align: center;
width: 60%;
}
.mw-gallery-slideshow-caption .gallerytext {
font-weight: bold;
}
ul.gallery.gallery.gallery.mw-gallery-slideshow {
display: block;
margin: 1em 0;
border: solid 1px black;
background-color: #d3d3d314
}
.mw-gallery-slideshow .gallerycarousel {
display: block;
text-align: center;
width: 60%;
margin-left: auto;
margin-right: auto;
}
@media only screen and (max-width: 780px) {
/*GALERIE - slideshow*/
.mw-gallery-slideshow .gallerycarousel {
display: block;
text-align: center;
width: auto;
height: auto;
}
.mw-gallery-slideshow-caption .gallerytext {
font-weight: normal;
}
ul.gallery.gallery.gallery.mw-gallery-slideshow {
display: block;
margin: 1em 0;
border: solid 1px black;
background-color: #d3d3d314
}
.mw-gallery-slideshow .gallerycarousel {
display: block;
text-align: center;
margin-left: auto;
margin-right: auto;
}
oo-ui-icon-imageGallery {
border: solid 1px black;
background-color: white;
}
}
#n-Wiki-in-English {
text-indent: 1.8em;
background-size: 1.5em;
background-repeat: no-repeat;
background-image: url("https://wiki.jcu.cz/images/2/24/United-kingdom_30.png");
}
div#zalohovani_exchange {
padding-left: 9em;
background-image: url("https://wiki.jcu.cz/images/4/46/Outlook-logo.svg");
background-repeat: no-repeat;
background-size: 6em;
background-position: 1em 0em;
min-height: 8em;
}
div#zalohovani_onedrive {
padding-left: 9em;
background-image: url(https://wiki.jcu.cz/images/5/5b/Onedrive-logo.svg);
background-repeat: no-repeat;
background-size: 7em;
min-height: 8em;
background-position: 0.8em 0.5em;
}
div#zalohovani_teams {
padding-left: 9em;
background-image: url(https://wiki.jcu.cz/images/b/b8/Msteams-logo.svg);
background-repeat: no-repeat;
background-size: 6em;
min-height: 8em;
background-position: 1em 0em;
}
div#zalohovani_sharepoint {
padding-left: 9em;
background-image: url(https://wiki.jcu.cz/images/9/96/Sharepoint-logo.svg);
background-repeat: no-repeat;
background-size: 6em;
min-height: 8em;
background-position: 1em 0em;
}
div#lada_style h3 {
text-transform: none !important;
}
body.page-Microsoft_365_Outlook_Nastavení_pravidla_pro_přijaté_zprávy span.zvyrazneni {
background-color: #ffcc33;
padding: 0.5em;
border-radius: 0.5em;
display: inline-block;
margin: 0.5em 0.5em 0.5em 0;
font-weight: bold;
}
a.articleFeedbackv5-tooltip-trigger {
display: none !important;
}
.articleFeedbackv5-confirmation-panel {
display: none !important;
}
li#t-articlefeedbackv5-view {
display: none;
}
.articlefeedbackv5-help-transparency-terms{
display:none !important;
}
li#pt-createaccount {
display:none !important;
}
/* Styly pro tlačítko Odeslat názor – bez změny display */
.articleFeedbackv5-submit.ui-button {
/* NEZASAHUJEME do display! Necháme to na JS */
align-items: center !important;
justify-content: center !important;
height: 40px !important;
line-height: normal !important;
padding: 0 16px !important;
font-weight: bold !important;
font-size: 1em;
background: #0052cc !important;
color: white !important;
border: 1px solid #003d99 !important;
border-radius: 0 !important;
box-shadow: none !important;
text-shadow: none !important;
}
/* Zůstane skryté, pokud má inline display: none nebo opacity */
.articleFeedbackv5-submit[style*="display: none"],
.articleFeedbackv5-submit[style*="opacity: 0"] {
visibility: hidden;
}
/* Styl pro tlačítka Ano a Ne – vyšší, pohodlnější */
.articleFeedbackv5-button-placeholder.ui-button {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
padding: 10px 20px !important; /* VÝŠKA: 10px nahoru/dolů */
font-weight: bold !important;
font-size: 1em;
background: #0052cc !important;
color: white !important;
border: 1px solid #003d99 !important;
border-radius: 0 !important;
box-shadow: none !important;
text-shadow: none !important;
margin-right: 8px; /* rozestup mezi tlačítky */
line-height: 1.2 !important;
white-space: nowrap !important;
}
/* Hover efekt */
.articleFeedbackv5-button-placeholder.ui-button:hover {
background: #003d99 !important;
}
.articleFeedbackv5-panel .articleFeedbackv5-title {
float: left;
border: none;
font-weight: bold;
font-size: 1.3em;
font-family: inherit !important;
}
.articleFeedbackv5-ui .instructions-left {
float: left;
margin: 0 15px 0 0;
font-size: 1.0em;
font-family: inherit !important;
}
.articleFeedbackv5-note {
margin: 6px 0 14px 0; /* horní, pravá, dolní, levá */
font-size: 0.9em;
color: #555;
line-height: 1.4;
}
.articleFeedbackv5-note a {
text-decoration: underline;
}
.tools-inline div, .tools-inline div, .tools-inline ul, .tools-inline ul, .tools-inline li, .tools-inline li {
list-style: none;
display: inline-flex;
margin: 0.3em;
padding: 0;
}
.custom-yellow-button {
display: inline-block;
background-color: #ffcc00; /* žluté pozadí */
color: #000; /* černý text */
font-weight: bold;
padding: 5px 10px;
border: 1px solid #ffffff; /* tmavší žlutý rámeček */
border-radius: 0px;
text-decoration: none;
cursor: pointer;
margin: 5px 0px;
}
.custom-yellow-button:hover {
background-color: #ffdb4d; /* světlejší žlutá při hoveru */
border-color: #b38600;
text-decoration: none;
color: #000;
border: 1px solid #cc9900; /* tmavší žlutý rámeček */
}
/* FAQ minimalistické */
.faq-item {
margin: 6px 0;
font-size: 90%;
border: 1px solid #ddd;
border-radius: 6px;
}
.faq-item summary {
padding: 6px 10px;
font-weight: 600;
cursor: pointer;
background: #f9f9f9;
border-radius: 6px;
display: flex;
align-items: center;
}
.faq-item[open] summary {
border-radius: 6px 6px 0 0;
}
.faq-answer {
padding: 6px 10px;
border-top: 1px solid #ddd;
background: #fafafa;
border-radius: 0 0 6px 6px;
font-size: 90%;
}
/* Šipky */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .arrow-down { display: none; }
.faq-item:not([open]) .arrow-up { display: none; }
.faq-arrow { margin-left: auto; font-size: 85%; }
/* Vyhledávání */
/* MediaWiki Special:Search - Custom Styling
Timeless skin, MediaWiki 1.43.0 */
/* ══════════════════════════════════════════════════════════════
SKRYTÍ PROFILOVÝCH ZÁLOŽEK
══════════════════════════════════════════════════════════════ */
body.mw-special-Search .mw-search-profile-tabs {
display: none !important;
}
/* ══════════════════════════════════════════════════════════════
FLEXBOX LAYOUT PRO CHECKBOXY (chip style)
══════════════════════════════════════════════════════════════ */
body.mw-special-Search #mw-searchoptions .checkbox-container {
display: flex !important;
flex-wrap: wrap !important;
gap: 10px 18px;
align-items: center;
margin-bottom: 10px;
}
/* Jednotlivé položky (chip design) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout {
display: inline-flex !important;
align-items: center;
margin: 0 !important;
padding: 4px 10px;
border-radius: 8px;
background: #f0f0f0;
transition: background 0.2s ease;
flex: 0 0 auto !important;
}
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout:hover {
background: #e0e0e0;
}
/* ══════════════════════════════════════════════════════════════
PŘEUSPOŘÁDÁNÍ: CHECKBOX → TEXT
══════════════════════════════════════════════════════════════ */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-body {
display: flex !important;
align-items: center;
gap: 8px;
}
/* Checkbox (vlevo) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-field {
order: 1;
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 20px;
height: 20px;
margin: 0 !important;
}
/* Text (vpravo) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout-header {
order: 2;
display: flex;
align-items: center;
margin: 0 !important;
}
/* ══════════════════════════════════════════════════════════════
TEXT ŠTÍTKU
══════════════════════════════════════════════════════════════ */
body.mw-special-Search #mw-searchoptions .oo-ui-labelElement-label {
display: inline-block;
white-space: nowrap;
max-width: none;
overflow: visible;
line-height: 1.4;
font-size: 14px;
cursor: pointer;
}
/* ══════════════════════════════════════════════════════════════
SKRÝT NEŽÁDOUCÍ PRVKY
══════════════════════════════════════════════════════════════ */
/* Toggle buttony (Všechno/Nic) */
body.mw-special-Search #mw-search-togglebox {
display: none !important;
}
/* Zapamatovat si výběr (pokud existuje) */
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout:has(#mw-search-powersearch-remember) {
display: none !important;
}
/* ══════════════════════════════════════════════════════════════
RESPONSIVITA
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
body.mw-special-Search #mw-searchoptions .checkbox-container {
gap: 8px 12px;
}
body.mw-special-Search #mw-searchoptions .oo-ui-fieldLayout {
padding: 3px 8px;
}
body.mw-special-Search #mw-searchoptions .oo-ui-labelElement-label {
font-size: 13px;
}
}
__NOCACHE__