Szablon:Main-page.css: Różnice pomiędzy wersjami
Wygląd
[wersja nieprzejrzana] | [wersja nieprzejrzana] |
Usunięta treść Dodana treść
style dla nowej SG |
takie tam |
||
Linia 49: | Linia 49: | ||
} |
} |
||
#main-page #main-page-content h2 { |
#main-page #main-page-content h2 { |
||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="350"><defs><linearGradient id="g1"><stop stop-color="%23c2dfff" offset="0%"/><stop stop-color="white" offset="350"/></linearGradient></defs><rect x="0" y="0" width="357" height="25" rx="7" ry="12" style="fill: url(%23g1);"/></svg>'); |
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="350" style="background: white;"><defs><linearGradient id="g1"><stop stop-color="%23c2dfff" offset="0%"/><stop stop-color="white" offset="350"/></linearGradient></defs><rect x="0" y="0" width="357" height="25" rx="7" ry="12" style="fill: url(%23g1);"/></svg>'); |
||
} |
} |
||
#main-page #main-page-footer h2 { |
#main-page #main-page-footer h2 { |
||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="100%"><rect x="0" y="0" width="100%" height="25" rx="7" ry="12" style="fill: %23c6fec8;"/></svg>'); |
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="100%" style="background: white;"><rect x="0" y="0" width="100%" height="25" rx="7" ry="12" style="fill: %23c6fec8;"/></svg>'); |
||
} |
} |
||
Linia 101: | Linia 101: | ||
} |
} |
||
#main-page .main-page-threecol p { |
#main-page #main-page-wikimedia .main-page-threecol p { |
||
width: 33%; |
width: 33%; |
||
float: left; |
float: left; |
||
Linia 107: | Linia 107: | ||
padding: 1em |
padding: 1em |
||
} |
} |
||
#main-page .main-page-threecol p img { |
#main-page #main-page-wikimedia .main-page-threecol p img { |
||
float: left; |
float: left; |
||
margin-right: 1em |
margin-right: 1em |
||
} |
|||
#main-page #main-page-wikimedia div { |
|||
clear: both; |
|||
} |
|||
/* IE6 */ |
|||
* html #main-page #main-page-column1, |
|||
* html #main-page #main-page-column2 { |
|||
width: 43%; |
|||
} |
|||
#main-page #main-page-wikimedia .main-page-threecol p { |
|||
width: 30%; |
|||
} |
} |
Wersja z 21:36, 30 maj 2013
/* Header */
#main-page #main-page-header {
background: url("//upload.wikimedia.org/wikipedia/commons/3/3e/MP-open-book4.png") -20px -15px no-repeat;
border: 1px solid #c5c5c5;
border-radius: 1em;
font-size: 1.1em;
padding: 5px 15px 0px;
}
#main-page #main-page-welcome { display: block; }
#main-page #main-page-header strong { font-size: 1.2em; }
#main-page #main-page-header #main-page-welcome strong { font-size: 1.8em; }
#main-page #main-page-intro {
float: left;
width: 60%;
}
#main-page #main-page-portals {
float: right;
width: 40%;
text-align: center;
}
#main-page #main-page-wiki-events {
clear: both;
text-align: center;
border-top: 1px solid #c5c5c5;
}
#main-page #main-page-portals span {
display: block;
margin-bottom: .5em;
}
/* Content styles */
#main-page #main-page-content {
padding-top: 1em;
}
#main-page #main-page-content h2,
#main-page #main-page-footer h2 {
background: left center no-repeat;
padding: .15em .5em;
border: 0;
font-size: 1.3em;
font-weight: bold;
clear: both;
}
#main-page #main-page-content h2 {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="350" style="background: white;"><defs><linearGradient id="g1"><stop stop-color="%23c2dfff" offset="0%"/><stop stop-color="white" offset="350"/></linearGradient></defs><rect x="0" y="0" width="357" height="25" rx="7" ry="12" style="fill: url(%23g1);"/></svg>');
}
#main-page #main-page-footer h2 {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="25" wifth="100%" style="background: white;"><rect x="0" y="0" width="100%" height="25" rx="7" ry="12" style="fill: %23c6fec8;"/></svg>');
}
/* Minor adjustments */
#main-page #main-page-content h2 {
margin-left: -.2em;
}
#main-page #main-page-footer h2 {
margin-left: -.2em;
margin-right: -.2em;
}
#main-page #main-page-didyouknow h2,
#main-page #main-page-featured-article h2,
#main-page #main-page-footer h2 {
margin-top: -.5em; /* negate the padding */
}
/* Columns */
#main-page #main-page-column1,
#main-page #main-page-column2,
#main-page #main-page-footer .section {
margin-bottom: 1em;
border-width: 1px;
border-style: solid;
border-radius: 1em;
padding: 1em;
}
#main-page #main-page-column1,
#main-page #main-page-column2 { border-color: #a7d7f9; }
#main-page #main-page-footer .section { border-color: #a7f9ab; }
#main-page #main-page-column1,
#main-page #main-page-column2 {
box-sizing: border-box;
width: 49.5%;
}
#main-page #main-page-column1 { float: left; }
#main-page #main-page-column2 { float: right; }
/* Footer */
#main-page #main-page-footer {
clear: both;
}
#main-page #main-page-wikimedia .main-page-threecol p {
width: 33%;
float: left;
box-sizing: border-box;
padding: 1em
}
#main-page #main-page-wikimedia .main-page-threecol p img {
float: left;
margin-right: 1em
}
#main-page #main-page-wikimedia div {
clear: both;
}
/* IE6 */
* html #main-page #main-page-column1,
* html #main-page #main-page-column2 {
width: 43%;
}
#main-page #main-page-wikimedia .main-page-threecol p {
width: 30%;
}