MediaWiki:Common.css: Porovnání verzí
Z Manta
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 84: | Řádek 84: | ||
.col-12.row { | .col-12.row { | ||
padding:0; | padding:0; | ||
} | |||
/* Landing page */ | |||
.manta-card { | |||
border: 1px solid #ddd; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
text-align: center; | |||
background: #f9f9f9; | |||
transition: transform 0.25s ease, box-shadow 0.25s ease; | |||
cursor: pointer; | |||
padding: 20px; | |||
} | |||
.manta-card:hover { | |||
transform: translateY(-4px); | |||
box-shadow: 0 6px 18px rgba(0,0,0,0.15); | |||
} | |||
.manta-card img { | |||
transition: transform 0.35s ease; | |||
} | |||
.manta-card:hover img { | |||
transform: scale(1.06); | |||
} | |||
.mw-file-element { border: none !important; } | |||
/* Subtitle styling */ | |||
.manta-subtitle { | |||
font-size: 0.9em; | |||
color: #666; | |||
margin-top: -8px; | |||
} | } | ||
Verze z 5. 12. 2025, 13:09
/* Zde uvedené CSS bude ovlivňovat všechny vzhledy */
.hide-toc {
display: none !important;
}
.res-img figure img {
width:100%;
height:auto;
margin:0;
}
h1,h2,h3,h4
{
font-weight:600;
}
h3 {
font-size:1.5rem;
}
h4 {
font-size:1.4rem;
}
h5 {
font-size:1.3rem;
}
.toc .tocnumber {
display: none;
}
.toc ul ul {
margin: 0 0 0 1.3em;
}
.toc li {
margin-bottom: 4px;
}
#toc-sidebar {
position: sticky;
top: 0px;
height: 100vh;
overflow-y: auto;
align-self: flex-start;
padding:0;
padding-bottom:30px;
}
#toc{
width:100%;
border-radius:12px;
margin-top:10%;
padding:0;
border:none;
background:none;
}
html {
scroll-behavior: smooth;
}
body.page-Hlavní_strana #firstHeading {
display: none !important;
border: none !important;
}
body.page-Hlavní_strana #toc-sidebar {
display: none !important;
}
body.page-Hlavní_strana .col-10.col {
width: 100% !important;
max-width: 100% !important;
flex: 0 0 100% !important;
}
.col-11.container {
padding:0;
}
.col-12.row {
padding:0;
}
/* Landing page */
.manta-card {
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
text-align: center;
background: #f9f9f9;
transition: transform 0.25s ease, box-shadow 0.25s ease;
cursor: pointer;
padding: 20px;
}
.manta-card:hover {
transform: translateY(-4px);
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.manta-card img {
transition: transform 0.35s ease;
}
.manta-card:hover img {
transform: scale(1.06);
}
.mw-file-element { border: none !important; }
/* Subtitle styling */
.manta-subtitle {
font-size: 0.9em;
color: #666;
margin-top: -8px;
}