ಟೆಂಪ್ಲೇಟ್:ಮುಖ್ಯ ಪುಟ/styles.css: ಆವೃತ್ತಿಲೆನ ನಡುತ ವ್ಯತ್ಯಾಸೊ

Content deleted Content added
No edit summary
No edit summary
೧ನೇ ಸಾಲ್:
#.mp-topbannerbox {
border: 1px solid #aaa; /* all border colors overriden on specific elements */
position: relative;
padding: 0 0.5em 0.5em;
box-sizing: border-box;
minmargin-widthtop: 47em4px;
border-color: #ddd;
background-color: #f9f9f9;
white-space: nowrap;
}
 
.mp-bordered,
.mp-h2,
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-topbanner,later {
font-size: 85%;
.mp-h2,
font-weight: normal;
#mp-left {
}
color: #000;
 
#mp-topbanner {
background: #f9f9f9;
border-color: #ddd;
}
 
#mp-welcomecount {
margin: 0.4em;
width: 22em;
text-align: center;
margin: 0.4em;
}
 
Line ೩೦ ⟶ ೩೩:
font-size: 162%;
padding: 0.1em;
}
 
#mp-welcome h1 {
font-size: inherit;
font-family: inherit;
display: inline;
border: none;
}
 
Line ೪೦ ⟶ ೫೦:
}
 
/* 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 {
background: #fffaf5;
margin-top: 4px;
padding: 0.5em;
background-color: #fffaf5;
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 {
background: #f5fffa;
width: 55%;
border-color: #cef2e0;
background: #f5fffa;
}
 
#mp-rightleft .mp-h2 {
background: #cef2e0;
width: 45%;
border-color: #cedff2a3bfb1;
background: #f5faff;
}
 
#mp-left,
#mp-right {
paddingbackground: 0#f5faff;
verticalborder-aligncolor: top#cedff2;
}
 
#mp-left .mp-h2 {
background: #cef2e0;
border-color: #a3bfb1;
}
 
Line ೧೩೯ ⟶ ೮೦:
background: #cedff2;
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 {
background: #fff5fa;
margin-top: 4px;
border-color: #f2cedd;
background: #fff5fa;
}
 
#mp-middle, .mp-h2 {
#mp-lower,
#mp-other-lower {
overflow: auto;
}
 
#mp-tfl-h2 {
background: #f2cedd;
border-color: #bfa3af;
}
 
#mp-tfl {
padding: 0.3em 0.7em;
}
 
#mp-lower {
background: #faf5ff;
margin-top: 4px;
border-color: #ddcef2;
background: #faf5ff;
}
 
#mp-tfplower .mp-h2 {
background: #ddcef2;
border-color: #afa3bf;
}
 
#mp-tfpbottom {
/* no background */
margin: 0.1em 0.4em 0.6em;
}
 
#mp-other-lower {
padding: 0;
border-color: #e2e2e2;
margin-top: 4px;
}
 
#mp-dyk,bottom .mp-h2 {
#mp-otd,
#mp-other-lower {
padding-bottom: 0.5em;
}
 
#mp-other-lower .mp-h2 {
background: #eee;
border-color: #ddd;
color: #222;
}
 
@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;
width: 100% !important;
Line ೨೪೫ ⟶ ೧೨೪:
}
 
body.skin--responsive #mp-tfp tr:first-child td:first-child a.mw-file-description {
text-align: center;
display: table;
Line ೨೫೨ ⟶ ೧೩೧:
}
 
@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;
}
}