Skip to content

Commit 5ec31ac

Browse files
committed
Add print stylesheet
1 parent 1743551 commit 5ec31ac

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

html/css/print.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
nav a {
2+
color: black !important;
3+
text-decoration: none;
4+
}
5+
6+
nav a:active {
7+
color: black !important;
8+
}
9+
10+
nav a:visited {
11+
color: black !important;
12+
}
13+
14+
a {
15+
font-weight: bold;
16+
text-decoration: none;
17+
color: black !important;
18+
}
19+
20+
header h1 {
21+
font-size: 75px;
22+
}
23+
24+
h2 {
25+
margin-top: 30px;
26+
font-size: 30px;
27+
}
28+
29+
article h2 a {
30+
display: none;
31+
}
32+
33+
h3 {
34+
font-size: 18px;
35+
}
36+

html/template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<meta name="description" content="{description}">
99
<link rel="stylesheet" href="css/garden.css" media="screen">
10+
<link rel="stylesheet" href="css/print.css" media="print">
1011
</head>
1112

1213
<body>

0 commit comments

Comments
 (0)