Skip to content

Commit

Permalink
Merge pull request #588 from ndw/css-tweaks
Browse files Browse the repository at this point in the history
Improve line breaks in syntax summaries
  • Loading branch information
ndw authored Jul 30, 2024
2 parents a2e5ef6 + e08d432 commit ac65f10
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/main/resources/css/xproc.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
border-radius: 5px;
}

p.element-syntax code {
font-size: 100%;
}

dl.toc { margin-top: 0;
margin-bottom: 0
dl.toc {
margin-top: 0;
margin-bottom: 0
}

dl.toc dt {
Expand Down Expand Up @@ -79,7 +76,13 @@ dl.errs dt {
padding-bottom: 0.5ex;
}

.element-syntax { padding: 4px; line-height: 1.25; }
.element-syntax {
padding: 4px;
line-height: 1.25;
white-space: nowrap;
overflow-x: scroll;
}

.element-syntax-declare-step { border: solid thin; background-color: #ffeeff }
.element-syntax-declare-step-opt { border: solid thin; background-color: #ffeeff }
.element-syntax-declare-step-opt { border: solid thin; background-color: #ffeeff }
Expand All @@ -89,6 +92,10 @@ dl.errs dt {
.element-syntax-other-step { border: solid thin; background-color: #ffeeff }
.element-syntax-step-vocabulary { border: dotted thin; background-color: #ffffee }

p.element-syntax code {
font-size: 100%;
}

div.funcsynopsis {
background-color: #D5DEE3;
border-bottom: 4px double #D3D3D3;
Expand Down

0 comments on commit ac65f10

Please sign in to comment.