Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added different rules for links in print and on screen

  • Loading branch information...
commit 70dd960f4abf60201c20fa25c038bd04db68614a 1 parent e996667
@seanohalpin seanohalpin authored
Showing with 23 additions and 5 deletions.
  1. +23 −5 css/style.css
View
28 css/style.css
@@ -46,14 +46,32 @@ body, input, textarea, button, select {
}
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.