overrides.css 2.24 KB
Newer Older
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
/* Overrides for dartdoc styles. */
body {
  font-size: 15px;
  font-family: Roboto, sans-serif;
  line-height: 1.5;
  color: #111;
  background-color: #fdfdfd;
  font-weight: 300;
  -webkit-font-smoothing: auto;
}

header {
  background-color: white;
  color: #424242;
}

nav.navbar {
  min-height: 57px;
  padding: 6px 0;
}

header.header-fixed nav.navbar-fixed-top {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}

h1, h2 {
  font-weight: 300;
}

h3, h4, h5, h6 {
  font-weight: 400;
}

h1 {
  font-size: 42px !important;
  letter-spacing: -1px;
}

header h1 {
  font-weight: 300;
}

h2 {
  color: #111;
  font-size: 24px;
}

.markdown h2 {
  font-size: 24px;
}

section.summary h2 {
  font-size: 24px;
  color: inherit;
  border-bottom: none;
}

.sidebar ol,
.sidebar ol li.section-title {
  font-size: inherit;
}

@media screen and (max-width: 768px) {
  .sidebar-offcanvas-left.active {
    padding: 10px;
  }
}

.sidebar-offcanvas-left ol {
  padding: 0 16px 16px 0;
}

.sidebar-offcanvas-left h5 {
  display: none;
}

pre,
pre.prettyprint,
pre > code {
  font-size: 14px;
}

pre,
pre.prettyprint {
  background: #f5f2f0;
  margin: 0 0 15px 0;
  padding: 8px 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

code {
  background-color: inherit;
  font-size: 1em; /* browsers default to smaller font for code */
  font-weight: 300;
  padding-left: 0; /* otherwise we get ragged left margins */
  padding-right: 0;
}

100 101 102 103
.markdown.desc {
  max-width: inherit;
}

104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
#search-box {
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 4px 6px;
  font-size: 15px;
}

input.form-control.typeahead {
  padding: 4px 7px;
  font-size: 15px;
}

dl.dl-horizontal dt {
  color: inherit;
}

/* Line the material icons up with their labels */
i.material-icons.md-36,
i.material-icons.md-48 {
  vertical-align: bottom;
}

/* thinify the inherited names in lists */
li.inherited a {
  font-weight: 100;
}

/* address a style issue with the background of code sections */
code.hljs {
  background: inherit;
}

footer {
  font-size: 13px;
  padding: 12px 20px;
}
143 144 145 146 147 148 149
/* Override the comment color for highlight.js to make it more
   prominent/readable */
.hljs-comment {
  color: #128c00;
  font-style: italic;
  font-weight: bold;
}