Skip to content
Snippets Groups Projects
  1. Jul 12, 2022
    • Alyssa Ross's avatar
      Minor style fixes for jekyll-asciidoc (#829) · 3ca57e3b
      Alyssa Ross authored
      I have a site whose content is written in AsciiDoc, using the [jekyll-asciidoc][] plugin.
      
      Just the Docs works great, but there are just two minor styling glitches I've noticed:
      
      The first is that Just the Docs' CSS doesn't understand the code block markup jekyll-asciidoc produces.  It's not too different though, so it's very easily fixed.
      
      The second is that jekyll-asciidoc generates `div.sect(𝑛 − 1)` elements around headings of type `h𝑛`, that enclose all the heading and all the content after it until the next heading of greater or equal rank.
      
      This means that headings are _always_ first children in AsciiDoc output, which meant the wrong margins were applied to most headings. To fix this, we need to only reduce the margin of first-child headings nested directly below the .main-content element, and headings nested directly below AsciiDoc `.sect𝑛` elements that are themselves first children.
      
      With these two small changes, my site looks perfect, and the styles look exactly the same as on Just the Docs' own documentation.
      
      [jekyll-asciidoc]: https://github.com/asciidoctor/jekyll-asciidoc
      Unverified
      3ca57e3b
  2. Jul 04, 2022
  3. Oct 12, 2020
  4. Sep 29, 2020
    • PLanCompS's avatar
      Update code.scss · 2e377e45
      PLanCompS authored
      Fix #417
      
      - Avoid appearance of dark border around visited code links in Safari.
      2e377e45
  5. Jul 07, 2020
    • PLanCompS's avatar
      Update code.scss · a855af3d
      PLanCompS authored
      a855af3d
    • PLanCompS's avatar
      Optimisations · 8a9a8a34
      PLanCompS authored
      Optimised CSS selectors.
      Changed markup in `linenos-test` to inhibit line numbers appearing in YAML examples when testing code fences.
      8a9a8a34
    • PLanCompS's avatar
      Update code.scss · 029ba125
      PLanCompS authored
      029ba125
    • PLanCompS's avatar
      Major refactoring · 61053f67
      PLanCompS authored
      The additions to `_config.yml` go together with the changes to `code.scss`,
      to facilitate adjusttments by users. See `docs/linenos-test` for the details.
      The CSS code has been significantly refactored and simplified,
      and seems to produce sensible results (at least on Safari and Firefox).
      61053f67
  6. Jul 06, 2020
    • PLanCompS's avatar
      Update code.scss · 49ef043e
      PLanCompS authored
      Removed some comments and layout
      49ef043e
    • PLanCompS's avatar
      Update code.scss · b5cd5324
      PLanCompS authored
      Produces sensible (but not perfect) results from different kinds of highlight markup.
      The CSS code needs a major refactoring to eliminate duplication and superflous lines.
      b5cd5324
  7. Jul 04, 2020
  8. May 21, 2020
  9. May 05, 2020
  10. Apr 24, 2020
  11. Dec 03, 2019
  12. Nov 27, 2019
  13. Jun 21, 2019
  14. May 29, 2019
  15. Dec 16, 2018
  16. Nov 16, 2018
  17. Nov 15, 2018
  18. Mar 27, 2017
  19. Mar 24, 2017
  20. Mar 09, 2017
Loading