help.html: assume even padding started out odd.

master
John Benediktsson 2020-02-26 10:03:35 -08:00
parent 6796daab79
commit 994ecb655b
2 changed files with 4 additions and 4 deletions

View File

@ -99,8 +99,8 @@ M: pathname url-of
R/ padding: \d+px;/ [ R/ padding: \d+px;/ [
"padding: " ?head drop "px;" ?tail drop "padding: " ?head drop "px;" ?tail drop
string>number dup even? [ 1 + ] when 2 * number>string string>number dup even? [ 2 * 1 + ] [ 2 * ] if
"padding: " "px;" surround number>string "padding: " "px;" surround
] re-replace-with ; ] re-replace-with ;
: css-classes ( classes -- stylesheet ) : css-classes ( classes -- stylesheet )

View File

@ -28,8 +28,8 @@ img {
table { table {
border-collapse: collapse; border-collapse: collapse;
margin-top: 10px; margin-top: 5px;
margin-bottom: 10px; margin-bottom: 5px;
} }
tr:hover { tr:hover {