1/* Overrides for dartdoc styles. */ 2body { 3 font-size: 15px; 4 font-family: Roboto, sans-serif; 5 line-height: 1.5; 6 color: #111; 7 background-color: #fdfdfd; 8 font-weight: 300; 9 -webkit-font-smoothing: auto; 10} 11 12header { 13 background-color: white; 14 color: #424242; 15} 16 17nav.navbar { 18 min-height: 57px; 19 padding: 6px 0; 20} 21 22header.header-fixed nav.navbar-fixed-top { 23 box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); 24} 25 26h1, h2 { 27 font-weight: 300; 28} 29 30h3, h4, h5, h6 { 31 font-weight: 400; 32} 33 34h1 { 35 font-size: 42px !important; 36 letter-spacing: -1px; 37} 38 39header h1 { 40 font-weight: 300; 41} 42 43h2 { 44 color: #111; 45 font-size: 24px; 46} 47 48.markdown h2 { 49 font-size: 24px; 50} 51 52section.summary h2 { 53 font-size: 24px; 54 color: inherit; 55 border-bottom: none; 56} 57 58.sidebar ol, 59.sidebar ol li.section-title { 60 font-size: inherit; 61} 62 63@media screen and (max-width: 768px) { 64 .sidebar-offcanvas-left.active { 65 padding: 10px; 66 } 67} 68 69.sidebar-offcanvas-left ol { 70 padding: 0 16px 16px 0; 71} 72 73.sidebar-offcanvas-left h5 { 74 display: none; 75} 76 77pre, 78pre.prettyprint, 79pre > code { 80 font-size: 14px; 81} 82 83pre, 84pre.prettyprint { 85 background: #f5f2f0; 86 margin: 0 0 15px 0; 87 padding: 8px 12px; 88 border: 1px solid #cccccc; 89 border-radius: 4px; 90} 91 92code { 93 background-color: inherit; 94 font-size: 1em; /* browsers default to smaller font for code */ 95 font-weight: 300; 96 padding-left: 0; /* otherwise we get ragged left margins */ 97 padding-right: 0; 98} 99 100#search-box { 101 color: #555; 102 background-color: #fff; 103 background-image: none; 104 border: 1px solid #ccc; 105 border-radius: 2px; 106 padding: 4px 6px; 107 font-size: 15px; 108} 109 110input.form-control.typeahead { 111 padding: 4px 7px; 112 font-size: 15px; 113} 114 115dl.dl-horizontal dt { 116 color: inherit; 117} 118 119/* Line the material icons up with their labels */ 120i.material-icons.md-36, 121i.material-icons.md-48 { 122 vertical-align: bottom; 123} 124 125/* thinify the inherited names in lists */ 126li.inherited a { 127 font-weight: 100; 128} 129 130/* address a style issue with the background of code sections */ 131code.hljs { 132 background: inherit; 133} 134 135footer { 136 font-size: 13px; 137 padding: 12px 20px; 138} 139/* Override the comment color for highlight.js to make it more 140 prominent/readable */ 141.hljs-comment { 142 color: #128c00; 143 font-style: italic; 144 font-weight: bold; 145} 146