123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430 |
- html {
- background:#f2f7fc;
- }
- body {
- min-width: 320px;
- display: flex;
- flex-flow: column;
- }
- blockquote {
- border-left: 4px solid #ccc;
- font-style:italic;
- box-sizing: border-box;
- padding:0 10px;
- }
- header {
- position:fixed;
- height:4.5em;
- z-index: 1;
- border-bottom:1px solid #cfe4f9;
- max-width: none;
- width: 100%;
- padding:0;
- margin:0;
- background:#fff;
- }
- header .header-content:after {
- content: "";
- display: table;
- clear: both;
- }
- header .title {
- float: left;
- text-align:left;
- font-family: "Museo 100", sans-serif;
- font-weight: bold;
- margin:0;
- padding:0;
- width:400px;
- }
- header .title a {
- color:#ff4143;
- text-decoration: none;
- }
- header .search {
- float:left;
- text-align:right;
- width:calc(100% - 480px);
- padding-right:.3em;
- }
- .banner {
- max-width: 100%;
- }
- #doc-search {
- font-family: "Museo Sans 500", sans-serif;
- font-weight: normal;
- font-size: 16px;
- border:1px solid #e8e8e8;
- background-color:#f4f4f4;
- padding:.5em 1em;
- margin-left:.3em;
- border-radius: .3em;
- }
- header .versions {
- float:left;
- display:none;
- font-family: "Museo Sans 500", sans-serif;
- font-weight: normal;
- }
- header .versions h2 {
- font-family: "Museo Sans 500", sans-serif;
- font-weight: normal;
- font-size: 16px;
- background:#1672ce;
- color:#fff;
- margin:0;
- width: 75px;
- text-align: center;
- border-radius: .3em;
- margin-bottom:.4em;
- padding:.5em .3em;
- cursor: pointer;
- transition: 0.3s;
- }
- header .versions h2:hover {
- background: #0a64bf;
- }
- header .versions ul {
- display:none;
- margin:0;
- padding:0;
- list-style:none;
- width: 75px;
- }
- header .versions .show {
- display:block;
- }
- header .versions li {
- margin:0;
- padding:0;
- text-align: center;
- }
- header .versions a {
- display:block;
- margin:0;
- padding:.5em .3em;
- text-decoration:none;
- color:#1672ce;
- background: #fff;
- border:solid #c7c7c7;
- border-width:0 1px 1px;
- }
- header .versions a:hover {
- background:#f1f1f1;
- }
- header .versions li:first-of-type a {
- border-top-width: 1px;
- border-radius:.3em .3em 0 0;
- }
- header .versions li:last-of-type a {
- border-radius:0 0 .3em .3em;
- }
- label[for=menu] {
- position:fixed;
- z-index: 2;
- top:20px;
- right:0;
- display:inline-block;
- box-sizing: border-box;
- background:transparent;
- color:#1672ce;
- width:50px;
- font-size:30px;
- line-height: 1;
- padding:0;
- margin:0;
- }
- label[for=menu]:hover {
- background:transparent;
- color:#1672ce;
- }
- main {
- padding-top:4em;
- background:none;
- }
- /* ---------- header automatic permalink -----------*/
- .header-permalink {
- text-decoration: none;
- color:transparent;
- font-size:.8em;
- vertical-align: super;
- }
- .header-permalink:hover,
- h1:hover .header-permalink,
- h2:hover .header-permalink,
- h3:hover .header-permalink,
- h4:hover .header-permalink,
- h5:hover .header-permalink {
- text-decoration: none;
- color:#777;
- }
- h4 {
- font-variant: small-caps;
- font-size:1em;
- }
- main article p {
- max-width: 840px;
- }
- main article a {
- color:#1672ce;
- }
- main article p code,
- main article li code,
- main article div > code {
- font-family: Consolas,Monaco,'Andale Mono',monospace;
- font-size: 17px;
- line-height: 100%;
- color:#1672ce;
- background: #fff;
- border:none;
- }
- main article p img {
- box-sizing: border-box;
- margin:.3em;
- padding:0;
- display: block;
- }
- main article p a img {
- box-sizing: border-box;
- margin:0;
- padding:0;
- display:inline;
- }
- main article hr {
- border: 1px solid #d9e0e6;
- }
- footer {
- border-top:1px solid #cfe4f9;
- background:#fff;
- max-width: none;
- text-align:center;
- color:#a1a1a1;
- }
- footer span a {
- color:#007ec6;
- }
- main menu .menu-section {
- border-bottom:1px dashed #cfe4f9;
- padding-bottom:1em;
- }
- main menu .menu-section:last-of-type {
- border-bottom:none;
- }
- main menu h2 {
- margin-top:1.5em;
- padding-left:.7em;
- color:#2b3d50;
- font-size:1em;
- font-weight: bold;
- text-transform: none;
- box-shadow: none;
- }
- main menu ul li a {
- border-radius:.1em;
- font-size:1em;
- margin:.2em;
- padding:.6em;
- color:#1672ce;
- }
- main menu ul li a:hover {
- color:#1672ce;
- padding:.6em;
- background:transparent;
- text-decoration: underline;
- }
- main menu ul li.selected {
- background: none;
- }
- main menu ul li.selected a {
- color:#fff;
- background:#1672ce;
- padding:.6em;
- }
- main menu ul li.selected a:hover {
- text-decoration: none;
- }
- pre {
- border-width:0 0 0 4px;
- background: #fff;
- width: fit-content;
- max-width: 100%;
- }
- main article table {
- width: initial;
- max-width: 100%;
- }
- table {
- border:1px solid #eee;
- background: #fff;
- box-shadow:0 6px 6px 0 rgba(80, 88, 94, .24);
- }
- table th,
- table th > * {
- color:#fff;
- background: #1672ce;
- }
- @media screen and (max-width: 420px) {
- table {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- font-size: 0.9rem;
- }
- }
- @media screen and (max-width: 375px) {
- main article table td {
- padding: 2px 5px 2px 2px;
- }
- thead tr {
- font-size: 0.8rem;
- }
- }
- header .logo .name {
- font-size: 1.6rem;
- line-height: 100%;
- margin: 0 !important;
- }
- @media screen and (min-width: 768px) {
- header .logo .name {
- font-size: 2.5rem;
- }
- }
- @media screen and (min-width: 1024px) {
- header .logo .name {
- font-size: 3rem;
- }
- }
- header .logo em {
- color: #777;
- font-style: normal;
- }
- @media screen and (max-width: 549px) {
- header {
- padding: 25px 0 20px 10px;
- }
- menu {
- text-align: center;
- }
- header .logo {
- text-align: left;
- }
- }
- @media screen and (min-width: 550px) {
- header {
- background:#fff;
- }
- header .header-content {
- box-sizing: border-box;
- padding:1em;
- }
- header .versions {
- display: block;
- }
- label[for=menu] {
- display:none;
- }
- main {
- background: none;
- }
- main menu {
- border-right: 1px dashed #cfe4f9;
- }
- main menu .versions-small {
- display:none;
- }
- main article p,
- main article li {
- font-size:.9em;
- }
- }
- @media screen and (max-width: 750px) {
- #doc-search {
- display: none;
- }
- }
- @media screen and (min-width: 850px) {
- main article {
- max-width: none;
- }
- }
- h2 code {
- font-size: 0.8em;
- }
- .features ul {
- list-style-type: none;
- }
- :target:before {
- content: ' ';
- display: block;
- padding-top: 100px;
- margin-top: -100px;
- visibility: hidden;
- }
|