Skip to content

Commit 746d017

Browse files
Remove reset.css
These resets are not necessary.
1 parent 8eb31a2 commit 746d017

File tree

3 files changed

+9
-50
lines changed

3 files changed

+9
-50
lines changed

lib/rdoc/generator/template/rails/_head.rhtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<%= base_tag_for_context(context) %>
22

3-
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen" />
43
<link rel="stylesheet" href="/css/panel.css" type="text/css" media="screen" />
54
<link rel="stylesheet" href="/css/main.css" type="text/css" media="screen" />
65
<link rel="stylesheet" href="/css/highlight.css" type="text/css" media="screen" />

lib/rdoc/generator/template/rails/resources/css/main.css

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
* { box-sizing: border-box; }
22

3+
body {
4+
margin: 0;
5+
min-height: 100dvh;
6+
}
7+
38
:root {
49
--line-height: 1.5;
510
--space: calc(var(--line-height) * 0.50 * 1rem);
@@ -30,18 +35,11 @@
3035
}
3136
}
3237

33-
html {
34-
height: 100%;
35-
}
36-
3738
body {
3839
line-height: var(--line-height);
3940

4041
background: var(--body-bg);
4142
color: var(--text-color);
42-
43-
margin: 0px;
44-
min-height: 100%;
4543
}
4644

4745
a {
@@ -73,6 +71,10 @@ a code {
7371
display: none;
7472
}
7573

74+
table {
75+
border-collapse: collapse;
76+
}
77+
7678
td, th
7779
{
7880
padding: 0 0.7em 0.3em 0;
@@ -83,12 +85,6 @@ th
8385
font-weight: bold;
8486
}
8587

86-
.clear
87-
{
88-
clear: both;
89-
width: 0; height: 0;
90-
}
91-
9288
.methods dt
9389
{
9490
width: 1em;

lib/rdoc/generator/template/rails/resources/css/reset.css

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)