MediaWiki:Resources/landingpage.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Awight (WMF) (talk | contribs)
hide the "blue box"
some cleanup
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- MediaWiki:Resources/landingpage.css -->
<html>
<html>
<style type="text/css">
<style>
/* --- Overall layout of the landing page --- */
/**

* This CSS is responsible for the overall layout of the LP
*/
#LP-table {
#LP-table {
width: 100%;
width: 100%;
Line 17: Line 17:
}
}


/* --- Hide non-monthly capable payment methods on monthly forms */
/**
.form-monthly .not-monthly-capable {
* This CSS is used to hide the mediawiki stuff we don't want people to see.
display: none;
*/
}

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

body.mediawiki {
body.mediawiki {
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
Line 26: Line 30:
left: auto !important;
left: auto !important;
right: auto !important;
right: auto !important;
}
#footer {
background-image: none !important;
}
}
#mw-head-base {
#mw-head-base {
Line 48: Line 49:
background-image: none !important;
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 {
#footer-places {
display: none !important;
display: none;
}
div#footer #footer-icons {
float: none;
text-align: center;
}
div#footer #footer-icons li {
float: none;
display: inline-block;
}
}
</style>
</style>


<!--[if lt IE 8]>
<!--[if lt IE 8]>
<style type="text/css">
<style>
div#mw-panel {
div#mw-panel {
left: 0 !important;
left: 0 !important;
Line 66: Line 118:
<![endif]-->
<![endif]-->
</html>
</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 -->