The blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

41 lines
643 B

  1. .small {
  2. font-size: 80%;
  3. }
  4. a.headerlink {
  5. /* give some space to para links */
  6. margin-left: .2em;
  7. /* hide until hover */
  8. display: none;
  9. }
  10. *:hover > .headerlink {
  11. display: unset;
  12. }
  13. ul.tags {
  14. list-style-type: none;
  15. }
  16. ul.tags li {
  17. padding-left: .5em;
  18. padding-right: .5em;
  19. display: inline-block;
  20. }
  21. pre.showlines {
  22. white-space: pre-wrap;
  23. }
  24. pre.showlines::before {
  25. counter-reset: listing;
  26. }
  27. pre.showlines code {
  28. counter-increment: listing;
  29. }
  30. pre.showlines code::before {
  31. content: counter(listing) ". ";
  32. display: inline-block;
  33. width: 3em; /* now works */
  34. text-align: right; /* now works */
  35. }