Šablona:MAIN/styles.css: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Smazaný obsah Přidaný obsah
imported>Le0 Bez shrnutí editace |
imported>Le0 Bez shrnutí editace |
||
Řádek 389: | Řádek 389: | ||
.route-icon { |
.route-icon { |
||
width: 25px; |
width: 25px; |
||
display: |
display: inline; |
||
/* white-space: normal; */ |
/* white-space: normal; */ |
||
} |
} |
Verze z 12. 2. 2020, 13:59
/* MAIN/styles.css */
/* globální CSS, nepoužíváme MediaWiki:Common.css */
/* volá se přes <templatestyles src="MAIN/styles.css" /> nebo pouze {{MAIN}}*/
/* A) MALÁ OBRAZOVKA */
@media only screen and (max-width: 768px) {
.desktop-only { /* DESKTOP or MOBILE VERSION */
display: none;
}
.content100 { /* DĚLENÍ STRÁNKY NA POLOVINY/TŘETINY/ČTVRTINY */
width: 100%;
vertical-align: top;
}
.content50 {
width: 100%;
vertical-align: top;
}
.content33 {
width: 100%;
vertical-align: top;
}
.content25 {
width: 100%;
vertical-align: top;
}
.infobox-main { /* INFOBOXY */
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
line-height: 1em;
}
.infobox-mobile-only {
width: auto;
padding: 5px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
font-weight: bold;
}
.navigbox-group { /* NAVBOXY */
width: auto;
padding: 5px;
text-align: center;
vertical-align: top;
background-color: #EEEFF1;
}
.navigbox-list {
width: auto;
padding: 5px;
text-align: left;
vertical-align: top;
}
.br {
display: inline;
}
.dot {
display: none;
}
.notification-custom { /* CUSTOM MSG */
width: 100%;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
.notification-custom-auto {
width: auto;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
}
/* B) STŘEDNÍ OBRAZOVKA */
@media only screen and (min-width: 768px) {
.mobile-only { /* DESKTOP or MOBILE VERSION */
display: none;
}
.content100 { /* DĚLENÍ STRÁNKY NA POLOVINY/TŘETINY/ČTVRTINY */
width: 100%;
vertical-align: top;
}
.content50 {
width: 50%;
vertical-align: top;
}
.content33 {
width: 33%;
vertical-align: top;
}
.content25 {
width: 100%;
vertical-align: top;
}
.infobox-main { /* INFOBOXY */
float: right;
width: 33%;
padding: 0px;
margin-left: 10px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
line-height: 1em;
}
.infobox-mobile-only {
display: none;
}
.navigbox-group { /* NAVBOXY */
width: auto;
padding: 5px;
text-align: center;
vertical-align: top;
background-color: #EEEFF1;
}
.navigbox-list {
width: auto;
padding: 5px;
text-align: left;
vertical-align: top;
}
.br {
display: none;
}
.dot {
display: inline;
}
.notification-custom { /* CUSTOM MSG */
width: 50%;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
.notification-custom-auto {
width: auto;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
}
/* C) VELKÁ OBRAZOVKA */
@media only screen and (min-width: 1200px) {
.mobile-only { /* DESKTOP or MOBILE VERSION */
display: none;
}
.content100 { /* DĚLENÍ STRÁNKY NA POLOVINY/TŘETINY/ČTVRTINY */
width: 100%;
vertical-align: top;
}
.content50 {
width: 50%;
vertical-align: top;
}
.content33 {
width: 33%;
vertical-align: top;
}
.content25 {
width: 25%;
vertical-align: top;
}
.infobox-main { /* INFOBOXY */
float: right;
width: 25%;
padding: 0px;
margin-left: 10px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
line-height: 1em;
}
.infobox-mobile-only {
display: none;
}
.navigbox-group { /* NAVBOXY */
width: 20%;
padding: 5px;
text-align: center;
vertical-align: top;
background-color: #EEEFF1;
}
.navigbox-list {
width: auto;
padding: 5px;
text-align: left;
vertical-align: top;
}
.br {
display: none;
}
.dot {
display: inline;
}
.notification-custom { /* CUSTOM MSG */
width: 50%;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
.notification-custom-auto {
width: auto;
border-style: solid;
border-width: 1px 1px 1px 8px;
}
}
/* D) VŠECHNY ROZMĚRY OBRAZOVKY */
.documentation { /* DOKUMENTACE K ŠABLONÁM */
clear: both;
width: auto;
padding: 1px 20px 20px 20px;
border-collapse: collapse;
border-spacing: 0px;
border: 3px solid #9ACDFF;
background: #CDE6FF;
}
.textleft { /* ZAROVNÁNÍ TEXTU */
text-align: left;
}
.textcenter {
text-align: center;
}
.textright {
text-align: right;
}
.clear-main { /* VYRESETOVÁNÍ FLOAT (INFOBOXY) */
width: 100%;
clear: both;
}
.clear {
width: 100%;
}
.red { /* ČERVENÉ PÍSMO */
color: red;
}
.red-underlined {
color: red;
text-decoration: line-through;
}
.infobox-data { /* INFOBOXY */
width: 100%;
vertical-align: top;
font-size: 90%;
}
.infobox-obrazek {
width: 100%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-popis_obrazku {
width: 100%;
padding: 0px;
text-align: center;
vertical-align: top;
font-size: 90%;
}
.infobox-add_image {
width: 100%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-vlajka-main {
text-align: center;
}
.infobox-vlajka {
width: 27.5%;
height: 50%;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-vlajka-small {
width: 14.25%;
height: 50%;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-vlajka-horizontalne {
width: 100%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-vlajka-small-horizontalne {
width: 50%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-skin {
width: 100%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
}
.infobox-content-left {
width: 50%;
vertical-align: top;
}
.infobox-content-right {
width: 50%;
vertical-align: top;
}
.infobox-content-center {
width: 100%;
text-align: center;
vertical-align: top;
}
.infobox-footnote {
width: 100%;
padding: 0px;
text-align: right;
caption-side: bottom;
vertical-align: bottom;
font-size: 60%;
color: #AAAAAA;
}
.navigbox-main { /* NAVBOXY */
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
line-height: 1em;
}
.navigbox-data {
width: 100%;
padding: 2px;
}
.navigbox-footnote {
min-width: 40px;
padding: 0px;
text-align: right;
caption-side: bottom;
vertical-align: bottom;
font-size: 60%;
color: #AAAAAA;
}
.map-frame { /* MAPA */
width: 100%;
padding: 0px;
text-align: center;
vertical-align: top;
position: relative;
}
.map-general {
width: 100%;
height: auto;
padding: 0px;
text-align: center;
vertical-align: top;
position: relative;
}
.map-reset {
position: absolute;
}
.route-main { /* ROUTE */
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
font-size: 90%;
text-align: left;
}
.route-frame {
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
border: 1px solid #A2A9B1;
background: #F8F9FA;
font-size: 90%;
}
.route-head {
padding: 5px;
font-weight: bold;
text-align: center;
}
.route-icon {
width: 25px;
display: inline;
/* white-space: normal; */
}
.route-none {
width: 0px;
}
.route-text {
text-align: left;
padding-left:10px;
}