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
Pgehres (WMF) (talk | contribs)
updating with CSS from Template:Lp-layout-default
Line 1: Line 1:
<html><style type="text/css">
<html>
<style type="text/css">
/**
#pitch {
* This CSS is responsible for the overall layout of the LP
height: 236px;
*/
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>);
#LP-table {
background-position: </html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|left|right}}<html> top;
width: 100%;
background-repeat: no-repeat;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html>;
background-color: #1e1e1e;
border: none;
border: 1px solid gray;
border-bottom-width: 0;
}
}
#pitch-head {
#form-wrapper {
width: 50%;
font-size: 1.75em;
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;
}
#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{
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{
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
}
}


/**
div#mw-panel{
* This CSS is used to hide the mediawiki stuff we don't want people to see.
*/
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;
}
}

#footer {
#footer {
background-image: none !important;
background-image: none !important;
}
}

#mw-head-base {
#mw-head-base {
height: 1em !important;
height: 1em !important;
}
}

#mw-panel div.portal {
#mw-panel div.portal {
display: none !important;
display: none !important;
}
}

#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
#p-namespaces, #p-views, #p-cactions, #p-search, #p-personal, #catlinks, #firstHeading, #contentSub, #siteSub {
display: none;
display: none;
}
}

div#content {
div#content {
background-color: transparent !important;
background-color: transparent !important;
background-image: none !important;
background-image: none !important;
direction: </html>{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}<html> !important;
direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{#ifeq:{{{uselang|}}}||{{int:lang}}|{{{uselang}}}}}}}|rtl|right|left}}<html>: 10em;
}
}
div#mw-head-base {
background-image: none !important;
}
#footer-places {
display: none !important;
}
</style>


<!--[if lt IE 8]>
div#mw-head-base {
<style type="text/css">
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></html>
</style>
<![endif]-->
</html>

Revision as of 22:03, 21 March 2012

<html>
<style type="text/css">
/**
  * This CSS is responsible for the overall layout of the LP
  */
#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;
}

/**
  * This CSS is used to hide the mediawiki stuff we don't want people to see. 
  */
body.mediawiki {
  direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
div#mw-panel {
  left: auto !important;
  right: auto !important;
}
#footer {
  background-image: none !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 {
  display: none;
}
div#content {
  background-color: transparent !important;
  background-image: none !important;
  direction: </html>{{Template:2012FR/Switch/Ltr-direction|{{int:lang}}}}<html> !important;
}
div#mw-head-base {
  background-image: none !important;
}
#footer-places {
  display: none !important;
}
</style>

<!--[if lt IE 8]>
<style type="text/css">
div#mw-panel {
  left: 0 !important;
  right: auto !important;
}
body.rtl div#mw-panel {
  left: auto !important;
  right: 0 !important;
}
</style>
<![endif]-->
</html>