Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen Judkins
haddock
Commits
34be96e5
Commit
34be96e5
authored
14 years ago
by
Mark Lentczner
Browse files
Options
Downloads
Patches
Plain Diff
tweaks for dl layout, though still not used
parent
a194dcc8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html/nhaddock.css
+23
-1
23 additions, 1 deletion
html/nhaddock.css
src/Haddock/Backends/Xhtml/Layout.hs
+3
-1
3 additions, 1 deletion
src/Haddock/Backends/Xhtml/Layout.hs
with
26 additions
and
2 deletions
html/nhaddock.css
+
23
−
1
View file @
34be96e5
...
@@ -74,7 +74,8 @@ ul.links li {
...
@@ -74,7 +74,8 @@ ul.links li {
ul
.links
li
a
{
padding
:
5px
10px
;
}
ul
.links
li
a
{
padding
:
5px
10px
;
}
.hide
{
display
:
none
;
}
.hide
{
display
:
none
;
}
.show
{
}
.show
{
display
:
inherit
;
}
.clear
{
clear
:
both
;
}
pre
{
pre
{
padding
:
0.5em
;
padding
:
0.5em
;
...
@@ -260,6 +261,25 @@ div#style-menu-holder {
...
@@ -260,6 +261,25 @@ div#style-menu-holder {
margin-top
:
0.5em
;
margin-top
:
0.5em
;
}
}
#interface
dt
{
float
:
left
;
clear
:
left
;
display
:
block
;
margin
:
1px
0
;
}
#interface
dd
{
float
:
right
;
width
:
90%
;
display
:
block
;
margin
:
1px
0
;
padding-left
:
0.5em
;
}
#interface
dd
p
{
margin
:
0
;
}
/* div.top code { border: 1px solid #ddd; } */
/* div.top code { border: 1px solid #ddd; } */
.top
p
.src
{
.top
p
.src
{
border-top
:
1px
solid
#ccc
;
border-top
:
1px
solid
#ccc
;
...
@@ -288,10 +308,12 @@ div.top .subs, div.top .doc {
...
@@ -288,10 +308,12 @@ div.top .subs, div.top .doc {
.fields
p
{
margin
:
0
0
;
}
.fields
p
{
margin
:
0
0
;
}
/* this seems bulky to me
.methods, .constructors {
.methods, .constructors {
background: #f8f8f8;
background: #f8f8f8;
border: 1px solid #eee;
border: 1px solid #eee;
}
}
*/
.fields
{
padding-left
:
1em
;
}
.fields
{
padding-left
:
1em
;
}
...
...
This diff is collapsed.
Click to expand it.
src/Haddock/Backends/Xhtml/Layout.hs
+
3
−
1
View file @
34be96e5
...
@@ -114,7 +114,7 @@ divSubDecls cssClass captionName = maybe noHtml wrap
...
@@ -114,7 +114,7 @@ divSubDecls cssClass captionName = maybe noHtml wrap
subDlist :: [SubDecl] -> Maybe Html
subDlist :: [SubDecl] -> Maybe Html
subDlist [] = Nothing
subDlist [] = Nothing
subDlist decls = Just $ dlist << map subEntry decls
subDlist decls = Just $ dlist << map subEntry decls
+++ clearDiv
where
where
subEntry (decl, mdoc, subs) =
subEntry (decl, mdoc, subs) =
dterm ! [theclass "src"] << decl
dterm ! [theclass "src"] << decl
...
@@ -123,6 +123,8 @@ subDlist decls = Just $ dlist << map subEntry decls
...
@@ -123,6 +123,8 @@ subDlist decls = Just $ dlist << map subEntry decls
Nothing `with` [] = spaceHtml
Nothing `with` [] = spaceHtml
ma `with` bs = ma +++ bs
ma `with` bs = ma +++ bs
clearDiv = thediv ! [ theclass "clear" ] << noHtml
-}
-}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment