mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
167 lines
3.2 KiB
HTML
167 lines
3.2 KiB
HTML
<!-- style overrides for dartdoc -->
|
|
<style>
|
|
@import 'https://fonts.googleapis.com/css?family=Roboto:500,400italic,300,400,100i';
|
|
</style>
|
|
|
|
<style>
|
|
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;
|
|
}
|
|
|
|
#search-box {
|
|
color: #555;
|
|
background-color: #fff;
|
|
background-image: none;
|
|
border: 1px solid #ccc;
|
|
border-radius: 2px;
|
|
font-family: inherit;
|
|
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;
|
|
}
|
|
|
|
/* Attempt to de-emphasise the source code section */
|
|
section.summary.source-code {
|
|
opacity: 0.3;
|
|
}
|
|
section.summary.source-code:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
footer {
|
|
font-size: 13px;
|
|
padding: 12px 20px;
|
|
}
|
|
</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>
|