MediaWiki:Resources/landingpage.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
Created page with "→‎* Test Comment *: #test { color: #000000; }"
 
some cleanup
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- MediaWiki:Resources/landingpage.css -->
/** Test Comment **/
<html>
<style>
/* --- Overall layout of the landing page --- */


#test {
#LP-table {
color: #000000;
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 -->

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 -->