Skip to content

Commit

Permalink
Added css stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
saleyn committed Oct 2, 2012
1 parent 33abc5a commit e69d185
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 2 deletions.
1 change: 1 addition & 0 deletions rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ lists:keymerge(1,
{title, "The exec application"},
{includes, ["include"]},
{def, {vsn, Vsn}},
{stylesheet_file, "src/edoc.css"},
{app_default, "http://www.erlang.org/doc/man"}]}
]),
lists:keysort(1, CONFIG)).
Expand Down
149 changes: 149 additions & 0 deletions src/edoc.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
/* Baseline rhythm */
body {
font-size: 16px;
font-family: Helvetica, sans-serif;
margin: 8px;
}

p {
font-size: 1em; /* 16px */
line-height: 1.5em; /* 24px */
margin: 0 0 1.5em 0;
}

h1 {
font-size: 1.5em; /* 24px */
line-height: 1em; /* 24px */
margin-top: 1em;
margin-bottom: 0em;
}

h2 {
font-size: 1.375em; /* 22px */
line-height: 1.0909em; /* 24px */
margin-top: 1.0909em;
margin-bottom: 0em;
}

h3 {
font-size: 1.25em; /* 20px */
line-height: 1.2em; /* 24px */
margin-top: 1.2em;
margin-bottom: 0em;
}

h4 {
font-size: 1.125em; /* 18px */
line-height: 1.3333em; /* 24px */
margin-top: 1.3333em;
margin-bottom: 0em;
}

.class-for-16px {
font-size: 1em; /* 16px */
line-height: 1.5em; /* 24px */
margin-top: 1.5em;
margin-bottom: 0em;
}

.class-for-14px {
font-size: 0.875em; /* 14px */
line-height: 1.7143em; /* 24px */
margin-top: 1.7143em;
margin-bottom: 0em;
}

ul {
margin: 0 0 1.5em 0;
list-style-position: outside;
}

/* Customizations */
body {
color: #333;
}

tt, code, pre {
font-family: "Andale Mono", "Inconsolata", "Monaco", "DejaVu Sans Mono", monospaced;
}

tt, code { font-size: 0.875em }

pre {
font-size: 0.875em; /* 14px */
line-height: 1.7143em; /* 24px */
margin: 0 1em 1.7143em;
padding: 0 1em;
background: #E0F0FF;
}

.navbar img, hr {
display: none;
}

.navbar {
background-color: #85C2FF;
}

table {
border-collapse: collapse;
}

h1 {
border-left: 0.5em solid #85C2FF;
padding-left: 0.5em;
background-color: #85C2FF;
}

h2.indextitle {
font-size: 1.25em; /* 20px */
line-height: 1.2em; /* 24px */
margin: -8px -8px 0.6em;
background-color: #85C2FF;
padding: 0.3em;
}

ul.index {
list-style: none;
margin-left: 0em;
padding-left: 0;
}

ul.index li {
display: inline;
padding-right: 0.75em
}

ul.definitions {
background-color: #E0F0FF;
}

dt {
font-weight: 600;
}

div.spec p {
margin-bottom: 0;
padding-left: 1.25em;
background-color: #E0F0FF;
}

h3.function {
border-left: 0.5em solid #85C2FF;
padding-left: 0.5em;
background-color: #BECFE0;
}
a, a:visited, a:hover, a:active { color: #06C }
h2 a, h3 a { color: #333 }

h3.typedecl {
background-color: #BECFE0;
}

i {
font-size: 0.875em; /* 14px */
line-height: 1.7143em; /* 24px */
margin-top: 1.7143em;
margin-bottom: 0em;
font-style: normal;
}
4 changes: 2 additions & 2 deletions src/overview.edoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h3><a name="fs">Features</a></h3>

<du>
<ul>
<li>Starting, stopping OS commands and getting their OS process IDs.</li>
<li>Providing versatile OS command options, including working directory,
environment settings, alternative termination command, effective
Expand All @@ -28,7 +28,7 @@
<li>Ability to link Erlang processes to OS processes (via intermediate
Erlang Pids that are linked to an associated OS process).</li>
<li>Proper cleanup of OS processes at port program termination time.</li>
</du>
</ul>
<p/>

<h3><a name="sp">Supported Platforms</a></h3>
Expand Down

0 comments on commit e69d185

Please sign in to comment.