Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve line breaks in syntax summaries #588

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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