MediaWiki:Common.css: Porovnání verzí

Z Manta
Přejít na:navigace, hledání
Bez shrnutí editace
Bez shrnutí editace
Řádek 41: Řádek 41:
#toc-sidebar {
#toc-sidebar {
   position: sticky;
   position: sticky;
   top: 2em;
   top: 0px;
   height: 100vh;
   height: 100vh;
   overflow-y: auto;
   overflow-y: auto;
   align-self: flex-start;
   align-self: flex-start;
padding:0;
   padding-bottom:30px;
   padding-bottom:30px;
}
}
Řádek 50: Řádek 51:
#toc{
#toc{
width:100%;
width:100%;
border: none;
border-radius:12px;
border-radius:12px;
margin-top:10%;
}
}


.toctogglespan {
display: none;
}


html {
html {
Řádek 75: Řádek 73:
     max-width: 100% !important;
     max-width: 100% !important;
     flex: 0 0 100% !important;
     flex: 0 0 100% !important;
}
.col-11 container {
padding:0;
}
.col-12 row {
padding:0;
}
}

Verze z 22. 11. 2025, 12:05

/* 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%;
}


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;
}