Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove blueprint in IE and Print stylesheets

  • Loading branch information...
commit 14905f985315e787b27abfe787fd8d41f484b962 1 parent 170636e
@Fantomas42 authored
View
2  zinnia/static/zinnia/css/ie.css
@@ -1 +1 @@
-.zinnia{text-align:center}* html .zinnia legend{margin:0px -8px 16px 0;padding:0}html>.zinnia p code{*white-space:normal}.zinnia .container{text-align:left}.zinnia sup{vertical-align:text-top}.zinnia sub{vertical-align:text-bottom}.zinnia hr{margin:-8px auto 11px}.zinnia img{-ms-interpolation-mode:bicubic}.zinnia fieldset{padding-top:0}.zinnia legend{margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em}.zinnia fieldset,.zinnia #IE8#HACK{padding-top:1.4em}.zinnia legend,.zinnia #IE8#HACK{margin-top:0;margin-bottom:0}.zinnia textarea{overflow:auto}.zinnia label{position:relative;top:-0.25em}.zinnia input.text{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.text:focus{border:1px solid #666666}.zinnia input.title{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.title:focus{border:1px solid #666666}.zinnia input.checkbox{position:relative;top:0.25em}.zinnia input.radio{position:relative;top:0.25em}.zinnia input.button{position:relative;top:0.25em}.zinnia textarea{margin:0.5em 0}.zinnia select{margin:0.5em 0}.zinnia button{position:relative;top:0.25em}.zinnia .container{text-align:left}
+.zinnia{text-align:center}* html .zinnia legend{margin:0px -8px 16px 0;padding:0}html>.zinnia p code{*white-space:normal}.zinnia .container{text-align:left}.zinnia sup{vertical-align:text-top}.zinnia sub{vertical-align:text-bottom}.zinnia hr{margin:-8px auto 11px}.zinnia img{-ms-interpolation-mode:bicubic}.zinnia fieldset{padding-top:0}.zinnia legend{margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em}.zinnia fieldset,.zinnia #IE8#HACK{padding-top:1.4em}.zinnia legend,.zinnia #IE8#HACK{margin-top:0;margin-bottom:0}.zinnia textarea{overflow:auto}.zinnia label{position:relative;top:-0.25em}.zinnia input.text{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.text:focus{border:1px solid #666666}.zinnia input.title{margin:0.5em 0;background-color:white;border:1px solid #bbbbbb}.zinnia input.title:focus{border:1px solid #666666}.zinnia input.checkbox{position:relative;top:0.25em}.zinnia input.radio{position:relative;top:0.25em}.zinnia input.button{position:relative;top:0.25em}.zinnia textarea{margin:0.5em 0}.zinnia select{margin:0.5em 0}.zinnia button{position:relative;top:0.25em}
View
2  zinnia/static/zinnia/css/print.css
@@ -1 +1 @@
-.zinnia{line-height:1.5;font-family:Arial, Helvetica, sans-serif;color:black;background:none;font-size:10pt;font-size:2em}.zinnia .container{background:none}.zinnia hr{background:#cccccc;color:#cccccc;width:100%;height:2px;margin:2em 0;padding:0;border:none}.zinnia hr.space{background:white;color:white}.zinnia h1,.zinnia h2,.zinnia h3,.zinnia h4,.zinnia h5,.zinnia h6{font-family:Arial, Helvetica, sans-serif}.zinnia code{font-size:0.9em;font-family:"andale mono","lucida console",monospace}.zinnia a img{border:none}.zinnia a:link,.zinnia a:visited{background:transparent;font-weight:700;text-decoration:underline}.zinnia p img.top{margin-top:0}.zinnia blockquote{margin:1.5em;padding:1em;font-style:italic;font-size:0.9em}.zinnia .small{font-size:0.9em}.zinnia .large{font-size:1.1em}.zinnia .quiet{color:#999999}.zinnia .hide{display:none}.zinnia a,.zinnia a:link,.zinnia a:visited,.zinnia a:focus,.zinnia a:active,.zinnia a:hover{text-decoration:none;color:#06a}#sidebar,.top-navigation,.comment-form{display:none}#header h1{margin-bottom:0}#header h1 a{font-size:2em;font-weight:bold}
+.zinnia{line-height:1.5;font-family:Arial, Helvetica, sans-serif;color:black;background:none;font-size:10pt}.zinnia a,.zinnia a:link,.zinnia a:visited,.zinnia a:focus,.zinnia a:active,.zinnia a:hover{text-decoration:none;color:#06a}#sidebar,.top-navigation,.comment-form{display:none}#header h1{margin-bottom:0}#header h1 a{font-size:2em;font-weight:bold}
View
68 zinnia/static/zinnia/sass/ie.scss
@@ -1,8 +1,70 @@
-@import "blueprint";
-
.zinnia {
- @include blueprint-ie(true);
+ text-align: center;
+ * html & {
+ legend {
+ margin: 0px -8px 16px 0;
+ padding: 0;
+ }
+ }
+
+ html>& {
+ p code {
+ *white-space: normal;
+ }
+ }
+
.container {
text-align: left
}
+
+ sup {
+ vertical-align: text-top; }
+ sub {
+ vertical-align: text-bottom; }
+ hr {
+ margin: -8px auto 11px; }
+ img {
+ -ms-interpolation-mode: bicubic; }
+ fieldset {
+ padding-top: 0; }
+ legend {
+ margin-top: -0.2em;
+ margin-bottom: 1em;
+ margin-left: -0.5em; }
+ fieldset, #IE8#HACK {padding-top:1.4em;}
+ legend, #IE8#HACK {margin-top:0;margin-bottom:0;}
+ textarea {
+ overflow: auto; }
+ label {
+ position: relative;
+ top: -0.25em; }
+ input {
+ &.text {
+ margin: 0.5em 0;
+ background-color: white;
+ border: 1px solid #bbbbbb;
+ &:focus {
+ border: 1px solid #666666; } }
+ &.title {
+ margin: 0.5em 0;
+ background-color: white;
+ border: 1px solid #bbbbbb;
+ &:focus {
+ border: 1px solid #666666; } }
+ &.checkbox {
+ position: relative;
+ top: 0.25em; }
+ &.radio {
+ position: relative;
+ top: 0.25em; }
+ &.button {
+ position: relative;
+ top: 0.25em; } }
+ textarea {
+ margin: 0.5em 0; }
+ select {
+ margin: 0.5em 0; }
+ button {
+ position: relative;
+ top: 0.25em; }
}
View
9 zinnia/static/zinnia/sass/print.scss
@@ -1,9 +1,12 @@
@import "config/base";
-@import "blueprint";
.zinnia {
- @include blueprint-print(true);
- font-size: 2em;
+ line-height: 1.5;
+ font-family: $font-family;
+ color: black;
+ background: none;
+ font-size: 10pt;
+
a, a:link, a:visited, a:focus, a:active, a:hover {
text-decoration: none;
color: $link-color;
Please sign in to comment.
Something went wrong with that request. Please try again.