diff --git a/Gruntfile.js b/Gruntfile.js index d4551a8ffeb29ced36c40f36eb7f03f3d7a8ef27..90f29726be0da2645ca8ba7453075271b6f5da1a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,12 +8,13 @@ module.exports = function(grunt) { pkg: grunt.file.readJSON('package.json'), + // open : { + // default : { + // path: 'http://localhost:9000/dist/index.html', + // } + // }, + // CSS Build - open : { - default : { - path: 'http://localhost:9000/dist/index.html', - } - }, postcss: { options: { map: { @@ -109,6 +110,6 @@ module.exports = function(grunt) { //'serve', - grunt.registerTask('default', ['copy', 'postcss', 'connect', 'open', 'watch']); + grunt.registerTask('default', ['copy', 'postcss', 'connect', 'watch']); }; \ No newline at end of file diff --git a/dist/snap-image.html b/dist/snap-image.html deleted file mode 100644 index 6ee5300e72fb798f48c309f175f96d584cf68417..0000000000000000000000000000000000000000 --- a/dist/snap-image.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - Page Title - - - - - - - - - -

Entering that gable-ended Spouter-Inn, you found yourself in a wide, low, straggling entry with old-fashioned wainscots, reminding one of the bulwarks of some condemned old craft. On one side hung a very large oilpainting so thoroughly besmoked, and every way defaced, that in the unequal crosslights by which you viewed it, it was only by diligent study and a series of systematic visits to it, and careful inquiry of the neighbors, that you could any way arrive at an understanding of its purpose. Such unaccountable masses of shades and shadows, that at first you almost thought some ambitious young artist, in the time of the New England hags, had endeavored to delineate chaos bewitched. But by dint of much and earnest contemplation, and oft repeated ponderings, and especially by throwing open the little window towards the back of the entry, you at last come to the conclusion that such an idea, however wild, might not be altogether unwarranted.

-
-

But what most puzzled and confounded you was a long, limber, portentous, black mass of something hovering in the centre of the picture over three blue, dim, perpendicular lines floating in a nameless yeast. A boggy, soggy, squitchy picture truly, enough to drive a nervous man distracted. Yet was there a sort of indefinite, half-attained, unimaginable sublimity about it that fairly froze you to it, till you involuntarily took an oath with yourself to find out what that marvellous painting meant. Ever and anon a bright, but, alas, deceptive idea would dart you through.—It’s the Black Sea in a midnight gale.—It’s the unnatural combat of the four primal elements.—It’s a blasted heath.—It’s a Hyperborean winter scene.—It’s the breaking-up of the icebound stream of Time. But at last all these fancies yielded to that one portentous something in the picture’s midst. THAT once found out, and all the rest were plain. But stop; does it not bear a faint resemblance to a gigantic fish? even the great leviathan himself?

-

In fact, the artist’s design seemed this: a final theory of my own, partly based upon the aggregated opinions of many aged persons with whom I conversed upon the subject. The picture represents a Cape-Horner in a great hurricane; the half-foundered ship weltering there with its three dismantled masts alone visible; and an exasperated whale, purposing to spring clean over the craft, is in the enormous act of impaling himself upon the three mast-heads.

-

The opposite wall of this entry was hung all over with a heathenish array of monstrous clubs and spears. Some were thickly set with glittering teeth resembling ivory saws; others were tufted with knots of human hair; and one was sickle-shaped, with a vast handle sweeping round like the segment made in the new-mown grass by a long-armed mower. You shuddered as you gazed, and wondered what monstrous cannibal and savage could ever have gone a death-harvesting with such a hacking, horrifying implement. Mixed with these were rusty old whaling lances and harpoons all broken and deformed. Some were storied weapons. With this once long lance, now wildly elbowed, fifty years ago did Nathan Swain kill fifteen whales between a sunrise and a sunset. And that harpoon—so like a corkscrew now—was flung in Javan seas, and run away with by a whale, years afterwards slain off the Cape of Blanco. The original iron entered nigh the tail, and, like a restless needle sojourning in the body of a man, travelled full forty feet, and at last was found imbedded in the hump.

-

Crossing this dusky entry, and on through yon low-arched way—cut through what in old times must have been a great central chimney with fireplaces all round—you enter the public room. A still duskier place is this, with such low ponderous beams above, and such old wrinkled planks beneath, that you would almost fancy you trod some old craft’s cockpits, especially of such a howling night, when this corner-anchored old ark rocked so furiously. On one side stood a long, low, shelf-like table covered with cracked glass cases, filled with dusty rarities gathered from this wide world’s remotest nooks. Projecting from the further angle of the room stands a dark-looking den—the bar—a rude attempt at a right whale’s head. Be that how it may, there stands the vast arched bone of the whale’s jaw, so wide, a coach might almost drive beneath it. Within are shabby shelves, ranged round with old decanters, bottles, flasks; and in those jaws of swift destruction, like another cursed Jonah (by which name indeed they called him), bustles a little withered old man, who, for their money, dearly sells the sailors deliriums and death.

-

Abominable are the tumblers into which he pours his poison. Though true cylinders without—within, the villanous green goggling glasses deceitfully tapered downwards to a cheating bottom. Parallel meridians rudely pecked into the glass, surround these footpads’ goblets. Fill to THIS mark, and your charge is but a penny; to THIS a penny more; and so on to the full glass—the Cape Horn measure, which you may gulp down for a shilling; and so on to the full glass—the Cape Horn measure, which you may gulp down for a shilling.

-
-

Upon entering the place I found a number of young seamen gathered about a table, examining by a dim light divers specimens of SKRIMSHANDER. I sought the landlord, and telling him I desired to be accommodated with a room, received for answer that his house was full—not a bed unoccupied. “But avast,” he added, tapping his forehead, “you haint no objections to sharing a harpooneer’s blanket, have ye? I s’pose you are goin’ a-whalin’, so you’d better get used to that sort of thing.”

-

I told him that I never liked to sleep two in a bed; that if I should ever do so, it would depend upon who the harpooneer might be, and that if he (the landlord) really had no other place for me, and the harpooneer was not decidedly objectionable, why rather than wander further about a strange town on so bitter a night, I would put up with the half of any decent man’s blanket.

-

“I thought so. All right; take a seat. Supper?—you want supper? Supper’ll be ready directly.”

-

I sat down on an old wooden settle, carved all over like a bench on the Battery. At one end a ruminating tar was still further adorning it with his jack-knife, stooping over and diligently working away at the space between his legs. He was trying his hand at a ship under full sail, but he didn’t make much headway, I thought.

-

At last some four or five of us were summoned to our meal in an adjoining room. It was cold as Iceland—no fire at all—the landlord said he couldn’t afford it. Nothing but two dismal tallow candles, each in a winding sheet. We were fain to button up our monkey jackets, and hold to our lips cups of scalding tea with our half frozen fingers. But the fare was of the most substantial kind—not only meat and potatoes, but dumplings; good heavens! dumplings for supper! One young fellow in a green box coat, addressed himself to these dumplings in a most direful manner.

-

“My boy,” said the landlord, “you’ll have the nightmare to a dead sartainty.”

-

“Landlord,” I whispered, “that aint the harpooneer is it?”

-

“Oh, no,” said he, looking a sort of diabolically funny, “the harpooneer is a dark complexioned chap. He never eats dumplings, he don’t—he eats nothing but steaks, and he likes ’em rare.”

-

“The devil he does,” says I. “Where is that harpooneer? Is he here?”

-

“He’ll be here afore long,” was the answer.

-
-

I could not help it, but I began to feel suspicious of this “dark complexioned" harpooneer. At any rate, I made up my mind that if it so turned out that we should sleep together, he must undress and get into bed before I did.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Council budgets (in £) 2018
ItemsYorkshireLancashire
Donuts3,0005,000
Stationary18,00017,000
Stationary18,00017,000
Totals21,00022,000
-

Supper over, the company went back to the bar-room, when, knowing not what else to do with myself, I resolved to spend the rest of the evening as a looker on.

-

Presently a rioting noise was heard without. Starting up, the landlord cried, “That’s the Grampus’s crew. I seed her reported in the offing this morning; a three years’ voyage, and a full ship. Hurrah, boys; now we’ll have the latest news from the Feegees.”

-

A tramping of sea boots was heard in the entry; the door was flung open, and in rolled a wild set of mariners enough. Enveloped in their shaggy watch coats, and with their heads muffled in woollen comforters, all bedarned and ragged, and their beards stiff with icicles, they seemed an eruption of bears from Labrador. They had just landed from their boat, and this was the first house they entered. No wonder, then, that they made a straight wake for the whale’s mouth—the bar—when the wrinkled little old Jonah, there officiating, soon poured them out brimmers all round. One complained of a bad cold in his head, upon which Jonah mixed him a pitch-like potion of gin and molasses, which he swore was a sovereign cure for all colds and catarrhs whatsoever, never mind of how long standing, or whether caught off the coast of Labrador, or on the weather side of an ice-island.

-

The liquor soon mounted into their heads, as it generally does even with the arrantest topers newly landed from sea, and they began capering about most obstreperously.

- -
ul {
-            list-style-type: bullet;
-        }
-
-

I observed, however, that one of them held somewhat aloof, and though he seemed desirous not to spoil the hilarity of his shipmates by his own sober face, yet upon the whole he refrained from making as much noise as the rest. This man interested me at once; and since the sea-gods had ordained that he should soon become my shipmate (though but a sleeping-partner one, so far as this narrative is concerned), I will here venture upon a little description of him. He stood full six feet in height, with noble shoulders, and a chest like a coffer-dam. I have seldom seen such brawn in a man. His face was deeply brown and burnt, making his white teeth dazzling by the contrast; while in the deep shadows of his eyes floated some reminiscences that did not seem to give him much joy. His voice at once announced that he was a Southerner, and from his fine stature, I thought he must be one of those tall mountaineers from the Alleghanian Ridge in Virginia. When the revelry of his companions had mounted to its height, this man slipped away unobserved, and I saw no more of him till he became my comrade on the sea. In a few minutes, however, he was missed by his shipmates, and being, it seems, for some reason a huge favourite with them, they raised a cry of “Bulkington! Bulkington! where’s Bulkington?” and darted out of the house in pursuit of him.

-

It was now about nine o’clock, and the room seeming almost supernaturally quiet after these orgies, I began to congratulate myself upon a little plan that had occurred to me just previous to the entrance of the seamen.

-

No man prefers to sleep two in a bed. In fact, you would a good deal rather not sleep with your own brother. I don’t know how it is, but people like to be private when they are sleeping. And when it comes to sleeping with an unknown stranger, in a strange inn, in a strange town, and that stranger a harpooneer, then your objections indefinitely multiply. Nor was there any earthly reason why I as a sailor should sleep two in a bed, more than anybody else; for sailors no more sleep two in a bed at sea, than bachelor Kings do ashore. To be sure they all sleep together in one apartment, but you have your own hammock, and cover yourself with your own blanket, and sleep in your own skin.

-

The more I pondered over this harpooneer, the more I abominated the thought of sleeping with him. It was fair to presume that being a harpooneer, his linen or woollen, as the case might be, would not be of the tidiest, certainly none of the finest. I began to twitch all over. Besides, it was getting late, and my decent harpooneer ought to be home and going bedwards. Suppose now, he should tumble in upon me at midnight—how could I tell from what vile hole he had been coming?

-

“Landlord! I’ve changed my mind about that harpooneer.—I shan’t sleep with him. I’ll try the bench here.”

-

“Just as you please; I’m sorry I cant spare ye a tablecloth for a mattress, and it’s a plaguy rough board here”—feeling of the knots and notches. “But wait a bit, Skrimshander; I’ve got a carpenter’s plane there in the bar—wait, I say, and I’ll make ye snug enough.” So saying he procured the plane; and with his old silk handkerchief first dusting the bench, vigorously set to planing away at my bed, the while grinning like an ape. The shavings flew right and left; till at last the plane-iron came bump against an indestructible knot. The landlord was near spraining his wrist, and I told him for heaven’s sake to quit—the bed was soft enough to suit me, and I did not know how all the planing in the world could make eider down of a pine plank. So gathering up the shavings with another grin, and throwing them into the great stove in the middle of the room, he went about his business, and left me in a brown study.

-

I now took the measure of the bench, and found that it was a foot too short; but that could be mended with a chair. But it was a foot too narrow, and the other bench in the room was about four inches higher than the planed one—so there was no yoking them. I then placed the first bench lengthwise along the only clear space against the wall, leaving a little interval between, for my back to settle down in. But I soon found that there came such a draught of cold air over me from under the sill of the window, that this plan would never do at all, especially as another current from the rickety door met the one from the window, and both together formed a series of small whirlwinds in the immediate vicinity of the spot where I had thought to spend the night.

-

The devil fetch that harpooneer, thought I, but stop, couldn’t I steal a march on him—bolt his door inside, and jump into his bed, not to be wakened by the most violent knockings? It seemed no bad idea; but upon second thoughts I dismissed it. For who could tell but what the next morning, so soon as I popped out of the room, the harpooneer might be standing in the entry, all ready to knock me down!

-

Still, looking round me again, and seeing no possible chance of spending a sufferable night unless in some other person’s bed, I began to think that after all I might be cherishing unwarrantable prejudices against this unknown harpooneer. Thinks I, I’ll wait awhile; he must be dropping in before long. I’ll have a good look at him then, and perhaps we may become jolly good bedfellows after all—there’s no telling.

-

But though the other boarders kept coming in by ones, twos, and threes, and going to bed, yet no sign of my harpooneer.

- - - - diff --git a/src/content/example.html b/src/content/example.html deleted file mode 100644 index 5b77d511a3236105cf703c6b595b5ddc8dd1d831..0000000000000000000000000000000000000000 --- a/src/content/example.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - Page Title - - - - - - -
-

花男

-

松本 大洋

-
- -

Welcome to your first paged media printed document!

- -
-

The cover photo, taken by Steve Roe, comes from
https://unsplash.com/photos/bO9RJQ9J1mE

-

the Kawaii font comes from
http://font.spicy-sweet.com/

-

happy times at the Ikob, designed by Lucas Le Bihan is available from
https://velvetyne.fr/fonts/happy-times/

-

Lack, designed by Adrien Midzic is available from
https://velvetyne.fr/fonts/lack/

- -
- - - \ No newline at end of file diff --git a/src/content/snap-image.html b/src/content/snap-image.html deleted file mode 100644 index 6ee5300e72fb798f48c309f175f96d584cf68417..0000000000000000000000000000000000000000 --- a/src/content/snap-image.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - Page Title - - - - - - - - - -

Entering that gable-ended Spouter-Inn, you found yourself in a wide, low, straggling entry with old-fashioned wainscots, reminding one of the bulwarks of some condemned old craft. On one side hung a very large oilpainting so thoroughly besmoked, and every way defaced, that in the unequal crosslights by which you viewed it, it was only by diligent study and a series of systematic visits to it, and careful inquiry of the neighbors, that you could any way arrive at an understanding of its purpose. Such unaccountable masses of shades and shadows, that at first you almost thought some ambitious young artist, in the time of the New England hags, had endeavored to delineate chaos bewitched. But by dint of much and earnest contemplation, and oft repeated ponderings, and especially by throwing open the little window towards the back of the entry, you at last come to the conclusion that such an idea, however wild, might not be altogether unwarranted.

-
-

But what most puzzled and confounded you was a long, limber, portentous, black mass of something hovering in the centre of the picture over three blue, dim, perpendicular lines floating in a nameless yeast. A boggy, soggy, squitchy picture truly, enough to drive a nervous man distracted. Yet was there a sort of indefinite, half-attained, unimaginable sublimity about it that fairly froze you to it, till you involuntarily took an oath with yourself to find out what that marvellous painting meant. Ever and anon a bright, but, alas, deceptive idea would dart you through.—It’s the Black Sea in a midnight gale.—It’s the unnatural combat of the four primal elements.—It’s a blasted heath.—It’s a Hyperborean winter scene.—It’s the breaking-up of the icebound stream of Time. But at last all these fancies yielded to that one portentous something in the picture’s midst. THAT once found out, and all the rest were plain. But stop; does it not bear a faint resemblance to a gigantic fish? even the great leviathan himself?

-

In fact, the artist’s design seemed this: a final theory of my own, partly based upon the aggregated opinions of many aged persons with whom I conversed upon the subject. The picture represents a Cape-Horner in a great hurricane; the half-foundered ship weltering there with its three dismantled masts alone visible; and an exasperated whale, purposing to spring clean over the craft, is in the enormous act of impaling himself upon the three mast-heads.

-

The opposite wall of this entry was hung all over with a heathenish array of monstrous clubs and spears. Some were thickly set with glittering teeth resembling ivory saws; others were tufted with knots of human hair; and one was sickle-shaped, with a vast handle sweeping round like the segment made in the new-mown grass by a long-armed mower. You shuddered as you gazed, and wondered what monstrous cannibal and savage could ever have gone a death-harvesting with such a hacking, horrifying implement. Mixed with these were rusty old whaling lances and harpoons all broken and deformed. Some were storied weapons. With this once long lance, now wildly elbowed, fifty years ago did Nathan Swain kill fifteen whales between a sunrise and a sunset. And that harpoon—so like a corkscrew now—was flung in Javan seas, and run away with by a whale, years afterwards slain off the Cape of Blanco. The original iron entered nigh the tail, and, like a restless needle sojourning in the body of a man, travelled full forty feet, and at last was found imbedded in the hump.

-

Crossing this dusky entry, and on through yon low-arched way—cut through what in old times must have been a great central chimney with fireplaces all round—you enter the public room. A still duskier place is this, with such low ponderous beams above, and such old wrinkled planks beneath, that you would almost fancy you trod some old craft’s cockpits, especially of such a howling night, when this corner-anchored old ark rocked so furiously. On one side stood a long, low, shelf-like table covered with cracked glass cases, filled with dusty rarities gathered from this wide world’s remotest nooks. Projecting from the further angle of the room stands a dark-looking den—the bar—a rude attempt at a right whale’s head. Be that how it may, there stands the vast arched bone of the whale’s jaw, so wide, a coach might almost drive beneath it. Within are shabby shelves, ranged round with old decanters, bottles, flasks; and in those jaws of swift destruction, like another cursed Jonah (by which name indeed they called him), bustles a little withered old man, who, for their money, dearly sells the sailors deliriums and death.

-

Abominable are the tumblers into which he pours his poison. Though true cylinders without—within, the villanous green goggling glasses deceitfully tapered downwards to a cheating bottom. Parallel meridians rudely pecked into the glass, surround these footpads’ goblets. Fill to THIS mark, and your charge is but a penny; to THIS a penny more; and so on to the full glass—the Cape Horn measure, which you may gulp down for a shilling; and so on to the full glass—the Cape Horn measure, which you may gulp down for a shilling.

-
-

Upon entering the place I found a number of young seamen gathered about a table, examining by a dim light divers specimens of SKRIMSHANDER. I sought the landlord, and telling him I desired to be accommodated with a room, received for answer that his house was full—not a bed unoccupied. “But avast,” he added, tapping his forehead, “you haint no objections to sharing a harpooneer’s blanket, have ye? I s’pose you are goin’ a-whalin’, so you’d better get used to that sort of thing.”

-

I told him that I never liked to sleep two in a bed; that if I should ever do so, it would depend upon who the harpooneer might be, and that if he (the landlord) really had no other place for me, and the harpooneer was not decidedly objectionable, why rather than wander further about a strange town on so bitter a night, I would put up with the half of any decent man’s blanket.

-

“I thought so. All right; take a seat. Supper?—you want supper? Supper’ll be ready directly.”

-

I sat down on an old wooden settle, carved all over like a bench on the Battery. At one end a ruminating tar was still further adorning it with his jack-knife, stooping over and diligently working away at the space between his legs. He was trying his hand at a ship under full sail, but he didn’t make much headway, I thought.

-

At last some four or five of us were summoned to our meal in an adjoining room. It was cold as Iceland—no fire at all—the landlord said he couldn’t afford it. Nothing but two dismal tallow candles, each in a winding sheet. We were fain to button up our monkey jackets, and hold to our lips cups of scalding tea with our half frozen fingers. But the fare was of the most substantial kind—not only meat and potatoes, but dumplings; good heavens! dumplings for supper! One young fellow in a green box coat, addressed himself to these dumplings in a most direful manner.

-

“My boy,” said the landlord, “you’ll have the nightmare to a dead sartainty.”

-

“Landlord,” I whispered, “that aint the harpooneer is it?”

-

“Oh, no,” said he, looking a sort of diabolically funny, “the harpooneer is a dark complexioned chap. He never eats dumplings, he don’t—he eats nothing but steaks, and he likes ’em rare.”

-

“The devil he does,” says I. “Where is that harpooneer? Is he here?”

-

“He’ll be here afore long,” was the answer.

-
-

I could not help it, but I began to feel suspicious of this “dark complexioned" harpooneer. At any rate, I made up my mind that if it so turned out that we should sleep together, he must undress and get into bed before I did.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Council budgets (in £) 2018
ItemsYorkshireLancashire
Donuts3,0005,000
Stationary18,00017,000
Stationary18,00017,000
Totals21,00022,000
-

Supper over, the company went back to the bar-room, when, knowing not what else to do with myself, I resolved to spend the rest of the evening as a looker on.

-

Presently a rioting noise was heard without. Starting up, the landlord cried, “That’s the Grampus’s crew. I seed her reported in the offing this morning; a three years’ voyage, and a full ship. Hurrah, boys; now we’ll have the latest news from the Feegees.”

-

A tramping of sea boots was heard in the entry; the door was flung open, and in rolled a wild set of mariners enough. Enveloped in their shaggy watch coats, and with their heads muffled in woollen comforters, all bedarned and ragged, and their beards stiff with icicles, they seemed an eruption of bears from Labrador. They had just landed from their boat, and this was the first house they entered. No wonder, then, that they made a straight wake for the whale’s mouth—the bar—when the wrinkled little old Jonah, there officiating, soon poured them out brimmers all round. One complained of a bad cold in his head, upon which Jonah mixed him a pitch-like potion of gin and molasses, which he swore was a sovereign cure for all colds and catarrhs whatsoever, never mind of how long standing, or whether caught off the coast of Labrador, or on the weather side of an ice-island.

-

The liquor soon mounted into their heads, as it generally does even with the arrantest topers newly landed from sea, and they began capering about most obstreperously.

- -
ul {
-            list-style-type: bullet;
-        }
-
-

I observed, however, that one of them held somewhat aloof, and though he seemed desirous not to spoil the hilarity of his shipmates by his own sober face, yet upon the whole he refrained from making as much noise as the rest. This man interested me at once; and since the sea-gods had ordained that he should soon become my shipmate (though but a sleeping-partner one, so far as this narrative is concerned), I will here venture upon a little description of him. He stood full six feet in height, with noble shoulders, and a chest like a coffer-dam. I have seldom seen such brawn in a man. His face was deeply brown and burnt, making his white teeth dazzling by the contrast; while in the deep shadows of his eyes floated some reminiscences that did not seem to give him much joy. His voice at once announced that he was a Southerner, and from his fine stature, I thought he must be one of those tall mountaineers from the Alleghanian Ridge in Virginia. When the revelry of his companions had mounted to its height, this man slipped away unobserved, and I saw no more of him till he became my comrade on the sea. In a few minutes, however, he was missed by his shipmates, and being, it seems, for some reason a huge favourite with them, they raised a cry of “Bulkington! Bulkington! where’s Bulkington?” and darted out of the house in pursuit of him.

-

It was now about nine o’clock, and the room seeming almost supernaturally quiet after these orgies, I began to congratulate myself upon a little plan that had occurred to me just previous to the entrance of the seamen.

-

No man prefers to sleep two in a bed. In fact, you would a good deal rather not sleep with your own brother. I don’t know how it is, but people like to be private when they are sleeping. And when it comes to sleeping with an unknown stranger, in a strange inn, in a strange town, and that stranger a harpooneer, then your objections indefinitely multiply. Nor was there any earthly reason why I as a sailor should sleep two in a bed, more than anybody else; for sailors no more sleep two in a bed at sea, than bachelor Kings do ashore. To be sure they all sleep together in one apartment, but you have your own hammock, and cover yourself with your own blanket, and sleep in your own skin.

-

The more I pondered over this harpooneer, the more I abominated the thought of sleeping with him. It was fair to presume that being a harpooneer, his linen or woollen, as the case might be, would not be of the tidiest, certainly none of the finest. I began to twitch all over. Besides, it was getting late, and my decent harpooneer ought to be home and going bedwards. Suppose now, he should tumble in upon me at midnight—how could I tell from what vile hole he had been coming?

-

“Landlord! I’ve changed my mind about that harpooneer.—I shan’t sleep with him. I’ll try the bench here.”

-

“Just as you please; I’m sorry I cant spare ye a tablecloth for a mattress, and it’s a plaguy rough board here”—feeling of the knots and notches. “But wait a bit, Skrimshander; I’ve got a carpenter’s plane there in the bar—wait, I say, and I’ll make ye snug enough.” So saying he procured the plane; and with his old silk handkerchief first dusting the bench, vigorously set to planing away at my bed, the while grinning like an ape. The shavings flew right and left; till at last the plane-iron came bump against an indestructible knot. The landlord was near spraining his wrist, and I told him for heaven’s sake to quit—the bed was soft enough to suit me, and I did not know how all the planing in the world could make eider down of a pine plank. So gathering up the shavings with another grin, and throwing them into the great stove in the middle of the room, he went about his business, and left me in a brown study.

-

I now took the measure of the bench, and found that it was a foot too short; but that could be mended with a chair. But it was a foot too narrow, and the other bench in the room was about four inches higher than the planed one—so there was no yoking them. I then placed the first bench lengthwise along the only clear space against the wall, leaving a little interval between, for my back to settle down in. But I soon found that there came such a draught of cold air over me from under the sill of the window, that this plan would never do at all, especially as another current from the rickety door met the one from the window, and both together formed a series of small whirlwinds in the immediate vicinity of the spot where I had thought to spend the night.

-

The devil fetch that harpooneer, thought I, but stop, couldn’t I steal a march on him—bolt his door inside, and jump into his bed, not to be wakened by the most violent knockings? It seemed no bad idea; but upon second thoughts I dismissed it. For who could tell but what the next morning, so soon as I popped out of the room, the harpooneer might be standing in the entry, all ready to knock me down!

-

Still, looking round me again, and seeing no possible chance of spending a sufferable night unless in some other person’s bed, I began to think that after all I might be cherishing unwarrantable prejudices against this unknown harpooneer. Thinks I, I’ll wait awhile; he must be dropping in before long. I’ll have a good look at him then, and perhaps we may become jolly good bedfellows after all—there’s no telling.

-

But though the other boarders kept coming in by ones, twos, and threes, and going to bed, yet no sign of my harpooneer.

- - - - diff --git a/src/css/book.css b/src/css/book.css index c13cfefdb00980c8fc77b053a44cd1c3c1d65959..128fffb69e5616b4a4fd5ab47773e627abe16e6f 100755 --- a/src/css/book.css +++ b/src/css/book.css @@ -7,25 +7,15 @@ @import "modules/vars.css"; -/* Parts of the content */ -@import "modules/body.css"; -@import "modules/header.css"; -@import "modules/list.css"; -@import "modules/pictures.css"; -@import "modules/table.css"; -@import "modules/code.css"; - - /* paged js interface and screen view css */ @import "interface/interface.css"; /* baseline helper */ -@import "interface/baseline.css"; +/* @import "interface/baseline.css"; */ /* hack for stuff not implemented yet */ @import "interface/hack.css"; - /* css for the layouts */ @import "modules/layout.css"; diff --git a/src/css/interface/hack.css b/src/css/interface/hack.css index cfbe02e94e24766d849d239ebcc680e6e5635614..8b56c6c0cf309562c4c9234d0c31c8c3beeb5f54 100644 --- a/src/css/interface/hack.css +++ b/src/css/interface/hack.css @@ -1,16 +1,4 @@ /* here come some simple hacks for features that are not yet in paged js */ -/* simple break solution */ - -.break { - break-after: page; -} - - -/* data split */ -/* hack for the justification of the first part of a paragraph splitted */ -p[data-split-original="true"] { - text-align-last: justify; -} diff --git a/src/css/interface/interface.css b/src/css/interface/interface.css index eafd6097c44db207a44bd5e0bba10cf2a7edc954..9a48efdff1937d73fabaf7e10a3bbe86fa49f560 100644 --- a/src/css/interface/interface.css +++ b/src/css/interface/interface.css @@ -1,6 +1,5 @@ - - /* To define how the book look on the screen: */ + @media screen { body { background-color: var(--color-background); @@ -11,6 +10,7 @@ flex: 0; flex-wrap: wrap; margin: 0 auto; + margin-bottom: 3em; } .pagedjs_page { background-color: var(--color-paper); @@ -25,13 +25,6 @@ } - /* show the margin-box */ - - .pagedjs_margin-content - { - box-shadow: 0 0 0 1px inset var(--color-marginBox); - } - /* uncomment for recto/verso book. --------------------------------------------------- */ @@ -48,7 +41,4 @@ margin: 0 auto; margin-top: 10mm; } */ - - - } \ No newline at end of file diff --git a/src/css/modules/body.css b/src/css/modules/body.css index be108458bdcb8af40cfbcd55fc95beef55a00c3e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/src/css/modules/body.css +++ b/src/css/modules/body.css @@ -1,93 +0,0 @@ -/* General CSS for contents */ - -html { - font-family: var(--font-body); - font-weight: normal; - font-size: var(--font-size); - color: var(--color-body); - font-kerning: normal; -} - -p, cite, li { - font-size: var(--font-size); - line-height: var(--font-lineHeight); - text-align: justify; - margin: 0; - padding: 0; - /* hyphens: auto; */ - widows: 2; - orphans: 2; -} - - -em, -.italic { - font-style: italic; -} - - -a { - font-family: var(--font-bodyLink); - color: currentColor; - text-decoration: none; - word-break: break-all; - &:hover { - color: var(--color-secondary); - border-bottom: 1px solid var(--color-secondary); - } -} - -strong em { - font-weight: bold; - font-style: italic; -} - -blockquote { - display: block; - margin-top: var(--font-lineHeight); - margin-bottom: var(--font-lineHeight); - margin-left: var(--indent-block); - margin-right: var(--indent-block); - - cite, .caption{ - font-style: italic; - margin-right: 12px; - &:before { - content: "– "; - } - } - - p+p { - margin-top: 0 - } -} - -sup { - font-size: var(--font-size) * 0.5; - font-weight: inherit; - position: relative; - top: -3px; - vertical-align: baseline; -} - - -hr { - &:after { - content: "* * *"; - display: block; - text-align: center; - } - break-before: avoid; - margin-top: calc(var(--font-lineHeight)*1.5); - margin-bottom: calc(var(--font-lineHeight)*1.5); - border: none; -} - -.small-caps { - font-variant-caps: all-small-caps; -} - -.old-style-figures { - font-feature-settings: "onum"; -} - diff --git a/src/css/modules/code.css b/src/css/modules/code.css index 087a68fbed3ed449b887fa2ad9c2f7326cca156b..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/src/css/modules/code.css +++ b/src/css/modules/code.css @@ -1,22 +0,0 @@ -code { - /* font-size: 0.8em; */ - background-color: var(--color-code); - font-family: var(--font-code); - font-size: calc(var(--font-size)*0.8); - line-height: 1; - font-weight: normal; -} - - - -pre { - line-height: var(--font-lineHeight); - font-weight: normal; - display: block; - width: 100%; - white-space: pre-wrap; - word-break: break-all; - background-color: var(--color-code); - padding: calc(var(--font-lineHeight)*0.5) var(--indent-block); - margin: var(--font-lineHeight) 0; -} \ No newline at end of file diff --git a/src/css/modules/fonts.css b/src/css/modules/fonts.css index 82956ab03161f75d95983de551170023af2aac69..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/src/css/modules/fonts.css +++ b/src/css/modules/fonts.css @@ -1,37 +0,0 @@ -/* to show example of how to add new fonts */ - -@font-face { - font-family: 'ktegaki'; - src: url('../fonts/ktegaki-web.woff2') format('woff2'), - url('../fonts/ktegaki-web.woff') format('woff'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'lack'; - src: url('../fonts/Lack-Italic.woff2') format('woff2'), url('../fonts/Lack-Italic.woff') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'lack'; - src: url('../fonts/Lack-Regular.woff2') format('woff2'), url('../fonts/Lack-Regular.woff') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'happy'; - src: url('../fonts/happy-times-at-the-ikob_italic-webfont.woff2') format('woff2'), url('../fonts/happy-times-at-the-ikob_italic-webfont.woff') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'happy'; - src: url('../fonts/happy-times-at-the-ikob-webfont.woff2') format('woff2'), url('../fonts/happy-times-at-the-ikob-webfont.woff') format('woff'); - font-weight: 400; - font-style: normal; -} \ No newline at end of file diff --git a/src/css/modules/header.css b/src/css/modules/header.css index 43e24de216cda581fe74e58d55e9be63ae70c902..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/src/css/modules/header.css +++ b/src/css/modules/header.css @@ -1,57 +0,0 @@ -/* The ways all the titles appears */ - -h1 { - font-family: var(--font-head); - font-size: 5em; - line-height: calc(var(--font-lineHeight)*4); - margin: 0; - break-inside: avoid; - padding-bottom: calc(var(--font-lineHeight)*3); - - /* snap to the baseline (depend of the font-family and the font-size) */ - position: relative; - top: 6px; -} - - h2 { - margin: 0; - font-family: var(--font-head); - font-size: 2.4em; - line-height: calc(var(--font-lineHeight)*2); - break-inside: avoid; - break-after: avoid; - margin-top: calc(var(--font-lineHeight)*1); - padding-top: calc(var(--font-lineHeight)*0.75); - padding-bottom: calc(var(--font-lineHeight)*1.25); - - /* snap to the baseline (depend of the font-family and the font-size) */ - position: relative; - top: 5px; -} - -h3 { - margin: 0; - font-family: var(--font-head); - font-size: 1.1em; - line-height: calc(var(--font-lineHeight)*1); - break-inside: avoid; - break-after: avoid; - margin-top: calc(var(--font-lineHeight)*1); - padding-top: calc(var(--font-lineHeight)*0.5); - padding-bottom: calc(var(--font-lineHeight)* 0.5); -} - -h4 { - margin: 0; - font-family: var(--font-body); - font-style: italic; - font-weight: normal; - line-height: calc(var(--font-lineHeight)*1); - break-inside: avoid; - break-after: avoid; - margin-top: calc(var(--font-lineHeight)*1); -} - -h3 + h4 { - margin-top: 0; -} \ No newline at end of file diff --git a/src/css/modules/layout.css b/src/css/modules/layout.css index 117899b6c284f29eedf3d46248350bdb7fd5209a..d2ba11b0b16b1232863ea8d46244999c1bf92982 100644 --- a/src/css/modules/layout.css +++ b/src/css/modules/layout.css @@ -1,162 +1,4 @@ -/* set the running header from the html */ -.running-left { - string-set: leftTitleRun content(text); - -} -.running-right { - string-set: rightTitleRun content(text); -} - - -/* layout for all the pages -------------------------------------------------- */ - @page { - margin-top: 68px; - margin-bottom: 80px; - size: A5; -} - -/* blank page ------------------------------------------- */ -@page :blank { - @top-left-corner{ content: none; } - @top-left{ content: none; } - @top-center{ content: none; } - @top-right{ content: none; } - @top-right-corner{ content: none; } - @right-top{ content: none; } - @right-middle{ content: none; } - @right-bottom{ content: none; } - @bottom-right-corner{ content: none; } - @bottom-right{ content: none; } - @bottom-center{ content: none; } - @bottom-left{ content: none; } - @bottom-left-corner{ content: none; } - @left-bottom{ content: none; } - @left-middle{ content: none; } - @left-top{ content: none; } - -} - - -/* right page -------------------------------------------------- */ - -@page:right { - margin-left: 2cm; - margin-right: 4cm; - - @bottom-right { - content: string(rightTitleRun, first) " — " counter(page); - font-family: var(--font-head); - color: var(--color-three); - margin-top: -11px; - } - -} - - -/* left page -------------------------------------------------- */ - -@page:left { - margin-left: 3cm; - margin-right: 2cm; - - @bottom-left { - content: counter(page) " — " string(leftTitleRun, first) ; - font-family: var(--font-head); - color: var(--color-three); - margin-top: -11px; - } - -} - -/* style for the cover page -------------------------------------------------- */ -.cover { - page: cover; - break-after: right; - - h1 { - font-family: var(--font-japan); - font-style: normal; - font-weight: normal; - font-size: 12em; - writing-mode: vertical-rl; - color: gold; - margin-left: 80mm; - } - - - p { - font-family: var(--font-japan); - font-style: normal; - font-weight: normal; - text-align: right; - writing-mode: vertical-rl; - color: gold; - font-size: 3.5em; - margin-top: 2em; - margin-left: 80mm; - } -} - -/* layout for the cover page -------------------------------------------------- */ - -@page cover { - - margin-top: 20mm; - background: url(../images/steve-roe-776240-unsplash.jpg); - background-size: cover; - color: white; - - @top-left-corner{ content: none; } - @top-left{ content: none; } - @top-center{ content: none; } - @top-right{ content: none; } - @top-right-corner{ content: none; } - @right-top{ content: none; } - @right-middle{ content: none; } - @right-bottom{ content: none; } - @bottom-right-corner{ content: none; } - @bottom-right{ content: none; } - @bottom-center{ content: none; } - @bottom-left{ content: none; } - @bottom-left-corner{ content: none; } - @left-bottom{ content: none; } - @left-middle{ content: none; } - @left-top{ content: none; } - -} - - -/* style for the colophon page -------------------------------------------------- */ -.colophon { - page: colophon; - color: white; - - - p { - font-family: var(--font-japan); - font-style: normal; - font-weight: normal; - text-align: right; - text-align: center; - margin-bottom: 3em; - - } -} - -/* layout for the colophon page -------------------------------------------------- */ - -@page colophon { - margin-top: 40mm; - font-family: var(--font-body); - background: gold; - color: white; -} + size: A4; + margin: 20mm; +} \ No newline at end of file diff --git a/src/css/modules/list.css b/src/css/modules/list.css index 892de1b1c411f30e9dc67fab69f0031b6b82314a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/src/css/modules/list.css +++ b/src/css/modules/list.css @@ -1,26 +0,0 @@ -/* list */ - -ul, ol { - margin: 0; - padding: 0; - text-indent: 0; - margin-left: var(--indent-block); - margin-bottom: calc(var(--font-lineHeight)*0.5); - margin-top: calc(var(--font-lineHeight)*0.5); - hyphens: none; - list-style-position: outside; - font-variant-numeric: oldstyle-nums; - font-feature-settings: "onum"; - - li { - text-align: left; - } - - -} - -/* // unordered list */ - -ul { - list-style-type: bullet; -} \ No newline at end of file diff --git a/src/css/modules/pictures.css b/src/css/modules/pictures.css index abdce1748bf8daf635284f4174650641488831f3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/src/css/modules/pictures.css +++ b/src/css/modules/pictures.css @@ -1,35 +0,0 @@ -figure { - margin: 0; - text-indent: 0; - padding: 0; - page-break-inside: avoid; - width: 100%; - text-align: center; - margin-bottom: 0pt; - /* max-height: calc(var(--page-height)/3); */ - - - figcaption { - font-size: 12px; - font-style: normal; - text-indent: 0; - text-align: left; - font-size: 8pt; - line-height: 11pt; - - &:before { - font-style: italic; - } - } - - img { - margin-top: 6px; - margin-bottom: 1px; - width: 100%; - - } -} - -#img-1{ - /* height: calc(var(--font-lineHeight)*14 + 6px); */ -} \ No newline at end of file diff --git a/src/css/modules/table.css b/src/css/modules/table.css index e5da8b5f7fd56f4331ce477f24aaf22729496aac..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 --- a/src/css/modules/table.css +++ b/src/css/modules/table.css @@ -1,62 +0,0 @@ -/* table */ - -table { - font-family: var(--font-head); - font-size: 0.8em; - line-height: var(--font-lineHeight); - page-break-inside: avoid; - border-collapse: collapse; - border-top: 1pt solid var(--color-tableBody); - border-bottom: 1pt solid var(--color-tableBody); - border-left: 0; - border-right: 0; - width: 100%; - padding: 0; - margin-top: calc(var(--font-lineHeight)*1.5 - 2px); - margin-bottom: calc(var(--font-lineHeight)*2.5); -} - - -th { - text-align: center; - padding: 0; - font-weight: normal; -} - -td { - text-align: right; - padding: 0; -} - -caption, .table-caption { - text-align: center; - margin-bottom: calc(var(--font-lineHeight)*1); -} - -tbody tr:first-of-type { - th, td{ - padding-top: calc(var(--font-lineHeight)*0.5); - } -} - -tbody tr:last-of-type { - th, td{ - padding-bottom: calc(var(--font-lineHeight)*0.5); - } -} - -thead { - border-bottom: 1pt solid var(--color-tableBody); - th{ - padding-top: 6px; - padding-bottom: 9px; - } -} - -tfoot{ - border-top: 1pt solid var(--color-tableBody); - th{ - padding-top: 6px; - padding-bottom: 9px; - } -} \ No newline at end of file diff --git a/src/css/modules/vars.css b/src/css/modules/vars.css index 7f40410c6bf753d746277c5b5194a6bdef8335d2..ca4137930e6258f94b95a79b63fdd2a399b453c3 100755 --- a/src/css/modules/vars.css +++ b/src/css/modules/vars.css @@ -1,16 +1,5 @@ :root { - /* size for the page */ - --page-width: 110mm; - --page-height: 210mm; - --page-orientation: landscape; - - /* margin for the page */ - --margin-left: 5mm; - --margin-right: 10mm; - --margin-top: 30mm; - --margin-bottom: 30mm; - /* color for the interface */ --color-background: rgba(0, 0, 0, 0.2); @@ -19,36 +8,19 @@ --color-paper: white; /* color used for the baseline */ - --color-baseline: red; + --color-baseline: transparent; /* fonts for the book */ - --font-body: "happy"; - --font-head: "lack"; - --font-title: "lack"; - --font-code: "Courier New"; - --font-japan: "ktegaki"; - --font-smallCaps: "happy"; - --font-bodyLink: var(--font-head); /* colors */ - --color-body: black; - --color-primary: red; - --color-secondary: darkred; - --color-tableBody: grey; - --color-code: HoneyDew; - /* list variables */ + /* typographic related variables */ --font-size: 12px; --font-lineHeight: 16px; - --indent-block: calc(var(--font-lineHeight)*2); - - /* height of the x for the font labeur (for image calculation) */ - --height-x: 6px; - }