styles.html 1.27 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<!-- style overrides for dartdoc -->
<style>
  header {
    background-color: #917FFF;
  }

  body {
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    background-color: #fdfdfd;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
  }

  h1 {
    font-size: 42px !important;
    letter-spacing: -1px;
Devon Carew's avatar
Devon Carew committed
21
    line-height: 1.1;
22 23 24 25 26 27
  }

  h2 {
    font-size: 32px;
  }

Devon Carew's avatar
Devon Carew committed
28 29 30 31 32
  .sidebar ol,
  .sidebar ol li.section-title {
    font-size: inherit;
  }

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
  pre > code {
    font-size: 14px;
  }
</style>

<!-- The following rules are from http://google.github.io/material-design-icons/ -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<style>
  /* Rules for sizing the icon. */
  .material-icons.md-18 { font-size: 18px; }
  .material-icons.md-24 { font-size: 24px; }
  .material-icons.md-36 { font-size: 36px; }
  .material-icons.md-48 { font-size: 48px; }

  /* Rules for using icons as black on a light background. */
  .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
  .material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

  /* Rules for using icons as white on a dark background. */
  .material-icons.md-light { color: rgba(255, 255, 255, 1); }
  .material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
</style>