Sha256: 80fb9ad39d06bd958f35ff02e85b29be82b684ec5b7c125fdf44e9707c420ea9

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

@import url('https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css');

@media all {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 1em;
  }

  /* deactivate external manual page cross-references */
  a.md2man-xref:not([href]) {
    color: inherit;
    text-decoration: none;
  }
}

@media screen {
  body {
    font-family: monospace;
    text-align: justify;
    max-width: 83ch; /* 80 chars, +3 for Bootstrap CSS */
    margin: auto;
  }

  h1:first-child {
    margin-top: -5em;
    font-weight: normal;
    font-size: smaller;
    text-align: right;
  }

  h1:first-child > a.md2man-permalink {
    display: none;
  }

  a.md2man-permalink:after {
    padding-left: 0.25em;
    content: '\2665'; /* ♥ */
    opacity: 0.125;
  }

  a.md2man-permalink:hover:after {
    opacity: initial;
  }
}

@media print {
  .navbar:first-child {
    display: none;
  }

  /* improve readability of revealed hyperlink URLs */
  a:after {
    font-family: monospace;
  }

  /* internal links and manual page cross-references */
  a[href^='#'], a[href^='../man'] {
    color: inherit;
    font-weight: bolder;
    text-decoration: none;
  }

  /* undo bootstrap's revealing of those hyperlinks */
  a[href^='#']:after, a[href^='../man']:after {
    content: none;
  }
}

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
md2man-2.1.1 lib/md2man/rakefile/style.css
md2man-2.1.1 man/style.css