Skip to content

Commit

Permalink
added different rules for links in print and on screen
Browse files Browse the repository at this point in the history
  • Loading branch information
seanohalpin committed Aug 6, 2012
1 parent e996667 commit 70dd960
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions css/style.css
Expand Up @@ -45,15 +45,33 @@ body, input, textarea, button, select {
text-align: justify;
}

a {
color: #404080;
}

a {
color: inherit;
background-color: inherit;
font: inherit;
text-decoration: underline;
}

@media screen {
a {
color: #404080;
text-decoration: underline;
}
}

@media print {
a {
text-decoration: none;
}

/* a:link:after, */
/* a:visited:after { */
/* content: " (" attr(href) ") "; */
/* font-size: 90%; */
/* } */
/* html.noted a:link:after, */
/* html.noted a:visited:after { */
/* content: ""; */
/* } */
}

h1 > a {
Expand Down

0 comments on commit 70dd960

Please sign in to comment.