Permalink
Browse files

Tweak CSS for use in embedded mode

  • Loading branch information...
Christian Johansen
Christian Johansen committed May 7, 2011
1 parent 17b2135 commit 44b3012106b6d92a34fb68ceb0d61ab5f414c093
Showing with 3 additions and 7 deletions.
  1. +1 −0 doc/samples/spec.html
  2. +2 −7 resources/buster-test.css
View
@@ -3,6 +3,7 @@
<head>
<title>Buster.JS Spec</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <link rel="stylesheet" media="all" type="text/css" href="buster-test.css">
</head>
<body>
<h1>Buster.JS Spec</h1>
@@ -1,11 +1,12 @@
-body.buster-test,
+.buster-test,
html.buster-test {
margin: 0;
padding: 0;
}
.buster-test,
body.buster-test {
+ font-family: Georgia, Times, serif;
font-size: 16px;
padding: 0 12px;
}
@@ -86,12 +87,6 @@ body.buster-test {
padding-right: 1em;
}
-body.buster-test {
- font-family: Georgia, Times, serif;
- font-size: 100%;
- margin: 0 auto;
-}
-
.buster-test p,
.buster-test li {
line-height: 1.5;

0 comments on commit 44b3012

Please sign in to comment.