[FIX] hovering in intro

* fix markup so everything is back within .intro-list
* just glom all paragraphs below .intro-list, ignore <li>
This commit is contained in:
Xavier Morel 2015-03-16 10:21:29 +01:00
parent 0e8449f623
commit 32493c9c0f
3 changed files with 26 additions and 26 deletions

View File

@ -1,4 +1,4 @@
li > p {
.intro-list p {
margin: 0;
cursor: pointer;
}

View File

@ -107,7 +107,7 @@
target);
}
var list = document.querySelectorAll('.intro-list li > p');
var list = document.querySelectorAll('.intro-list p');
Array.prototype.forEach.call(list, function (node) {
node.addEventListener('mouseover', function (e) {
if (!e.currentTarget.contains(e.target)) { return; }

View File

@ -4,44 +4,44 @@
Accounting Memento For Entrepreneurs
====================================
.. rst-class:: intro-list
.. h:div:: intro-list
.. rst-class:: intro-p-l
.. rst-class:: intro-p-l
The **Profit and Loss** (P&L) report shows the performance of the company
over a specific period (usually the current year).
The **Profit and Loss** (P&L) report shows the performance of the company
over a specific period (usually the current year).
* .. rst-class:: intro-gross-profit
* .. rst-class:: intro-gross-profit
The **Gross Profit** equals the revenues from sales minus the cost of
goods sold.
* .. rst-class:: intro-opex
* .. rst-class:: intro-opex
**Operating Expenses** (OPEX) include administration, sales and R&D
salaries as well as rent and utilities, miscellaneous costs, insurances,
anything beyond the costs of products sold.
salaries as well as rent and utilities, miscellaneous costs, insurances,
anything beyond the costs of products sold.
.. rst-class:: intro-balance
.. rst-class:: intro-balance
The **Balance Sheet** is a snapshot of the company's finances at a specific
date (as opposed to the Profit and Loss which is an analysis over a period)
The **Balance Sheet** is a snapshot of the company's finances at a specific
date (as opposed to the Profit and Loss which is an analysis over a period)
* .. rst-class:: intro-assets
* .. rst-class:: intro-assets
**Assets** represent the company's wealth, things it owns. Fixed assets
includes building and offices, current assets include bank accounts and
cash. A client owing money is an asset. An employee is not an asset.
* .. rst-class:: intro-liabilities
* .. rst-class:: intro-liabilities
**Liabilities** are obligations from past events that the company will have to pay in the future (utility bills, debts, unpaid suppliers).
**Liabilities** are obligations from past events that the company will
have to pay in the future (utility bills, debts, unpaid suppliers).
* .. rst-class:: intro-equity
**Equity** is the amount of the funds contributed by the owners (founders or
shareholders) plus previously retained earnings (or losses).
* .. rst-class:: intro-equity
**Equity** is the amount of the funds contributed by the owners (founders
or shareholders) plus previously retained earnings (or losses).
.. h:div:: force-right accounts-table