diff --git a/Ghidra/Features/Decompiler/src/main/help/help/shared/languages.css b/Ghidra/Features/Decompiler/src/main/help/help/shared/languages.css index 351bc789c1..657f4bfe30 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/shared/languages.css +++ b/Ghidra/Features/Decompiler/src/main/help/help/shared/languages.css @@ -15,13 +15,11 @@ */ /* This file contains non-Ghidra style sheet markup. This file will be loaded in addition to - FrontPage.css. + DefaultStyle.css. */ -h5 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:12pt; font-style:italic; } div.informalexample { margin-left: 50px; margin-top: 10px; } dd { margin-bottom: 20px; } dd p { margin-top: 5px; margin-left: 10px; } span.term { font-family:times new roman; font-size:14pt; font-weight:bold; } -span.code { font-weight: bold; font-family: courier new; font-size: 14pt; color:#000000; } span.redtext { color:#CC0033; } diff --git a/Ghidra/Features/FunctionID/src/main/help/help/shared/languages.css b/Ghidra/Features/FunctionID/src/main/help/help/shared/languages.css index d0a955c007..657f4bfe30 100644 --- a/Ghidra/Features/FunctionID/src/main/help/help/shared/languages.css +++ b/Ghidra/Features/FunctionID/src/main/help/help/shared/languages.css @@ -15,12 +15,11 @@ */ /* This file contains non-Ghidra style sheet markup. This file will be loaded in addition to - FrontPage.css. + DefaultStyle.css. */ -h5 { margin-left: 10px; } -div.informalexample { margin-left: 50px; } -div.example-contents { margin-left: 50px; } +div.informalexample { margin-left: 50px; margin-top: 10px; } +dd { margin-bottom: 20px; } +dd p { margin-top: 5px; margin-left: 10px; } span.term { font-family:times new roman; font-size:14pt; font-weight:bold; } -span.code { font-weight: bold; font-family: courier new; font-size: 14pt; color:#000000; } - +span.redtext { color:#CC0033; } diff --git a/Ghidra/Framework/Help/src/main/resources/help/shared/DefaultStyle.css b/Ghidra/Framework/Help/src/main/resources/help/shared/DefaultStyle.css index 281d871a1c..4e712f3beb 100644 --- a/Ghidra/Framework/Help/src/main/resources/help/shared/DefaultStyle.css +++ b/Ghidra/Framework/Help/src/main/resources/help/shared/DefaultStyle.css @@ -46,6 +46,7 @@ h1 { color:#000080; font-family:times new roman; font-size:36pt; font-style:ital h2 { margin: 10px; margin-top: 20px; color:#984c4c; font-family:times new roman; font-size:18pt; font-weight:bold; } h3 { margin-left: 10px; margin-top: 20px; color:#0000ff; font-family:times new roman; font-size:14pt; font-weight:bold; } h4 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:14pt; font-style:italic; } +h5 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:12pt; font-style:italic; } /* diff --git a/GhidraDocs/languages/html/DefaultStyle.css b/GhidraDocs/languages/html/DefaultStyle.css new file mode 100644 index 0000000000..4e712f3beb --- /dev/null +++ b/GhidraDocs/languages/html/DefaultStyle.css @@ -0,0 +1,92 @@ +/* ### + * IP: GHIDRA + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + WARNING! + Java Help Note: JavaHelp does not accept sizes (like in 'margin-top') in anything but + px (pixel) or with no type marking. + + The blockquote tag is used heavily to control indentation throughout the help docs. Place the + blockquote tag around other elements to create a standard indentation. The default values of + blockquote are: + + blockquote { + display: block; + margin-top: 1em; + margin-bottom: 1em; + margin-left: 40px; + margin-right: 40px; + } + +*/ + + +/* + Add some indentation for lists to show their relation to the preceding text. The value is + chosen based on the left margin of the body and the blockquote. +*/ +ul { margin-left: 50px; } +ol { margin-left: 50px; } +li { font-family:times new roman; font-size:14pt; margin-left: 5px; } + + +h1 { color:#000080; font-family:times new roman; font-size:36pt; font-style:italic; font-weight:bold; text-align:center; } +h2 { margin: 10px; margin-top: 20px; color:#984c4c; font-family:times new roman; font-size:18pt; font-weight:bold; } +h3 { margin-left: 10px; margin-top: 20px; color:#0000ff; font-family:times new roman; font-size:14pt; font-weight:bold; } +h4 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:14pt; font-style:italic; } +h5 { margin-left: 10px; margin-top: 20px; font-family:times new roman; font-size:12pt; font-style:italic; } + + +/* + A class to be used for showing screenshot style images. These images will have padding above + and below the image and will be centered. To apply this to a file path, use this syntax: +
...
+*/
+code { color: black; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }
+code.path { color: #4682B4; font-weight: bold; font-family: courier new, monospace; font-size: 14pt; white-space: nowrap; }