nlbdev / pipeline

NLB branch of the super-project that aggregates all Pipeline related code. See https://github.com/daisy/pipeline for the main branch.
http://repo.nlb.no/pipeline
3 stars 1 forks source link

Sidebar behaviour #193

Open KariRudjord opened 6 years ago

KariRudjord commented 6 years ago

Ask Liv Kristin if we should keep "Margtekst:" or make a new behaviour, e.g. a lime of c (14) to seprarate from ordinary text.

KariRudjord commented 5 years ago
behaviour checked with OUP, Liv Kristin 27.03.19. Change to this behaviour in CSS: 1 empty line before 1 whole line (from cell 3 with (36) Text as usual,

starting on cell 5 and from cell 3 from line two (like ordinary text) Remove the word Margtekst: in start of text 1 whole line (from cell 3 with (14) 1 empty line after

bertfrees commented 5 years ago

OK so just to be sure: currently a sidebar looks like this:

...

    margtekst: content
  content content content
  content content content
  content content content
  content

...

You're saying it should look like this?

...

  ⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤
    content content content
  content content content
  content content content
  content content
  ⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉

...
bertfrees commented 5 years ago

Changed the CSS like this:

-sidebar::before, aside[epub|type~='sidebar']::before {
-        content: "Margtekst: ";
+sidebar::before, aside[epub|type~='sidebar'] {
+        border-top: ⠤;
+        border-bottom: ⠉;
 }
KariRudjord commented 5 years ago

That's right!

KariRudjord commented 4 years ago

The norwegian OUP has got new guidelines. It should behave like this: The frame line from margin (cell 3). The text with 2 indents from margin (4 indents in beginning of paragraph).

⠋⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠙ content content content content content content content content content content content ⠦⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠴