MediaWiki:Resources/landingpage.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
some cleanup
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- MediaWiki:Resources/landingpage.css -->
<includeonly><html><style type="text/css"></includeonly>
<html>
#pitch {
<style>
height: 236px;
/* --- Overall layout of the landing page --- */
background-image: url(</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|<html>//upload.wikimedia.org/wikipedia/foundation/9/9a/Jimmy_Appeal_2009-flipped.jpg</html>|<html>//upload.wikimedia.org/wikipedia/foundation/d/dc/Jimmy_Appeal_2009.jpg</html>}}<html>);

background-position: </html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|left|right}}<html> top;
#LP-table {
background-repeat: no-repeat;
width: 100%;
background-color: #1e1e1e;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html>;
border: 1px solid gray;
border-bottom-width: 0;
border: none;
}
#pitch-head {
width: 50%;
font-size: 1.75em;
line-height: 1.5em;
color: white;
margin-top: 16px;
margin-</html>{{#feq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 24px;
}
#pitch-body {
width: 50%;
font-size: 1em;
line-height: 1.5em;
color: white;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 24px;
}
#LP-table{
width:100%;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html>;
border: none;
}
}
#form-wrapper{
#form-wrapper {
vertical-align: top;
vertical-align: top;
}
}
#appeal-wrapper{
#appeal-wrapper {
vertical-align: top;
vertical-align: top;
padding-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
padding-right: 2em;
}
}

body.mediawiki{
/* --- Hide non-monthly capable payment methods on monthly forms */
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
.form-monthly .not-monthly-capable {
display: none;
}
}


/* --- Hide default MediaWiki stuff we don't want --- */
div#mw-panel{

body.mediawiki {
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
div#mw-panel {
left: auto !important;
left: auto !important;
right: auto !important;
right: auto !important;
}
#mw-head-base {
height: 1em !important;
}
#mw-panel div.portal {
display: none !important;
}
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub, #jump-to-nav {
display: none;
}
div#content {
background-color: transparent !important;
background-image: none !important;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
border: none;
}
div#mw-head-base {
background-image: none !important;
}
}


/* --- Privacy and links --- */
#footer {

background-image: none !important;
#donor-policy-block {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
text-align: center;
font-size: 0.75em;
line-height: 1.1;
padding: 1.8em 15% .7em;
}
}


#donor-policy-block #cancel-monthly {
#mw-head-base {
height: 1em !important;
margin-top: 1em;
}
}


#donate-links-block {
#mw-panel div.portal {
-moz-box-sizing: border-box;
display: none !important;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
padding: 1em 15% 0;
}
}


.form-info-links {
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
display: none;
list-style: none;
width: 100%;
display: block;
font-size: .8em;
text-align: center;
}
.form-info-links li {
width: auto;
display: inline-block;
padding: 0 1em;
margin: 0 auto;
}
}


/* --- Footer --- */
div#content {

background-color: transparent !important;
#footer-info,
background-image: none !important;
#footer-places {
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
display: none;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 10em;
}
}
div#footer #footer-icons {
float: none;
text-align: center;
}
div#footer #footer-icons li {
float: none;
display: inline-block;
}
</style>


<!--[if lt IE 8]>
div#mw-head-base {
<style>
background-image: none !important;
div#mw-panel {
left: 0 !important;
right: auto !important;
}
body.rtl div#mw-panel {
left: auto !important;
right: 0 !important;
}
}
</style>
<includeonly></style></html></includeonly>
<![endif]-->
</html>
<!-- End of MediaWiki:Resources/landingpage.css -->

Latest revision as of 16:51, 6 January 2015

<!-- MediaWiki:Resources/landingpage.css -->
<html>
<style>
/* --- Overall layout of the landing page --- */

#LP-table {
  width: 100%;
  direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html>;
  border: none;
}
#form-wrapper {
  vertical-align: top;
}
#appeal-wrapper {
  vertical-align: top;
  padding-</html>{{#ifeq:{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
}

/* --- Hide non-monthly capable payment methods on monthly forms */
.form-monthly .not-monthly-capable {
    display: none;
}

/* --- Hide default MediaWiki stuff we don't want --- */

body.mediawiki {
  direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
div#mw-panel {
  left: auto !important;
  right: auto !important;
}
#mw-head-base {
  height: 1em !important;
}
#mw-panel div.portal {
  display: none !important;
}
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub, #jump-to-nav {
  display: none;
}
div#content {
  background-color: transparent !important;
  background-image: none !important;
  direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
  border: none;
}
div#mw-head-base {
  background-image: none !important;
}

/* --- Privacy and links --- */

#donor-policy-block {
  -moz-box-sizing:    border-box;
  -webkit-box-sizing: border-box;
  box-sizing:         border-box;
  width: 100%;
  text-align: center;
  font-size: 0.75em;
  line-height: 1.1;
  padding: 1.8em 15% .7em;
}

#donor-policy-block #cancel-monthly {
  margin-top: 1em;
}

#donate-links-block {
  -moz-box-sizing:    border-box;
  -webkit-box-sizing: border-box;
  box-sizing:         border-box;
  width: 100%;
  padding: 1em 15% 0;
}

.form-info-links {
  list-style: none;
  width: 100%;
  display: block;
  font-size: .8em;
  text-align: center;
}
.form-info-links li {
  width: auto;
  display: inline-block;
  padding: 0 1em;
  margin: 0 auto;
}

/* --- Footer --- */

#footer-info,
#footer-places {
  display: none;
}
div#footer #footer-icons {
  float: none;
  text-align: center;
}
div#footer #footer-icons li {
  float: none;
  display: inline-block;
}
</style>

<!--[if lt IE 8]>
<style>
div#mw-panel {
  left: 0 !important;
  right: auto !important;
}
body.rtl div#mw-panel {
  left: auto !important;
  right: 0 !important;
}
</style>
<![endif]-->
</html>
<!-- End of MediaWiki:Resources/landingpage.css -->