Add print CSS

This commit is contained in:
Sashko Stubailo
2014-10-27 11:01:41 -07:00
parent f39b55d540
commit d9c74da701
3 changed files with 29 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
# Packages
Meteor is all about splitting functionality into modular packages. In addition
All of Meteor's functionality is implemented in modular packages. In addition
to the core packages documented above, there are many others that you can add to
your app to enable useful functionality.

View File

@@ -94,12 +94,12 @@ var sections = [
items: [
item("Meteor.isClient"),
item("Meteor.isServer"),
item("meteor.startup")
item("Meteor.startup")
]
}),
section("Packages", {
id: "packages",
subtitle: "There are thousands of Meteor packages available",
subtitle: "Choose from thousands of community packages",
items: [
item("Searching for packages", {id: "searchingforpackages"}),
item("accounts-ui", {id: "accountsui"}),

View File

@@ -576,3 +576,29 @@ pre {
font-size: 0.9em;
text-decoration: underline !important;
}
@media print {
body {
font-size: 10pt;
}
code, pre {
font-size: 8pt;
}
#nav {
display: none;
}
.main-content {
position: relative;
height: auto;
margin: 0;
left: 0;
top: 0;
}
.top-bar {
display: none;
}
}