[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,7 +4,7 @@
Accounting Memento For Entrepreneurs
====================================
.. rst-class:: intro-list
.. h:div:: intro-list
.. rst-class:: intro-p-l
@ -19,8 +19,8 @@ over a specific period (usually the current year).
* .. 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
@ -35,13 +35,13 @@ date (as opposed to the Profit and Loss which is an analysis over a period)
* .. 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).
**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