Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make use of css reset for consistency

  • Loading branch information...
commit a71baeac47f72245cf2d355e21cfab84a6915493 1 parent d38634e
@krisb krisb authored
View
53 public/css/reset.css
@@ -0,0 +1,53 @@
+/* http://meyerweb.com/eric/tools/css/reset/ */
+/* v1.0 | 20080212 */
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+
+/* remember to define focus styles! */
+:focus {
+ outline: 0;
+}
+
+/* remember to highlight inserts somehow! */
+ins {
+ text-decoration: none;
+}
+del {
+ text-decoration: line-through;
+}
+
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
View
18 public/css/showoff.css
@@ -1,13 +1,8 @@
body {
font-family: "Gill Sans", Helvetica, Arial, sans-serif;
- padding: 0;
- margin: 0;
- border: 0;
}
#preso {
- margin: 0;
- padding: 0;
width: 1020px;
height: 740px;
margin-left:auto;
@@ -16,7 +11,6 @@ body {
}
#footer {
background: #eee;
- margin: 0;
padding: 2px;
width: 1010px;
height: 20px;
@@ -38,10 +32,6 @@ body {
display: block;
height: 600px;
font-size: 3em;
- list-style: none;
- margin-left: 0;
- padding-left: 1em;
- text-indent: -1em;
}
.bullets ul li {
text-align: center;
@@ -52,10 +42,6 @@ body {
display: block;
height: 600px;
font-size: 2em;
- list-style: none;
- margin-left: 0;
- padding-left: 1em;
- text-indent: -1em;
}
.smbullets ul li {
text-align: center;
@@ -102,6 +88,10 @@ h1 { font-size: 5em; font-weight: normal; text-align: center;}
h2 { font-size: 3em; font-weight: normal; text-align: center; }
h3 { font-size: 2em; font-weight: normal; text-align: center; }
+h1, h2, h3 {
+ margin: 0.5em 0;
+}
+
pre { margin-left: 40px; font-size: 2.8em; }
.hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
View
1  views/index.erb
@@ -7,6 +7,7 @@
<title>Presentation</title>
+ <link rel="stylesheet" href="css/reset.css" type="text/css"/>
<link rel="stylesheet" href="css/showoff.css" type="text/css"/>
<script type="text/javascript" src="/js/jquery-1.4.min.js"></script>
View
2  views/onepage.erb
@@ -12,7 +12,7 @@
<% else %>
<%= inline_css(['onepage.css'], 'public/css') %>
<% end %>
- <%= inline_css(['showoff.css', 'theme/ui.all.css', 'sh_style.css'], 'public/css') %>
+ <%= inline_css(['reset.css', 'showoff.css', 'theme/ui.all.css', 'sh_style.css'], 'public/css') %>
<% css_files.each do |css_file| %>
<%= inline_css(css_file) %>
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.