MediaWiki:Resources/landingpage.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
new css for policy and footer
some cleanup
 
Line 1: Line 1:
<!-- MediaWiki:Resources/landingpage.css -->
<html>
<html>
<style>
<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 */
/**
* Hide non-monthly capable payment methods on monthly forms
*/
.form-monthly .not-monthly-capable {
.form-monthly .not-monthly-capable {
display: none;
display: none;
}
}


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

* This CSS is used to hide the mediawiki stuff we don't want people to see.
*/
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 33: 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 55: Line 49:
background-image: none !important;
background-image: none !important;
}
}

#footer-places {
/* --- Privacy and links --- */
display: none !important;
}


#donor-policy-block {
#donor-policy-block {
Line 96: Line 89:
}
}


/* --- Footer --- */
#footer {

margin: 0 !important;
#footer-info,
}
#footer-info {
#footer-places {
display: none;
display: none;
}
}
#footer-icons {
div#footer #footer-icons {
float: none;
text-align: center !important;
text-align: center;
float: none !important;
}
}
div#footer #footer-icons li {
div#footer #footer-icons li {
float: none !important;
float: none;
display: inline-block;
display: inline-block;
text-align: center !important;
}
}
</style>
</style>
Line 126: 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 -->