Skip to content

Commit

Permalink
Fix CSS minification
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Apr 6, 2011
1 parent e78429e commit 3fc8acc
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 75 deletions.
2 changes: 0 additions & 2 deletions common/middleware.py
Expand Up @@ -14,8 +14,6 @@ def process_response(self, request, response):
if char not in ' ' or new_content[-1] not in ' ' or in_pre:
new_content += char
response.content = new_content
elif response['content-type'].startswith('text/css'):
response.content = response.content.replace(' ', '').replace('\n', '').replace('\t', '')
elif response['content-type'].startswith('application/javascript'):
new_content = ''
for char in response.content:
Expand Down
146 changes: 73 additions & 73 deletions static/phone.css
@@ -1,219 +1,219 @@
img {
max-width: 100%;
max-width: 100%;
}

img.small {
max-width: 10%;
max-height: 10%;
max-width: 10%;
max-height: 10%;
}

body, html {
max-width: 100;
max-width: 100;
}

#body {
margin-top: 10px;
margin-top: 10px;
}

/*******************************
* Syntax coloration for zCode *
*******************************/
.linenodiv {
display: none;
display: none;
}
.code2 .hll {
background-color:#FFC;
background-color:#FFC;
}
.code2 .c {
color:#408080;font-style:italic;
color:#408080;font-style:italic;
}
.code2 .err {
border:1px solid #F00;
border:1px solid #F00;
}
.code2 .k {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .o {
color:#666;
color:#666;
}
.code2 .cm {
color:#408080;font-style:italic;
color:#408080;font-style:italic;
}
.code2 .cp {
color:#BC7A00;
color:#BC7A00;
}
.code2 .c1 {
color:#408080;font-style:italic;
color:#408080;font-style:italic;
}
.code2 .cs {
color:#408080;font-style:italic;
color:#408080;font-style:italic;
}
.code2 .gd {
color:#A00000;
color:#A00000;
}
.code2 .ge {
font-style:italic;
font-style:italic;
}
.code2 .gr{
color:#F00;
color:#F00;
}
.code2 .gh {
color:#000080;font-weight:bold;
color:#000080;font-weight:bold;
}
.code2 .gi {
color:#00A000;
color:#00A000;
}
.code2 .go {
color:#808080;
color:#808080;
}
.code2 .gp {
color:#000080;font-weight:bold;
color:#000080;font-weight:bold;
}
.code2 .gs {
font-weight:bold;
font-weight:bold;
}
.code2 .gu {
color:#800080;font-weight:bold;
color:#800080;font-weight:bold;
}
.code2 .gt {
color:#0040D0;
color:#0040D0;
}
.code2 .kc {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .kd {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .kn {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .kp {
color:#008000;
color:#008000;
}
.code2 .kr {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .kt {
color:#B00040;
color:#B00040;
}
.code2 .m {
color:#666;
color:#666;
}
.code2 .s {
color:#BA2121;
color:#BA2121;
}
.code2 .na {
color:#7D9029;
color:#7D9029;
}
.code2 .nb {
color:#008000;
color:#008000;
}
.code2 .nc {
color:#00F;font-weight:bold;
color:#00F;font-weight:bold;
}
.code2 .no {
color:#800;
color:#800;
}
.code2 .nd {
color:#A2F;
color:#A2F;
}
.code2 .ni {
color:#999;font-weight:bold;
color:#999;font-weight:bold;
}
.code2 .ne {
color:#D2413A;font-weight:bold;
color:#D2413A;font-weight:bold;
}
.code2 .nf {
color:#00F;
color:#00F;
}
.code2 .nl {
color:#A0A000;
color:#A0A000;
}
.code2 .nn {
color:#00F;font-weight:bold;
color:#00F;font-weight:bold;
}
.code2 .nt {
color:#008000;font-weight:bold;
color:#008000;font-weight:bold;
}
.code2 .nv {
color:#19177C;
color:#19177C;
}
.code2 .ow {
color:#A2F;font-weight:bold;
color:#A2F;font-weight:bold;
}
.code2 .w {
color:#BBB;
color:#BBB;
}
.code2 .mf {
color:#666;
color:#666;
}
.code2 .mh {
color:#666;
color:#666;
}
.code2 .mi {
color:#666;
color:#666;
}
.code2 .mo {
color:#666;
color:#666;
}
.code2 .sb {
color:#BA2121;
color:#BA2121;
}
.code2 .sc {
color:#BA2121;
color:#BA2121;
}
.code2 .sd {
color:#BA2121;font-style:italic;
color:#BA2121;font-style:italic;
}
.code2 .s2 {
color:#BA2121;
color:#BA2121;
}
.code2 .se {
color:#B62;font-weight:bold;
color:#B62;font-weight:bold;
}
.code2 .sh {
color:#BA2121;
color:#BA2121;
}
.code2 .si {
color:#B68;font-weight:bold;
color:#B68;font-weight:bold;
}
.code2 .sx {
color:#008000;
color:#008000;
}
.code2 .sr {
color:#B68;
color:#B68;
}
.code2 .s1 {
color:#BA2121;
color:#BA2121;
}
.code2 .ss {
color:#19177C;
color:#19177C;
}
.code2 .bp {
color:#008000;
color:#008000;
}
.code2 .vc {
color:#19177C;
color:#19177C;
}
.code2 .vg {
color:#19177C;
color:#19177C;
}
.code2 .vi {
color:#19177C;
color:#19177C;
}
.code2 .il {
color:#666;
color:#666;
}
.citation, .spoiler_hidden {
border: solid 1px black;
border-bottom: 0;
border: solid 1px black;
border-bottom: 0;
}
.citation2, .spoiler3_hidden {
border: solid 1px black;
padding: 2px;
border: solid 1px black;
padding: 2px;
}

.message_edite {
font-size: 0.8em;
text-align: right;
font-size: 0.8em;
text-align: right;
}

0 comments on commit 3fc8acc

Please sign in to comment.