Permalink
Browse files

Revise print styles

Will only render flush left header, main during print.
  • Loading branch information...
kabel committed Jan 5, 2016
1 parent 577c250 commit 534d5fbb708e6b677afdbd6508eb8bc51ab6a20f
Showing with 37 additions and 77 deletions.
  1. +37 −77 wdn/templates_4.1/less/print.less
@@ -11,65 +11,60 @@
}
.reset() {
- position: static;
- display: block;
margin: 0;
padding: 0;
text-align: left;
background: transparent;
border: none;
}
-html, body {
- .reset();
- float: none;
- width: 100%;
+html {
+ color: #000;
font-size: 12px;
-}
-
-.wdn-band {
- .reset();
- float: none;
+ line-height: normal;
width: 100%;
-
- .wdn-inner-wrapper {
- .reset();
- float: none;
- width: 100%;
- }
}
-#maincontent > * {
- .reset();
- max-width: none;
-}
-
-h1, h2, h3, h4, h5, h6, p, ul, ol, li, span, div, .wdn-subhead {
- color: #444;
+h1, h2, h3, h4, h5, h6 {
+ color: #000;
}
a {
- color: black;
-
&:after {
content: " (" attr(href) ")" !important;
display: inline !important;
height: auto !important;
width: auto !important;
background: none !important;
}
+}
+
+a#logo,
+#wdn_institution_title a,
+#wdn_site_title a {
+ color: #000;
+
+ &:after {
+ .hide();
+ }
+}
- #maincontent & {
- border-bottom: 1px dotted black;
+.wdn-band {
+ .reset();
+ float: none;
+ width: 100%;
- &.wdn-button {
- border-bottom: 0;
- color: white !important;
- background: black !important;
- }
+ .wdn-inner-wrapper {
+ .reset();
+ float: none;
+ width: 100%;
}
}
+#maincontent > * {
+ .reset();
+}
+
.skipnav,
.wdn-menu-trigger,
.wdn-icon-menu,
@@ -84,56 +79,21 @@ a {
}
#header {
- .reset();
- float: none;
width: 100%;
- box-shadow: none;
border-bottom: 1px solid black;
-
- .wdn-inner-wrapper:first-of-type:after {
- display: none;
- }
}
-#logo {
- .reset();
- float: left;
- width: auto;
- height: auto;
- margin-right: 6px;
-
- a {
- .hide();
- }
-
- &:before {
- content: url('../images/n.svg');
- position: static;
- height: 54px;
- width: 54px;
- }
+#wdn_logo_lockup {
+ border: 0;
+ .clear-fix();
}
-#wdn_institution_title {
- .reset();
- float: none;
- width: auto;
- color: black;
- padding-top: 3px;
+#wdn_header_top {
+ margin: 0;
+ padding: 0;
+ height: auto;
}
-#wdn_site_title {
- .reset();
- float: none;
- width: auto;
- padding-bottom: 3px;
-
- a {
- color: black;
-
- &:after {
- display: inline !important;
- font-size: 10px;
- }
- }
+#wdn_site_affiliation {
+ padding-top: 0.9em;
}

0 comments on commit 534d5fb

Please sign in to comment.