Skip to content

Commit

Permalink
Remove reset.css
Browse files Browse the repository at this point in the history
These resets are not necessary.
  • Loading branch information
jonathanhefner committed Aug 20, 2023
1 parent 8eb31a2 commit 746d017
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 50 deletions.
1 change: 0 additions & 1 deletion lib/rdoc/generator/template/rails/_head.rhtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= base_tag_for_context(context) %>

<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/css/panel.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/css/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/css/highlight.css" type="text/css" media="screen" />
Expand Down
22 changes: 9 additions & 13 deletions lib/rdoc/generator/template/rails/resources/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
* { box-sizing: border-box; }

body {
margin: 0;
min-height: 100dvh;
}

:root {
--line-height: 1.5;
--space: calc(var(--line-height) * 0.50 * 1rem);
Expand Down Expand Up @@ -30,18 +35,11 @@
}
}

html {
height: 100%;
}

body {
line-height: var(--line-height);

background: var(--body-bg);
color: var(--text-color);

margin: 0px;
min-height: 100%;
}

a {
Expand Down Expand Up @@ -73,6 +71,10 @@ a code {
display: none;
}

table {
border-collapse: collapse;
}

td, th
{
padding: 0 0.7em 0.3em 0;
Expand All @@ -83,12 +85,6 @@ th
font-weight: bold;
}

.clear
{
clear: both;
width: 0; height: 0;
}

.methods dt
{
width: 1em;
Expand Down
36 changes: 0 additions & 36 deletions lib/rdoc/generator/template/rails/resources/css/reset.css

This file was deleted.

0 comments on commit 746d017

Please sign in to comment.