Template:Lp-layout-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
m minor edits for clarity & style
Line 1: Line 1:
{{2011FR/lp-social-media
{{2011FR/lp-social-media|image=<nowiki>//upload.wikimedia.org/wikipedia/foundation/e/eb/Wikipedia-logo-Donate2.png</nowiki>|description={{Template:AppealSwitch|2011FR/{{{appeal|Appeal-default}}}|text|{{int:lang}}|{{{country|US}}}|sitename={{{sitename}}}}}}}
| image = <nowiki>//upload.wikimedia.org/wikipedia/foundation/e/eb/Wikipedia-logo-Donate2.png</nowiki>
| description = {{Template:AppealSwitch|2011FR/{{{appeal|Appeal-default}}}|text|{{int:lang}}|{{{country|US}}}|sitename={{{sitename}}}}}
}}
<html>
<html>
<script type="text/javascript">
<script type="text/javascript">
$( document ).ready( function () {
$( document ).ready( function () {
// Disable submitting form with return key
// Disable submitting form with return key
$( 'form' ).bind( 'keypress', function(e) {
$( 'form' ).bind( 'keypress', function(e) {
var code = ( e.keyCode ? e.keyCode : e.which );
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 ) return false;
if ( code == 13 ) return false;
} );
} );
} );
} );
</script>
</script>
<style type="text/css">
<style type="text/css">
#pitch {
#pitch {
height: 236px;
height: 236px;
background-image: url(</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}|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-image: url(</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}|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|{{int:lang}}}}|rtl|left|right}}<html> top;
background-position: </html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html> top;
background-repeat: no-repeat;
background-repeat: no-repeat;
background-color: #1e1e1e;
background-color: #1e1e1e;
border: 1px solid gray;
border: 1px solid gray;
border-bottom-width: 0;
border-bottom-width: 0;
}
}
#pitch-head {
#pitch-head {
width: 50%;
width: 50%;
font-size: 1.75em;
font-size: 1.75em;
line-height: 1.5em;
line-height: 1.5em;
color: white;
color: white;
margin-top: 16px;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
}
}
#pitch-body {
#pitch-body {
width: 50%;
width: 50%;
font-size: 1em;
font-size: 1em;
line-height: 1.5em;
line-height: 1.5em;
color: white;
color: white;
margin-top: 16px;
margin-top: 16px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 24px;
}
}
#LP-table{
#LP-table {
width:100%;
width:100%;
direction: </html>{{Template:Ltr-direction|{{int:lang}}}}<html>;
direction: </html>{{Template:Ltr-direction|{{int:lang}}}}<html>;
border: none;
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:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
padding-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 2em;
}
}
body.mediawiki{
body.mediawiki {
direction: </html>{{Template:Ltr-direction|{{int:lang}}}}<html> !important;
direction: </html>{{Template:Ltr-direction|{{int:lang}}}}<html> !important;
}
}
div#mw-panel{
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|{{int:lang}}}}<html> !important;
direction: </html>{{Template:Ltr-direction|{{int:lang}}}}<html> !important;
/*margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 10em;*/
/*margin-</html>{{#ifeq:{{Template:Ltr-direction|{{int:lang}}}}|rtl|left|right}}<html>: 10em;*/
}
}
div#mw-head-base {
div#mw-head-base {
background-image: none !important;
background-image: none !important;
}
}
#footer-places {

#footer-places{
display: none !important;
display: none !important;
}
}

</style>
</style>
<!--[if lt IE 8]>
<!--[if lt IE 8]>
Line 112: Line 113:
</table>
</table>
</html>
</html>
__NOTOC__<noinclude><big><b>Doc:</b></big> This template contains the CSS and HTML that hides the normal MediaWiki interface stuff and sets the over-all look for the two part layout.<noinclude>
__NOTOC__<noinclude><big><b>Doc:</b></big> This template contains the CSS and HTML that hides the normal MediaWiki interface stuff and sets the overall look for the two part layout.<noinclude>

Revision as of 22:04, 23 January 2012

Template:2011FR/Appeal-template-default Template:2011FR/Form-template-recurring

Doc: This template contains the CSS and HTML that hides the normal MediaWiki interface stuff and sets the overall look for the two part layout.