Template:Wn/bn/প্রধান পাতা/শৈলী.css
Appearance
/* {{Wn/bn/শৈলী পৃষ্ঠা}} */
.main_table_upper, .main_table_lower {
background: white;
padding: 0;
}
.main_table_upper {
vertical-align: top;
margin-top: .5em;
}
.main_table_lower {
vertical-align: bottom;
margin-top: .5em;
}
.main_header {
vertical-align: top;
width: 100%;
}
.mobile_header {
background-image: linear-gradient(to top, #e8f2f8, #fff);
line-height: 1.2em;
border: solid 1px #a8d7fc;
border-bottom: solid 2px #a8d7fc;
width: 100%;
}
.desktop_header {
width: 100%;
background-image: linear-gradient(to top, #e8f2f8, #fff);
border: solid 1px #a8d7fc;
}
.main_title {
background-color: #318CE7;
color: white;
font-weight: bold;
text-align: left;
border: none;
margin: 0.1em 0;
padding: 0.2em 0.4em;
font-size: 120%;
}
.main_section {
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
padding: 0;
margin: 0 -5px 0 -5px;
}
.main_box {
flex: 1;
margin: 5px;
min-width: 240px;
background: #fff;
border: 1px solid #c8ccd1;
border-radius: 0;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.lead_big, .latest_news, .lead_normal, .portal_box, .news_compilation, .news_other, .main_write, .main_about, .main_epithet {
vertical-align: top;
padding: 2px;
padding-bottom: 4px;
}
.news_compilation {
min-width: 64%;
}
.lead_big {
width: 65%;
}
.latest_news {
width: 35%;
padding-right: 2px;
}
.latest_news_box {
border: 1px solid #c8ccd1;
border-radius: 0;
padding: 2px 1px 10px 1px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
ul.latest-news-headlines {
list-style-type: none;
padding-left: 0;
margin: 0;
}
ul.latest-news-headlines li {
padding: 8px 0;
font-size: 12px;
font-weight: bold;
line-height: 1.6;
border-bottom: 1px solid #dcdcdc;
color: #3366CC;
text-decoration: none;
transition: background-color 0.3s ease;
}
ul.latest-news-headlines li:last-child {
border-bottom: none;
}
ul.latest-news-headlines li:hover {
background-color: #eef5ff;
cursor: pointer;
}
ul.latest-news-headlines a {
color: inherit;
text-decoration: none;
}
ul.latest-news-headlines a:hover {
text-decoration: underline;
}
.lead_normal {
padding: 3px 6px 3px 6px;
border-top: 1px solid #c8ccd1;
width: 32.5%;
}
.portal_box {
margin-top: 1em;
border: 2px solid black;
border-radius: 5px;
padding: 10px;
}
.main_write, .main_about, .main_epithet {
width: 33.333%;
}
.minihead {
font-size: 120%;
font-weight: bold;
}
/* Media query for responsive design */
@media screen and (max-width: 720px) {
body.skin-minerva td:not(.keep-structure),
body.skin-minerva .mp-column:not(.keep-structure),
body.skin-minerva tr:not(.keep-structure),
body.skin-minerva tbody:not(.keep-structure),
body.skin-minerva table:not(.keep-structure) {
display: block !important;
float: none !important;
width: 100% !important;
box-sizing: border-box;
}
/* Styles for elements you want to keep structured */
body.skin-minerva .keep-structure,
body.skin-minerva .keep-structure td,
body.skin-minerva .keep-structure .mp-column,
body.skin-minerva .keep-structure tr,
body.skin-minerva .keep-structure tbody,
body.skin-minerva .keep-structure table {
display: table-cell !important;
float: inherit !important;
width: auto !important;
box-sizing: inherit;
}
/* Ensure tables with keep-structure class display as tables */
body.skin-minerva table.keep-structure {
display: table !important;
}
body.skin-minerva tbody.keep-structure {
display: table-row-group !important;
}
body.skin-minerva tr.keep-structure {
display: table-row !important;
}
}
/* mobile specific styles */
@media (max-width: 719px) {
.nomobile {
display: none !important;
}
.latest_news_box {
margin: 6px 1px 10px 1px;
}
ul.latest-news-headlines li {
font-size: 15px;
padding-left: 0;
margin-left: 0;
margin-right: 4px;
}
}
/* non-mobile specific styles */
@media (min-width: 720px) {
.mobile-only {
display: none !important;
}
.latest_news_box {
margin: .5em;
}
}
/* Dark mode special */
html.skin-theme-clientpref-night .main_table_upper {
background-color: #0d1a27;
}
html.skin-theme-clientpref-night .main_table_lower {
background-color: #0d1a27;
}
html.skin-theme-clientpref-night .mobile_header {
background-image: linear-gradient(to top, #1a2635, #2c3e50);
border: solid 1px #3498db;
border-bottom: solid 2px #3498db;
}
html.skin-theme-clientpref-night .desktop_header {
background-image: linear-gradient(to top, #1a2635, #2c3e50);
border: solid 1px #3498db;
}
html.skin-theme-clientpref-night ul.latest-news-headlines li {
border-bottom: 1px solid #4a4a4a;
color: #88a3e8;
}
html.skin-theme-clientpref-night ul.latest-news-headlines li:hover {
background-color: #2c3e50;
cursor: pointer;
}
html.skin-theme-clientpref-night ul.latest-news-headlines a {
color: inherit;
}
html.skin-theme-clientpref-night .main_box {
background: #0d1a27;
background-color: #0d1a27;
border-color: #082849;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
}
html.skin-theme-clientpref-night .portal_box {
background-color: #0d1a27;
border: 2px solid #082849;
border-radius: 5px;
}