mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-23 06:46:52 -04:00
Merge branch 'css-whitespace-fix' into 'main'
doc/css: improve whitespace consistency See merge request wayland/wayland!529
This commit is contained in:
commit
b46f6fd359
1 changed files with 383 additions and 411 deletions
|
|
@ -227,7 +227,6 @@ h2 {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.book div.subtitle, .book h2.subtitle, .book h3.subtitle {
|
.book div.subtitle, .book h2.subtitle, .book h3.subtitle {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
@ -254,14 +253,13 @@ h1.legalnotice {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
|
|
@ -468,7 +466,6 @@ a.version:focus, a.version:hover {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* credits */
|
/* credits */
|
||||||
.authorgroup div {
|
.authorgroup div {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
@ -511,7 +508,6 @@ div.authorgroup.contrib {
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.othercredit {
|
.othercredit {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|
@ -569,72 +565,58 @@ div.authorgroup.contrib {
|
||||||
color: #888888;
|
color: #888888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_DataType {
|
.perl_DataType {
|
||||||
color: #0000ff;
|
color: #0000ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_DecVal {
|
.perl_DecVal {
|
||||||
color: #00007f;
|
color: #00007f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Error {
|
.perl_Error {
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Float {
|
.perl_Float {
|
||||||
color: #00007f;
|
color: #00007f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Function {
|
.perl_Function {
|
||||||
color: #007f00;
|
color: #007f00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_IString {
|
.perl_IString {
|
||||||
color: #5C3566;
|
color: #5C3566;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Keyword {
|
.perl_Keyword {
|
||||||
color: #002F5D;
|
color: #002F5D;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Operator {
|
.perl_Operator {
|
||||||
color: #ffa500;
|
color: #ffa500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Others {
|
.perl_Others {
|
||||||
color: #b03060;
|
color: #b03060;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_RegionMarker {
|
.perl_RegionMarker {
|
||||||
color: #96b9ff;
|
color: #96b9ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Reserved {
|
.perl_Reserved {
|
||||||
color: #9b30ff;
|
color: #9b30ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_String {
|
.perl_String {
|
||||||
color: #5C3566;
|
color: #5C3566;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Variable {
|
.perl_Variable {
|
||||||
color: #0000ff;
|
color: #0000ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.perl_Warning {
|
.perl_Warning {
|
||||||
color: #0000ff;
|
color: #0000ff;
|
||||||
}
|
}
|
||||||
|
|
@ -661,6 +643,7 @@ ol ol {
|
||||||
ol.i {
|
ol.i {
|
||||||
list-style-type: lower-roman;
|
list-style-type: lower-roman;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol.A {
|
ol.A {
|
||||||
list-style-type: upper-alpha;
|
list-style-type: upper-alpha;
|
||||||
}
|
}
|
||||||
|
|
@ -813,7 +796,6 @@ div.title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div.programlisting {
|
div.programlisting {
|
||||||
white-space: pre-wrap; /* css-3 */
|
white-space: pre-wrap; /* css-3 */
|
||||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||||
|
|
@ -851,7 +833,6 @@ body.pdf pre {
|
||||||
-o-box-shadow: none;
|
-o-box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pre .replaceable,
|
pre .replaceable,
|
||||||
pre .keycap {
|
pre .keycap {
|
||||||
}
|
}
|
||||||
|
|
@ -875,7 +856,6 @@ code {
|
||||||
code.email {
|
code.email {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-family: "liberation sans", "Myriad ", "Bitstream Vera Sans", "Lucida Grande", "Luxi Sans", "Trebuchet MS", helvetica, verdana, arial, sans-serif;
|
font-family: "liberation sans", "Myriad ", "Bitstream Vera Sans", "Lucida Grande", "Luxi Sans", "Trebuchet MS", helvetica, verdana, arial, sans-serif;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.synopsis {
|
.synopsis {
|
||||||
|
|
@ -1032,10 +1012,8 @@ table tr.even td {
|
||||||
|
|
||||||
tr:nth-child(even) {
|
tr:nth-child(even) {
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
table th p:first-child, table td p:first-child, table li p:first-child,
|
table th p:first-child, table td p:first-child, table li p:first-child,
|
||||||
table th div.para:first-child, table td div.para:first-child, table li div.para:first-child {
|
table th div.para:first-child, table td div.para:first-child, table li div.para:first-child {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
|
|
@ -1117,6 +1095,7 @@ span.book {
|
||||||
span.book a {
|
span.book a {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.chapter {
|
span.chapter {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
@ -1125,19 +1104,16 @@ table.simplelist td, .calloutlist table td {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
table.lt-4-cols.lt-7-rows td {
|
table.lt-4-cols.lt-7-rows td {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
/* to simplify layout */
|
/* to simplify layout */
|
||||||
|
|
||||||
|
|
||||||
table.lt-4-cols.gt-14-rows tr:nth-child(odd) {
|
table.lt-4-cols.gt-14-rows tr:nth-child(odd) {
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
}
|
}
|
||||||
/* to keep simple but stripe rows */
|
/* to keep simple but stripe rows */
|
||||||
|
|
||||||
|
|
||||||
.gt-8-cols td {
|
.gt-8-cols td {
|
||||||
border-left: 1px solid #ccc;
|
border-left: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
@ -1304,7 +1280,6 @@ div.chapter {
|
||||||
page-break-before: always;
|
page-break-before: always;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div.titlepage, div.titlepage > div, div.titlepage > div > div {
|
div.titlepage, div.titlepage > div, div.titlepage > div > div {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
page-break-after: avoid;
|
page-break-after: avoid;
|
||||||
|
|
@ -1324,7 +1299,6 @@ div.section {
|
||||||
page-break-after: auto;
|
page-break-after: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dt.varlistentry {
|
dt.varlistentry {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
page-break-after: avoid;
|
page-break-after: avoid;
|
||||||
|
|
@ -1401,7 +1375,6 @@ ul li p:last-child, ul li para:last-child {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.docnav li.previous {
|
.docnav li.previous {
|
||||||
left: 0px;
|
left: 0px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
@ -1470,6 +1443,7 @@ ul li p:last-child, ul li para:last-child {
|
||||||
ul.docnav {
|
ul.docnav {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reports */
|
/* Reports */
|
||||||
.reports ul {
|
.reports ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
@ -1554,7 +1528,6 @@ div.progress span.fuzzy {
|
||||||
background: #ff9f00;
|
background: #ff9f00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Results */
|
/* Results */
|
||||||
|
|
||||||
.results ul {
|
.results ul {
|
||||||
|
|
@ -1706,7 +1679,6 @@ div.toc > dl > dt {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.strikethrough {
|
.strikethrough {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
@ -1731,11 +1703,11 @@ li.step > a:first-child {
|
||||||
list-style-image: none;
|
list-style-image: none;
|
||||||
list-style-type: upper-alpha;
|
list-style-type: upper-alpha;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task {
|
.task {
|
||||||
/* page-break-inside: avoid; */
|
/* page-break-inside: avoid; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.added {
|
.added {
|
||||||
background-color: #99ff99;
|
background-color: #99ff99;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue