ಟೆಂಪ್ಲೇಟ್:ಮುಖ್ಯ ಪುಟ/styles.css: ಆವೃತ್ತಿಲೆನ ನಡುತ ವ್ಯತ್ಯಾಸೊ
Content deleted Content added
No edit summary |
No edit summary ಟ್ಯಾಗ್:Reverted |
||
೧ನೇ ಸಾಲ್: | ೧ನೇ ಸಾಲ್: | ||
.mp-box { |
|||
border: 1px solid #aaa; /* all border colors overriden on specific elements */ |
|||
position: relative; |
|||
padding: 0 0.5em 0.5em; |
|||
box-sizing: border-box; |
|||
margin-top: 4px; |
|||
border-color: #ddd; |
|||
background-color: #f9f9f9; |
|||
white-space: nowrap; |
|||
} |
} |
||
.mp-bordered, |
|||
.mp-h2, |
.mp-h2, |
||
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ |
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ |
||
border: 1px solid #aaa; /* all border colors overriden on specific elements */ |
|||
border-width: 1px; |
|||
margin: 0.5em 0; |
|||
border-style: solid; |
|||
padding: 0.2em 0.4em; |
|||
font-size: 120%; |
|||
font-weight: bold; |
|||
font-family: inherit; |
|||
} |
} |
||
.mp-later { |
|||
font-size: 85%; |
|||
.mp-h2, |
|||
font-weight: normal; |
|||
#mp-left { |
|||
} |
|||
color: #000; |
|||
#mp-topbanner { |
|||
background: #f9f9f9; |
|||
border-color: #ddd; |
|||
} |
} |
||
#mp-welcomecount { |
#mp-welcomecount { |
||
margin: 0.4em; |
|||
width: 22em; |
|||
text-align: center; |
text-align: center; |
||
margin: 0.4em; |
|||
} |
} |
||
೩೦ನೇ ಸಾಲ್: | ೩೩ನೇ ಸಾಲ್: | ||
font-size: 162%; |
font-size: 162%; |
||
padding: 0.1em; |
padding: 0.1em; |
||
} |
|||
#mp-welcome h1 { |
|||
font-size: inherit; |
|||
font-family: inherit; |
|||
display: inline; |
|||
border: none; |
|||
} |
} |
||
೪೦ನೇ ಸಾಲ್: | ೫೦ನೇ ಸಾಲ್: | ||
} |
} |
||
/* clear fix */ |
|||
#mp-portals { |
|||
.mp-contains-float::after { |
|||
position: absolute; |
|||
content: ""; |
|||
right: -1em; |
|||
display: block; |
|||
top: 50%; |
|||
clear: both; |
|||
margin-top: -2.4em; |
|||
width: 38%; |
|||
min-width: 25em; |
|||
font-size: 95%; |
|||
} |
|||
#mp-portals li { |
|||
position: absolute; |
|||
left: 0; |
|||
top: 0; |
|||
} |
|||
#mp-portals .portal-hmid { |
|||
left: 33%; |
|||
} |
|||
#mp-portals .portal-hright { |
|||
left: 66%; |
|||
} |
|||
#mp-portals .portal-vmid { |
|||
top: 1.6em; |
|||
} |
|||
#mp-portals .portal-vbot { |
|||
top: 3.2em; |
|||
} |
|||
#mp-portals li:last-child { |
|||
font-weight: bold; |
|||
} |
} |
||
#mp-banner { |
#mp-banner { |
||
background: #fffaf5; |
|||
margin-top: 4px; |
|||
padding: 0.5em; |
|||
background-color: #fffaf5; |
|||
border-color: #f2e0ce; |
border-color: #f2e0ce; |
||
} |
|||
.mp-h2, |
|||
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ |
|||
margin: 0.5em; |
|||
padding: 0.2em 0.4em; |
|||
font-size: 120%; |
|||
font-weight: bold; |
|||
font-family: inherit; |
|||
} |
|||
h2.mp-h2::after { /* Remove borders in Timeless */ |
|||
border: none; |
|||
} |
|||
.mp-later { |
|||
font-size: 85%; |
|||
font-weight: normal; |
|||
} |
|||
#mp-upper { |
|||
width: 100%; |
|||
margin-top: 4px; |
|||
margin-bottom: 0; |
|||
border-spacing: 0; |
|||
border-collapse: separate; |
|||
} |
|||
#mp-upper .mid-table { |
|||
border-color: transparent; |
|||
} |
} |
||
#mp-left { |
#mp-left { |
||
background: #f5fffa; |
|||
width: 55%; |
|||
border-color: #cef2e0; |
border-color: #cef2e0; |
||
background: #f5fffa; |
|||
} |
} |
||
#mp- |
#mp-left .mp-h2 { |
||
background: #cef2e0; |
|||
width: 45%; |
|||
border-color: #a3bfb1; |
|||
background: #f5faff; |
|||
} |
} |
||
#mp-left, |
|||
#mp-right { |
#mp-right { |
||
background: #f5faff; |
|||
border-color: #cedff2; |
|||
} |
|||
#mp-left .mp-h2 { |
|||
background: #cef2e0; |
|||
border-color: #a3bfb1; |
|||
} |
} |
||
೧೩೯ನೇ ಸಾಲ್: | ೮೦ನೇ ಸಾಲ್: | ||
background: #cedff2; |
background: #cedff2; |
||
border-color: #a3b0bf; |
border-color: #a3b0bf; |
||
} |
|||
#mp-tfa, |
|||
#mp-dyk, |
|||
#mp-itn, |
|||
#mp-otd, |
|||
#mp-other-lower > div { |
|||
padding: 0.1em 0.6em; |
|||
} |
|||
#mp-dyk-h2, |
|||
#mp-otd-h2 { |
|||
clear: both; |
|||
} |
} |
||
#mp-middle { |
#mp-middle { |
||
background: #fff5fa; |
|||
margin-top: 4px; |
|||
border-color: #f2cedd; |
border-color: #f2cedd; |
||
background: #fff5fa; |
|||
} |
} |
||
#mp-middle |
#mp-middle .mp-h2 { |
||
#mp-lower, |
|||
#mp-other-lower { |
|||
overflow: auto; |
|||
} |
|||
#mp-tfl-h2 { |
|||
background: #f2cedd; |
background: #f2cedd; |
||
border-color: #bfa3af; |
border-color: #bfa3af; |
||
} |
|||
#mp-tfl { |
|||
padding: 0.3em 0.7em; |
|||
} |
} |
||
#mp-lower { |
#mp-lower { |
||
background: #faf5ff; |
|||
margin-top: 4px; |
|||
border-color: #ddcef2; |
border-color: #ddcef2; |
||
background: #faf5ff; |
|||
} |
} |
||
#mp- |
#mp-lower .mp-h2 { |
||
background: #ddcef2; |
background: #ddcef2; |
||
border-color: #afa3bf; |
border-color: #afa3bf; |
||
} |
} |
||
#mp- |
#mp-bottom { |
||
/* no background */ |
|||
margin: 0.1em 0.4em 0.6em; |
|||
} |
|||
#mp-other-lower { |
|||
padding: 0; |
|||
border-color: #e2e2e2; |
border-color: #e2e2e2; |
||
margin-top: 4px; |
|||
} |
} |
||
#mp- |
#mp-bottom .mp-h2 { |
||
#mp-otd, |
|||
#mp-other-lower { |
|||
padding-bottom: 0.5em; |
|||
} |
|||
#mp-other-lower .mp-h2 { |
|||
background: #eee; |
background: #eee; |
||
border-color: #ddd; |
border-color: #ddd; |
||
color: #222; |
|||
} |
} |
||
@media (max-width: 875px) { |
@media (max-width: 875px) { |
||
/* We need to improve Template:POTD as used on the main page so that these |
|||
* hacks aren't necessary */ |
|||
body.skin--responsive #mp-welcomecount { |
|||
#mp-tfp table, |
|||
width: auto; |
|||
#mp-tfp tr, |
|||
} |
|||
#mp-tfp td, |
|||
#mp-tfp tbody { |
|||
body.skin--responsive #mp-topbanner { |
|||
min-width: 0; |
|||
white-space: normal; |
|||
} |
|||
body.skin--responsive #mp-portals { |
|||
position: static; |
|||
width: auto; |
|||
min-width: 0; |
|||
text-align: center; |
|||
border-top: 1px solid #ddd; |
|||
padding: 0.4em 0; |
|||
margin: 0 0.4em; |
|||
} |
|||
body.skin--responsive #mp-portals li { |
|||
position: static; |
|||
display: inline; |
|||
padding: 0 5px; |
|||
white-space: nowrap; |
|||
} |
|||
body.skin--responsive table, |
|||
body.skin--responsive tr, |
|||
body.skin--responsive td, |
|||
body.skin--responsive tbody { |
|||
display: block !important; |
display: block !important; |
||
width: 100% !important; |
width: 100% !important; |
||
೨೪೫ನೇ ಸಾಲ್: | ೧೨೪ನೇ ಸಾಲ್: | ||
} |
} |
||
#mp-tfp tr:first-child td:first-child a.mw-file-description { |
|||
text-align: center; |
text-align: center; |
||
display: table; |
display: table; |
||
೨೫೨ನೇ ಸಾಲ್: | ೧೩೧ನೇ ಸಾಲ್: | ||
} |
} |
||
@media (min-width: 875px) { |
|||
/* https://phabricator.wikimedia.org/T293232 - Minerva doesn't have this style. */ |
|||
#mp-upper { |
|||
div.hlist.inline ul, |
|||
display: flex; |
|||
div.hlist.inline li, |
|||
} |
|||
div.hlist.inline { |
|||
display: inline; |
|||
#mp-left { |
|||
flex: 1 1 55%; |
|||
margin-right: 2px; |
|||
} |
|||
#mp-right { |
|||
flex: 1 1 45%; |
|||
margin-left: 2px; |
|||
} |
|||
} |
} |
೨೨:೫೮, ೧೫ ಎಪ್ರಿಲ್ ೨೦೨೪ ದಿನೊತ ಆವೃತ್ತಿ
.mp-box {
border: 1px solid #aaa; /* all border colors overriden on specific elements */
padding: 0 0.5em 0.5em;
margin-top: 4px;
}
.mp-h2,
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
border: 1px solid #aaa; /* all border colors overriden on specific elements */
margin: 0.5em 0;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
}
.mp-later {
font-size: 85%;
font-weight: normal;
}
#mp-topbanner {
background: #f9f9f9;
border-color: #ddd;
}
#mp-welcomecount {
text-align: center;
margin: 0.4em;
}
#mp-welcome {
font-size: 162%;
padding: 0.1em;
}
#mp-welcome h1 {
font-size: inherit;
font-family: inherit;
display: inline;
border: none;
}
#mp-free {
font-size: 95%;
}
#articlecount {
font-size: 85%;
}
/* clear fix */
.mp-contains-float::after {
content: "";
display: block;
clear: both;
}
#mp-banner {
background: #fffaf5;
border-color: #f2e0ce;
}
#mp-left {
background: #f5fffa;
border-color: #cef2e0;
}
#mp-left .mp-h2 {
background: #cef2e0;
border-color: #a3bfb1;
}
#mp-right {
background: #f5faff;
border-color: #cedff2;
}
#mp-right .mp-h2 {
background: #cedff2;
border-color: #a3b0bf;
}
#mp-middle {
background: #fff5fa;
border-color: #f2cedd;
}
#mp-middle .mp-h2 {
background: #f2cedd;
border-color: #bfa3af;
}
#mp-lower {
background: #faf5ff;
border-color: #ddcef2;
}
#mp-lower .mp-h2 {
background: #ddcef2;
border-color: #afa3bf;
}
#mp-bottom {
/* no background */
border-color: #e2e2e2;
}
#mp-bottom .mp-h2 {
background: #eee;
border-color: #ddd;
}
@media (max-width: 875px) {
/* We need to improve Template:POTD as used on the main page so that these
* hacks aren't necessary */
#mp-tfp table,
#mp-tfp tr,
#mp-tfp td,
#mp-tfp tbody {
display: block !important;
width: 100% !important;
box-sizing: border-box;
}
#mp-tfp tr:first-child td:first-child a.mw-file-description {
text-align: center;
display: table;
margin: 0 auto;
}
}
@media (min-width: 875px) {
#mp-upper {
display: flex;
}
#mp-left {
flex: 1 1 55%;
margin-right: 2px;
}
#mp-right {
flex: 1 1 45%;
margin-left: 2px;
}
}