Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
flash62au committed Sep 7, 2024
1 parent dcc7bda commit 439f3e6
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 6 deletions.
66 changes: 66 additions & 0 deletions docs/_static/css/engine_driver_home_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,20 @@ div#on-this-page ul.simple li ul li p {
line-height: 120% !important;
}

.hr-dashed {
margin: -10px 0px -10px 0px;
border-top: 1px dashed #d2dfe3;
}

.hr-heavy {
margin: -10px 0px -10px 0px;
border-top: 5px solid #d2dfe3;
}

html[data-theme='dark'] .hr-dashed {
border-top: 1px dashed #114759;
}

/* sidebar level 3 bullet points */
div#on-this-page ul.simple li ul li {
line-height: 120% !important;
Expand Down Expand Up @@ -256,3 +270,55 @@ html[data-theme='dark'] .sidebar-title {
background: #002735 !important;
}

/* in-this-section level 3 bullet points */
nav.in-this-section ul.simple li ul li p {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
font-size: 80% !important;
line-height: 120% !important;
margin-bottom: 0px !important;
text-indent: 25px !important;
}

/* in-this-section level 3 bullet points */
nav.in-this-section ul.simple li ul li {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
line-height: 120% !important;
margin-bottom: 0px !important;
text-indent: 25px !important;
}

/* in-this-section level 2 bullet points */
nav.in-this-section ul.simple li p {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
font-size: 80% !important;
line-height: 120% !important;
margin-bottom: 0px !important;
text-indent: 25px !important;
}

/* in-this-section level 2 bullet points */
nav.in-this-section ul.simple li {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
line-height: 120% !important;
margin-bottom: 0px !important;
text-indent: 25px !important;
}

nav.in-this-section ul.simple {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
margin-bottom: 0px !important;
}

nav.in-this-section p {
font-family: Roboto,Helvetica,Arial,sans-serif !important;
font-style: italic;
font-size: 90%;
margin-top: 0px !important;
margin-bottom: 6px !important;
margin-left: -30px;
}

nav.in-this-section {
margin-bottom: 20px !important;
margin-left: 30px;
}
8 changes: 7 additions & 1 deletion docs/include.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@

<br />
..
.. usually used as |br|\ to remove the leading space of the following line
.. |hr-dashed| raw:: html

<hr class="hr-dashed" />
..
.. |hr-heavy| raw:: html

<hr class="hr-heavy" />
..
.. |ED| raw:: html

Expand Down
24 changes: 19 additions & 5 deletions docs/operation/consist-follow-functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ By default, in |ed|, if you activate a DCC function while controlling a Consist/

The following document provides information on the different rule types and how to use them.

This document is in two distinct sections

* Overview
* Consist Function Follow Preferences - Detailed Reference
.. contents:: This document is in two distinct sections
:depth: 2
:local:
:class: in-this-section

Overview
========
Expand Down Expand Up @@ -183,6 +183,8 @@ Options for 'Consist Functions - Follow Rule Styles' preference are:

*Note: For all Text Matching, case sensitivity is not required, meaning Lower and Uppercase labels will result in a successful match for a given function.*

|HR-DASHED|

'Simple Text Matching (original)' Option
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -198,6 +200,8 @@ The following additional preferences are enabled if the 'Simple Text Matching (o

This form of |ed| consisting is very simple to use and covers a large majority of situations in which the key functions restricted to the lead loco are Lights/Horn/Bell and the remainder are not propagated (or not used).

|HR-DASHED|

'Complex' Matching
~~~~~~~~~~~~~~~~~~

Expand All @@ -210,6 +214,8 @@ This form of |ed| consist function matching allows you to specify the labels of
* The loco (or locos in a consist) must be selected from the roster.
* Some or all the rules need to be configured

|HR-DASHED|

The three 'Special' Matching Options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -271,7 +277,9 @@ e.g.
* "Light" (the base) will partially match to "Headlight" or "Ditch Light" (the compared).
* "Headlight" (the base) WILL NOT partially match to "Light" (the compared).

----
|HR-HEAVY|

|HR-HEAVY|

Consist Function Follow Preferences - Detailed Reference
========================================================
Expand Down Expand Up @@ -310,6 +318,8 @@ Options:

These options are described below in detail.

|HR-DASHED|

Simple Consisting Option and Related Preferences
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -343,6 +353,8 @@ If this preference is enabled, F2 one is always treated as a sound and is always

This preference is ignored if 'Complex' or 'Special' options are selected in the 'Consist Functions - Follow Rule Style' preference.

|HR-DASHED|

'Complex' Text matching Option
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -423,6 +435,8 @@ This applies to Action for String 2, Action for String 3, Action for String 4, A

For the 'Complex' option only. This preference is ignored if 'Simple' or 'Special' options are selected in the 'Consist Functions - Follow Rule Style' preference.

|HR-DASHED|

'Special' Consist Function Matching Options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 439f3e6

Please sign in to comment.