all repos — hastyscribe @ 26a5547e337e9c19a344d8c8c0c797bcc8f3c919

A professional markdown compiler.

consts.nim

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
const 
  stylesheet* = "packages/hastystyles/styles/hastyscribe.css".slurp
  hastyscribe_font* = "packages/hastystyles/fonts/hastyscribe.woff".slurp 
  fontawesome_font* = "packages/hastystyles/fonts/fontawesome-webfont.woff".slurp
  sourcecodepro_font* = "packages/hastystyles/fonts/SourceCodePro-Regular.ttf.woff".slurp
  sourcesanspro_font* = "packages/hastystyles/fonts/SourceSansPro-Regular.ttf.woff".slurp
  sourcesanspro_bold_font* = "packages/hastystyles/fonts/SourceSansPro-Bold.ttf.woff".slurp
  sourcesanspro_it_font* = "packages/hastystyles/fonts/SourceSansPro-It.ttf.woff".slurp
  sourcesanspro_boldit_font* = "packages/hastystyles/fonts/SourceSansPro-BoldIt.ttf.woff".slurp
  watermark_style* = """
#container {
  position: relative;
  z-index: 0;
}
#container:after {
  content: "";
  opacity: 0.1;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url($1);
  background-repeat: no-repeat;
  background-position: center 70px;
  background-attachment: fixed;
}
"""