Module:Wn/bn/Module:Infobox/styles.css
Content deleted Content added
Tag: Undo |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* {{Wn/bn/শৈলী পৃষ্ঠা}} */ |
/* {{Wn/bn/শৈলী পৃষ্ঠা}} */ |
||
.infobox { |
|||
/* Infobox 2.0 template style */ |
|||
border: 1px solid #a2a9b1; |
|||
/* Some of the styles are copied from BN Wikipedia's Common.css and some are from EN wikipedia's Module:Infobox/styles.css page */ |
|||
border-spacing: 3px; |
|||
/* On June 13, 2024, there was an unknown error in the infobox, causing it to display weirdly and with extra width. |
|||
background-color: #f8f9fa; |
|||
To resolve the issue, I changed the class name from 'infobox' to 'infobox2'. If BN Wikinews has its own site, |
|||
color: black; |
|||
then we can change this accordingly. -- Asked42. */ |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
float: right; |
|||
clear: right; |
|||
font-size: 88%; |
|||
line-height: 1.5em; |
|||
width: 22em; |
|||
} |
|||
. |
.infobox-subbox { |
||
padding: 0; |
padding: 0; |
||
border: none; |
border: none; |
||
Line 19: | Line 27: | ||
} |
} |
||
.infobox- |
.infobox-header, |
||
.infobox-label, |
|||
margin: auto; |
|||
.infobox-above, |
|||
.infobox-full-data, |
|||
.infobox-data, |
|||
.infobox-below, |
|||
.infobox-subheader, |
|||
.infobox-image, |
|||
.infobox-navbar, |
|||
.infobox th, |
|||
.infobox td { |
|||
vertical-align: top; |
|||
} |
} |
||
.infobox-label, |
|||
.infobox2 .navbar { |
|||
.infobox-data, |
|||
font-size: 100%; |
|||
.infobox th, |
|||
.infobox td { |
|||
text-align: left; |
|||
} |
} |
||
.infobox .infobox-above, |
|||
body.skin-minerva .infobox2-header, |
|||
.infobox .infobox-title, |
|||
body.skin-minerva .infobox2-subheader, |
|||
.infobox caption { |
|||
body.skin-minerva .infobox2-above, |
|||
font-size: 125%; |
|||
body.skin-minerva .infobox2-title, |
|||
font-weight: bold; |
|||
body.skin-minerva .infobox2-image, |
|||
body.skin-minerva .infobox2-full-data, |
|||
body.skin-minerva .infobox2-below { |
|||
text-align: center; |
text-align: center; |
||
} |
} |
||
.infobox-title, |
|||
.infobox caption { |
|||
padding: 0.2em; |
|||
} |
|||
.infobox .infobox-header, |
|||
/* Dark theme: [[William_Wragg]], [[Coral_Castle]] */ |
|||
.infobox .infobox-subheader, |
|||
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] { |
|||
.infobox .infobox-image, |
|||
background: #1f1f23 !important; |
|||
.infobox .infobox-full-data, |
|||
/* switch with var( --color-base ) when supported. */ |
|||
.infobox .infobox-below { |
|||
color: #f8f9fa; |
|||
text-align: center; |
|||
} |
} |
||
.infobox .infobox-navbar { |
|||
@media (prefers-color-scheme: dark) { |
|||
text-align: right; |
|||
html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) div:not(.notheme) { |
|||
background: #1f1f23 !important; |
|||
/* switch with var( --color-base ) when supported. */ |
|||
color: #f8f9fa; |
|||
} |
|||
} |
} |
||
.infobox.bordered { |
|||
/* Infobox template style */ |
|||
border-collapse: collapse; |
|||
.infobox2 { |
|||
} |
|||
.infobox.bordered td, |
|||
.infobox.bordered th { |
|||
border: 1px solid #a2a9b1; |
border: 1px solid #a2a9b1; |
||
border-spacing: 3px; |
|||
background-color: #f8f9fa; |
|||
color: black; |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
float: right; |
|||
clear: right; |
|||
font-size: 88%; |
|||
line-height: 1.5em; |
|||
width: 22em; |
|||
} |
} |
||
.infobox.bordered .borderless td, |
|||
.infobox2-header, |
|||
.infobox.bordered .borderless th { |
|||
.infobox2-label, |
|||
border: 0; |
|||
.infobox2-above, |
|||
} |
|||
.infobox2-full-data, |
|||
.infobox2-data, |
|||
.infobox.bordered .mergedtoprow td, |
|||
.infobox2-below, |
|||
.infobox.bordered .mergedtoprow th { |
|||
.infobox2-subheader, |
|||
border: 0; |
|||
.infobox2-image, |
|||
border-top: 1px solid #a2a9b1; |
|||
.infobox2-navbar, |
|||
border-right: 1px solid #a2a9b1; |
|||
.infobox2 th, |
|||
} |
|||
.infobox2 td { |
|||
vertical-align: top; |
|||
.infobox.bordered .mergedrow td, |
|||
.infobox.bordered .mergedrow th { |
|||
border: 0; |
|||
border-right: 1px solid #a2a9b1; |
|||
} |
|||
.infobox.geography { |
|||
border-collapse: collapse; |
|||
line-height: 1.2em; |
|||
font-size: 90%; |
|||
} |
|||
.infobox.geography td, |
|||
.infobox.geography th { |
|||
border-top: 1px solid #a2a9b1; |
|||
padding: 0.4em 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .mergedtoprow td, |
|||
.infobox.geography .mergedtoprow th { |
|||
border-top: 1px solid #a2a9b1; |
|||
padding: 0.4em 0.6em 0.2em 0.6em; |
|||
} |
|||
.infobox.geography .mergedrow td, |
|||
.infobox.geography .mergedrow th { |
|||
border: 0; |
|||
padding: 0 0.6em 0.2em 0.6em; |
|||
} |
|||
.infobox.geography .mergedbottomrow td, |
|||
.infobox.geography .mergedbottomrow th { |
|||
border-top: 0; |
|||
border-bottom: 1px solid #a2a9b1; |
|||
padding: 0 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .maptable td, |
|||
.infobox.geography .maptable th { |
|||
border: 0; |
|||
padding: 0; |
|||
} |
} |
||
.wikitable.plainrowheaders th[scope=row] { |
|||
.infobox2-label, |
|||
font-weight: normal; |
|||
.infobox2-data, |
|||
.infobox2 th, |
|||
.infobox2 td { |
|||
text-align: left; |
text-align: left; |
||
} |
} |
||
.wikitable td ul, |
|||
.infobox2 .infobox2-above, |
|||
.wikitable td ol, |
|||
.infobox2 .infobox2-title, |
|||
.wikitable td dl { |
|||
.infobox2 caption { |
|||
text-align: left; |
|||
font-weight: bold; |
|||
text-align: center; |
|||
} |
} |
||
.toc.hlist ul, |
|||
.infobox2-title, |
|||
#toc.hlist ul, |
|||
.infobox2 caption { |
|||
.wikitable.hlist td ul, |
|||
padding: 0.2em; |
|||
.wikitable.hlist td ol, |
|||
.wikitable.hlist td dl { |
|||
text-align: inherit; |
|||
} |
} |
||
table.mw-hiero-table td { |
|||
.infobox2 .infobox2-header, |
|||
vertical-align: middle; |
|||
.infobox2 .infobox2-subheader, |
|||
} |
|||
.infobox2 .infobox2-image, |
|||
.infobox2 .infobox2-full-data, |
|||
.infobox-3cols-child { |
|||
.infobox2 .infobox2-below { |
|||
margin: auto; |
|||
} |
|||
.infobox .navbar { |
|||
font-size: 100%; |
|||
} |
|||
body.skin-minerva .infobox-header, |
|||
body.skin-minerva .infobox-subheader, |
|||
body.skin-minerva .infobox-above, |
|||
body.skin-minerva .infobox-title, |
|||
body.skin-minerva .infobox-image, |
|||
body.skin-minerva .infobox-full-data, |
|||
body.skin-minerva .infobox-below { |
|||
text-align: center; |
text-align: center; |
||
} |
} |
||
html.skin-theme-clientpref-night .infobox-full-data div { |
|||
.infobox2 .infobox2-navbar { |
|||
background: #1f1f23 !important; |
|||
text-align: right; |
|||
color: #f8f9fa; |
|||
} |
|||
@media (prefers-color-scheme: dark) { |
|||
html.skin-theme-clientpref-os .infobox-full-data div { |
|||
background: #1f1f23 !important; |
|||
color: #f8f9fa; |
|||
} |
|||
} |
} |
||
Revision as of 17:16, 3 July 2024
/* {{Wn/bn/শৈলী পৃষ্ঠা}} */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
.infobox th,
.infobox td {
text-align: left;
}
.infobox .infobox-above,
.infobox .infobox-title,
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
.infobox caption {
padding: 0.2em;
}
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
.infobox .infobox-navbar {
text-align: right;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #a2a9b1;
}
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
text-align: left;
}
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
text-align: left;
}
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
table.mw-hiero-table td {
vertical-align: middle;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
html.skin-theme-clientpref-night .infobox-full-data div {
background: #1f1f23 !important;
color: #f8f9fa;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox-full-data div {
background: #1f1f23 !important;
color: #f8f9fa;
}
}
/* Imported on 13 April 2024 */