r109292 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109291‎ | r109292 | r109293 >
Date:02:51, 18 January 2012
Author:yuvipanda
Status:ok
Tags:
Comment:
Update with new HTML from Brandon
Modified paths:
  • /trunk/extensions/CongressLookup/SpecialCongressLookup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/SpecialCongressLookup.php
@@ -47,55 +47,69 @@
4848
4949 // Output beginning of the page
5050 $htmlOut .= <<<HTML
 51+
 52+
5153 <!DOCTYPE html>
5254 <html lang="en" dir="ltr" class="client-nojs">
5355 <head>
5456 <title>Wikipedia, the free encyclopedia</title>
5557 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 58+<meta http-equiv="Content-Style-Type" content="text/css" />
5659 <meta name="generator" content="MediaWiki 1.18wmf1" />
5760 <style type="text/css">
5861 body {
59 - color: white;
 62+ color: #dedede;
6063 margin: 2em;
61 - font-family: arial, sans-serif;
62 - font-size: 15px;
 64+ font-family:Times New Roman;
6365 background: black url('//upload.wikimedia.org/wikipedia/commons/9/98/WP_SOPA_Splash_Full.jpg') no-repeat 0 0;
6466 }
 67+h3{
 68+ font-size: 1.5em;
 69+ text-align:center;
 70+ margin-bottom: 0.5em;
 71+ color: #ffffff;
 72+ font-weight: bold;
 73+}
 74+
 75+h4 {
 76+ font-weight: bold;
 77+ color: #ffffff;
 78+}
6579 a:link, a:visited {
66 - color: #28a6b1;
 80+ color: #dedede;
6781 }
6882 a:hover, a:active {
69 - color: #999999;
 83+ color: #ffffff;
7084 }
7185 div#everything {
7286 width: 920px;
7387 margin: 0 auto;
7488 }
7589 div#instructions {
76 - float:left;
 90+ position: absolute;
 91+ top: 67px;
 92+ left: 420px;
7793 text-align: left;
78 - width: 580px;
79 - background-color: #202020;
80 - padding: 5px 20px 20px 20px;
81 - filter:alpha(opacity=90);
82 - -moz-opacity:0.90;
83 - -khtml-opacity: 0.90;
84 - opacity: 0.90;
 94+ width: 500px;
 95+ padding-bottom: 30px;
8596 }
 97+div#instructions p {
 98+ text-align:justify;
 99+}
86100 div#contacts {
87 - float:left;
88 - width: 259px;
89 - padding: 5px 20px;
 101+ position: absolute;
 102+ top: 400px;
 103+ left: 50px;
 104+ width: 330px;
 105+
90106 }
91107 table.person {
92108 margin-bottom: 1em;
 109+ margin-left: 20px;
93110 border: none;
94 - border-collapse:collapse;
95 - color: #CCCCCC;
96111 }
97112 table.person td.name {
98113 font-weight: bold;
99 - color: white;
100114 }
101115 p {
102116 margin: 1em 0;
@@ -103,7 +117,8 @@
104118 p.quote {
105119 font-family: georgia, serif;
106120 font-size: 14px;
107 - color: #CCCCCC;
 121+ color: #cccccc;
 122+ margin-left: 20px;
108123 }
109124 h3 {
110125 font-weight: normal;
@@ -113,41 +128,41 @@
114129 font-weight: normal;
115130 font-size: 17px;
116131 }
117 -.sopaActionDiv {
118 - margin-bottom: 1em;
 132+.sopaBigHeadline {
 133+ font-size: 1.5em;
 134+ margin-bottom: 0.5em;
119135 }
120 -p.error {
121 - color: red;
 136+.sopaSectionHeadline {
 137+ font-size: 1.2em;
 138+ margin-bottom: 0.2em;
122139 }
123 -p.note {
124 - font-size: 12px;
125 - font-style: italic;
126 -}
127140 </style>
128141 </head>
129142 <body>
130143 <div id="everything">
131144 <div id="instructions">
132 - <h3>Take action to stop SOPA and PIPA, the internet blacklist bills</h3>
 145+ <div class="sopaBigHeadline">Take action to stop SOPA and PIPA, the internet blacklist bills</div>
133146 <p>
134147 For maximum impact, please consider calling your US Representative and US Senators and explain that you are a constituent and that you oppose these bills and similar future legislation.
135148 </p>
136 -
137 - <h4>Things you may want to say to your Senator or Representative</h4>
 149+
 150+ <div class="sopaSectionHeadline">Things you may want to say to your Senator or Representative</div>
138151 <p class="quote">
139 - “As one of your concerned constituents, I urge you to oppose SOPA (<a href="http://hdl.loc.gov/loc.uscongress/legislation.112hr3261">H.R.3261</a>) and PIPA (<a href="http://hdl.loc.gov/loc.uscongress/legislation.112s968">S.968</a>) or any future bill that would censor free speech and damage the security of the Internet.”
 152+ “As one of your concerned constituents, I urge you to oppose SOPA and PIPA or any future bill that would censor free speech and damage the security of the Internet.”
140153 </p>
141 -
142 - <h4>Regarding Censorship</h4>
 154+
 155+ <div class="sopaSectionHeadline">Regarding Censorship</div>
143156 <p class="quote">
144157 “The Internet has become an important communications tool allowing the free flow of ideas. As introduced in the House and the Senate, SOPA and PIPA would give the Justice Department and courts tremendous power to shut down entire sites. These bills ignore the principles of the First Amendment that require tailored solutions in lieu of across-the-board censorship. Unfortunately these bills represent terrible precedents for the United States and the world.”
145158 </p>
146159
147 - <p>
148 - If you'd like to learn even more about SOPA/PIPA, <a href="https://www.mediawiki.org//en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Learn_more" target="_blank">click here</a>.
 160+ <div class="sopaSectionHeadline">Regarding Cybersecurity</div>
 161+ <p class="quote">
 162+ “A safe and secure Web is vital to our privacy, our access to free knowledge, and to commerce. Hundreds of established authorities on the Internet believe that the required blocking of Internet sites in SOPA and PIPA is badly thought out and threatens Internet security.”
149163 </p>
150164 </div>
151165 <div id="contacts">
 166+
152167
153168 HTML;
154169

Status & tagging log