1 Star 3 Fork 0

lonewolf/duktape

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
style.css 21.01 KB
一键复制 编辑 原始数据 按行查看 历史
lonewolf 提交于 2017-01-07 23:38 . init
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312
/* === reset.css === */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* === style-html.css === */
/*
* HTML / body level CSS rules
*
* Includes font loading rules.
*/
.clear {
clear: both;
}
/* Used to allow browser search for e.g. ".duk_push_nan" in the index,
* but leave the dot hidden. Note that "display: none" or "visibility: hidden"
* don't work, as browsers (at least Chromium) won't then find the char
* in a search.
*/
.hidechar {
color: #ffffff;
font-size: 0pt;
}
/* Horizontal rules have been added for text browsers, never show them
* normally.
*/
hr {
display: none;
}
html {
background: #ffffff;
color: #000000;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
body {
background: #ffffff;
color: #000000;
width: 100%;
margin: 0;
padding: 0;
border: 0;
font-family: 'Open Sans', sans-serif;
/*font-family: 'Open Sans', fantasy;*/
/* useful for debugging font loading */
font-weight: 400;
font-size: 12pt;
}
@media print {
body {
font-family: serif;
font-weight: 400;
font-size: 10pt;
}
}
/* web font loading */
html {
visibility: hidden;
}
html.wf-active {
visibility: visible;
}
html.wf-inactive {
visibility: visible;
}
html.wf-fail {
/* custom rule, see: http://kevindew.me/post/47052453532/a-fallback-for-when-google-web-font-loader-fails */
visibility: visible;
}
html.wf-nojavascript {
/* custom rule, allows non-javascript browsers to render using fallback fonts */
visibility: visible;
}
/* === style-content.css === */
/*
* Content CSS rules.
*
* The 'content' class can be applied to any element which wants to get
* styling for "main content".
*/
/*
* Common headings, text styles etc
*/
.content .main-title {
font-size: 24pt;
margin: 0 0 2ex 0;
color: #000000;
text-shadow: 1px 1px 1px #777777;
filter: dropshadow(color=#777777, offx=1, offy=1);
}
@media print {
.content .main-title {
font-size: 21pt;
text-shadow: none;
filter: none;
}
}
.content h1 {
font-size: 21pt;
margin: 4ex 0 1ex 0;
padding: 0 0 1ex 0;
border-bottom: 1px solid #eeeeee;
}
@media print {
.content h1 {
font-size: 16pt;
}
}
.content h1 a {
color: #000000;
text-decoration: none;
}
.content h1 a:visited {
color: #000000;
text-decoration: none;
}
.content h1 a:hover {
color: #222266;
text-decoration: none;
}
.content h2 {
font-size: 18pt;
margin: 2ex 0 1ex 0;
color: #6666ff;
}
@media print {
.content h2 {
font-size: 13pt;
}
}
.content h3 {
font-size: 14pt;
font-weight: bold;
margin: 2.5ex 0 0.5ex 0;
color: #000000;
}
@media print {
.content h3 {
font-size: 12pt;
}
}
.content p {
font-size: 12pt;
margin: 2ex 0 1ex 0;
line-height: 1.4;
}
@media print {
.content p {
font-size: 10pt;
}
}
.content tt, .content code, .content samp {
font-family: 'Droid Sans Mono', sans-serif;
}
@media print {
.content tt, .content code, .content samp {}
}
.content b {
font-size: 12pt;
font-weight: 700;
}
@media print {
.content b {
font-size: 10pt;
}
}
.content ul {}
.content ul li {
margin: 1ex 0 1ex 2em;
/* list-style: disc; */
list-style: circle;
list-style-position: outside;
line-height: 1.4;
}
/* Special style for tag lists. Disable link text-shadow because it
* causes layout sizes when hovering over the links (apparently the
* shadow somehow changes the item's size at least from multi-column
* layout perspective). Because of no text-shadow, the link hover is
* not as visible, so add a faint background and a darker color.
*/
ul.taglist {
-moz-column-count: 4;
/* Firefox */
-webkit-column-count: 4;
/* Safari and Chrome */
column-count: 4;
font-size: 10pt;
}
ul.taglist li {
margin: 0.25ex 0 0.25ex 2em;
list-style: none;
line-height: 1.2;
}
ul.taglist li a {
text-decoration: none;
}
ul.taglist li a:hover {
/* Remove text-shadow and filter from .content a:hover rule */
background-color: #eeeeff;
color: #000088;
text-decoration: underline;
text-shadow: none;
filter: none;
}
@media screen and (max-width:800px) {
.taglist {
-moz-column-count: 1;
/* Firefox */
-webkit-column-count: 1;
/* Safari and Chrome */
column-count: 1;
}
}
/* special styling for breakdowns (additive to base ul / ul li style) */
ul.breakdown {
margin: 2ex 0 2ex 2em;
/* additional indent */
}
ul.breakdown li {
list-style: none;
padding: 0.5ex 2ex 1ex 2ex;
/*background: #f8f8f8;*/
border: 2px solid #eeeeee;
border-radius: 10px;
margin: 1ex 0 1ex 0;
}
@media screen and (max-width:800px) {
ul.breakdown {
margin: 2ex 0 2ex 0;
/* remove indent */
}
}
.content pre {
overflow: auto;
font-family: monospace;
font-size: 10pt;
font-weight: 400;
line-height: 1.5;
background: #eeeeee;
border: 2px dashed #cccccc;
padding: 1.5ex;
margin: 2ex 2em 2ex 0ex;
}
@media print {
.content pre {
overflow: visible;
font-family: monospace;
font-size: 10pt;
font-weight: 400;
page-break-inside: avoid;
}
}
/* narrow layout: smaller preformatted text (tends to be quite wide) */
@media screen and (max-width:800px) {
.content pre {
font-size: 10pt;
}
}
/* generated manually with buildimages.py */
@media screen {
.content pre.c-code {
background: #eeeeee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAUCAYAAABroNZJAAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB90HBRMMIRk2ywgAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAnUlEQVQ4y+3TIW5CcRDE4ckTCFDcoKKYXgGDAd8L9Bi9Rz1XKElTFAmeA6BJEMUiCBVUfBX8X4IilFcHY1bNLzs72eSuWxKGeMcXDthhhc9zvuoE8JZklmSbZJCkk+QxyWuS9iUbvDjqo0mMRYH0m0D2BdK9xl/9RyE1ZFnmU5M4zQ9bV1xAY/TQwgOeMf8LaIQJNvjBN9aY3tDP/QKrO4MiF+jAygAAAABJRU5ErkJggg==) no-repeat right top;
}
.content pre.ecmascript-code {
background: #eeeeee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAAAUCAYAAAAA5FpZAAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB90HBRMME9HhmogAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAACKUlEQVRYw+3XvWtUQRQF8KzZoBEjfhBExY9KTBAVRIRAQE2lhVqJBokiWAgW9oJ/g4WVoKRRRBF7jSJJjI2gCHYSTCT4gXaJGiX52dyFx/LMvn3JLgrvdHPemfvunJm5M9PSUqBAgQIFChQoUOAfhkCj/1Ou/OxvglKpVCqmo/ZkZfWqXJjb3LEvyzGbu3AXH/ELb3E6uS1xAeOYxRscxRVMYQYj6E6JfTn6z0X8G+hIfN+MQXyI2J9wB7115ncSY5iurM60kpLQD0ScWbzDmerVXVdZyirEfnzHJPqwEl24XZXgQ6yPgVXwAOtwKtpjKfGvohsrcD501xPfnwV3AsuxEf0YrjO/l9iL1oU8SOjHsA1bMBrcodz13wKo0g0FfbxGnJ3Rbk/hypjHbI2cWqPfRIKbDq4XpZQ+WfPbl2XRJfQ9Ca4nuKeLNjyDbiaka2sMqJzCtdUY3Hbci1Iwl+g3l9CMJPgZvMI1bKozv7Y6DV+V4DqC+9pMw9dkjVMHNxz0pSgXbdW62NK3omQkMZI3v0UY/q0Zhj8J6bEGGF4pF+3R3lPDoNWJ82A6b35LVFLmG2X4AfzAexyOGr0Dg0tg+Iug+9GJRykrfCgOzM7YAUdC8jhvfhkNH8XWqkOzL6GbCq5rSQ/N0O6OWvsZv9OuXTkN78Jz/MQELqYYfhD38SWuaJO4iQ1588to+Fm8jhvQOAaqdOfiitqU12rx3G/kw6dAYfh/hT9Hv5t3lMuhdwAAAABJRU5ErkJggg==) no-repeat right top;
}
.content pre.coffeescript-code {}
}
/*
* Table
*/
/* containing div.table-wrap ensures table overflow works cleanly */
/* http://stackoverflow.com/questions/1648622/tables-overflowing-with-css-in-firefox */
.content .table-wrap {
overflow: auto;
}
@media print {
.content .table-wrap {
overflow: visible;
}
}
.content table {
margin: 2ex 1em 2ex 1em;
border: none;
}
.content table tr {}
.content table tr.header th {
padding-bottom: 1ex;
}
.content table tr.header {
border-bottom: 1px solid #cccccc;
}
.content table th {
padding: 0.75ex 0.75em 0.75ex 0.75em;
text-align: left;
font-weight: 700;
}
.content table td {
padding: 0.75ex 0.75em 0.75ex 0.75em;
text-align: left;
}
.content a {
text-decoration: none;
color: #4444ff;
}
.content a:visited {
color: #4444ff;
}
.content a:hover {
text-decoration: underline;
color: #222266;
text-shadow: 0px 0px 10px #7777ff;
filter: dropshadow(color=#9999ff, offx=1, offy=1);
}
/*
* Stack
*/
.content .stack-wrapper {
display: block;
margin-top: 1ex;
margin-bottom: 2ex;
}
/* narrow layout: smaller font */
@media screen and (max-width:800px) {
.content .stack-wrapper {
font-size: 10pt;
}
}
/* .arrow and .arrow .text have invisible borders, shadows, etc, to keep
* them aligned
*/
.content .stack-wrapper .arrow {
display: inline-block;
margin: 0 0.1em 0 0.1em;
padding: 0;
vertical-align: middle;
}
.content .stack-wrapper .arrow b {
display: inline-block;
min-width: 1.25em;
margin: 0;
padding: 0;
vertical-align: middle;
text-align: center;
font-size: 24pt;
}
.content .stack-wrapper .stack {
display: inline-block;
background: #eeeeee;
margin: 0;
border: 2px solid #888888;
border-radius: 10px;
box-shadow: 3px 3px 5px #bbbbbb;
padding: 0.7ex 1ex 0.7ex 1ex;
vertical-align: middle;
}
.content .stack-wrapper .stack .elem {
display: inline-block;
min-width: 1.25em;
background: #cccccc;
margin: 0;
/* space chars between spans are enough */
border: 1px solid #888888;
border-radius: 5px;
box-shadow: 1px 1px 3px #bbbbbb;
padding: 0.5ex 0.35em 0.5ex 0.35em;
vertical-align: middle;
text-align: center;
}
.content .stack-wrapper .stack .ellipsis {
width: 2em;
text-align: center;
}
.content .stack-wrapper .stack .active {
background: #ffffff;
}
.content .stack-wrapper .stack .referred {
background: #dddddd;
}
.content .stack-wrapper .stack .ghost {
border-style: dashed;
background: #eeeeee;
color: #666666;
box-shadow: none;
}
/* orthogonal */
.content .stack-wrapper .stack .literal {
font-family: monospace;
font-size: 12pt;
}
.content .stack-wrapper .stack .cap {
display: none;
}
.content .stack-wrapper .stack-comment {
display: inline-block;
margin: 0 0 0 2em;
padding: 0;
vertical-align: middle;
text-align: center;
font-size: 12pt;
color: #888888;
}
/*
* Callouts
*/
.content .tip {
border: 2px solid #eeeeee;
background: #ffffff;
color: #000000;
padding: 1.5ex;
margin: 2ex 2em 2ex 0ex;
line-height: 1.4;
}
.content .tip:before {
content: "TIP: ";
font-weight: 700;
}
.content .note {
border: 2px solid #eeeeee;
background: #ffffff;
color: #000000;
padding: 1.5ex;
margin: 2ex 2em 2ex 0ex;
line-height: 1.4;
}
.content .note:before {
content: "NOTE: ";
font-weight: 700;
}
.content .fixme {
border: 2px solid red;
background: #000000;
color: #ffffff;
padding: 1.5ex;
margin: 2ex 2em 2ex 0ex;
line-height: 1.4;
}
.content .fixme:before {
content: "FIXME: ";
font-weight: 700;
}
/*
* Section sign link
*/
.content .sectiontitle a.sectionlink {
color: #ffffff;
}
.content .sectiontitle:hover a.sectionlink {
color: #8888ff;
}
@media print {
.content .sectiontitle .sectionlink {
display: none;
}
}
/*
* Prevent breaking a span
*/
.nobreak {
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
/* === style-top.css === */
/*
* Site top part CSS rules
*/
#site-top {
display: block;
width: 100%;
padding: 20px 0px 20px 0px;
border: 0;
margin: 0;
background: #444444;
color: #ffffff;
box-shadow: 7px 7px 15px #bbbbbb;
/* This only matters if the browser is so narrow that the nav
* div clears the logo. This rule extends the dark background
* to cover the nav even in that case.
*/
overflow: auto;
/* Font is already set here so that we can size both the logo
* and the nav float using the same font point size (point
* sizes refer to -parent- font).
*/
font-family: 'Droid Sans Mono', sans-serif;
font-size: 24pt;
font-weight: 400;
}
@media print {
#site-top {
display: none;
}
}
#site-top-logo {
display: block;
float: left;
margin: 0 0 0 0.5em;
/* logo font */
}
#logo {
display: inline;
font-family: 'Droid Sans Mono', sans-serif;
font-size: 24pt;
font-weight: 400;
color: #ffffff;
text-shadow: 3px 3px 3px #000000;
filter: dropshadow(color=#000000, offx=3, offy=3);
}
@media print {
/* Note: not actually displayed now in print (the entire top
* div is hidden).
*/
#logo {
font-family: 'Droid Sans Mono', sans-serif;
font-size: 20pt;
font-weight: 400;
}
}
#site-top-nav {
display: block;
float: right;
margin: 0 0.75em 0 0;
/* logo font */
}
#site-top-nav ul {
display: inline;
vertical-align: bottom;
line-height: 24pt;
margin: 0;
border: 0;
padding: 0;
/* 'line-height' in this element is sized using logo font inherited
* from #site-top. The margins in #site-top-nav are sized using the
* navigation font which needs to be set here (in the parent) for that
* to be possible.
*/
font-family: 'Droid Sans Mono', sans-serif;
font-size: 18pt;
font-weight: 400;
}
#site-top-nav ul li {
display: inline;
vertical-align: bottom;
margin: 0 0.5em 0 0;
font-family: 'Droid Sans Mono', sans-serif;
font-size: 18pt;
font-weight: 400;
color: #cccccc;
}
#site-top-nav ul li a {
color: #cccccc;
text-decoration: none;
}
#site-top-nav ul li.selected a {
color: #ffffff;
text-shadow: 3px 3px 3px #000000;
filter: dropshadow(color=#000000, offx=3, offy=3);
}
#site-top-nav ul li a:hover {
color: #9999ff;
text-shadow: 3px 3px 3px #000000;
filter: dropshadow(color=#000000, offx=3, offy=3);
}
/* === style-middle.css === */
/*
* Site middle part CSS rules
*/
#site-middle {
width: 100%;
padding: 0;
border: 0;
margin: 10ex 0 10ex 0;
background: #ffffff;
color: #000000;
overflow: auto;
/* clear fix */
}
#site-middle-nav {
float: left;
width: 10em;
padding: 0;
}
#site-middle-nav li {
margin: 0.5ex 0 0.5ex 1em;
list-style: none;
list-style-position: outside;
}
#site-middle-nav a {
color: #444444;
font-size: 10pt;
text-decoration: none;
}
#site-middle-nav a:hover {
color: #222266;
text-shadow: 0px 0px 10px #7777ff;
filter: dropshadow(color=#9999ff, offx=1, offy=1);
}
#site-middle-content {
margin: 0px 2em 0px 14em;
overflow: auto;
/* clear fix */
}
@media print {
#site-middle-nav {
display: none;
}
#site-middle-content {
margin: 0px 0px 0px 0px;
}
}
/* narrow screen */
@media screen and (max-width:800px) {
#site-middle-nav {
float: none;
margin-bottom: 8ex;
/* space before content */
}
#site-middle-content {
margin-left: 2em;
}
}
/* === style-bottom.css === */
/*
* Site bottom part CSS rules
*/
#site-bottom {
clear: both;
width: 100%;
padding: 18px 0px 20px 0px;
border: 0;
border-top: 2px solid #dddddd;
margin: 10ex 0px 0px 0px;
background: #eeeeee;
color: #888888;
font-size: 10pt;
}
@media print {
#site-bottom {
font-size: 8pt;
}
}
#site-bottom p {
color: #888888;
margin-top: 1ex;
text-align: center;
}
#site-bottom a {
color: #6666ee;
text-decoration: none;
}
#site-bottom a:visited {
color: #6666ee;
text-decoration: none;
}
#site-bottom a:hover {
color: #222288;
text-decoration: underline;
}
/* === style-index.css === */
/*
* Frontpage specific CSS rules
*/
#front-steps {
width: 45%;
float: right;
/*
background: #fcfcfc;
border: 2px solid black;
border-radius: 1em;
box-shadow: 3px 3px 5px #bbbbbb;
margin: 0 1em 1em 0;
padding: 1em;
*/
background: #ffffff;
border-left: 2px dashed #bbbbbb;
margin: 0 1em 1em 0;
padding: 1em;
}
#front-steps .step {
font-weight: bold;
margin-right: 0.5em;
color: #eeeeee;
/* off white to work in IE6 where dropshadow not recognized */
font-size: 24pt;
text-shadow: 0px 0px 6px #000000;
filter: dropshadow(color=#000000, offx=2, offy=2);
}
#front-steps pre {
font-size: 12pt;
}
#front-blurp {
width: 45%;
float: left;
margin: 0 0 1em 1em;
}
#front-blurp p {
font-size: 16pt;
}
#front-blurp b {
font-size: 16pt;
}
@media screen and (max-width:800px) {
#front-steps {
float: none;
width: auto;
margin: 0 1em 1em 1em;
}
#front-blurp {
float: none;
width: auto;
margin: 0 1em 4em 1em;
/* extra bottom margin: space before steps */
}
}
#front-blurp ul {
margin-top: 2ex;
font-size: 16pt;
}
#front-blurp ul li {
margin-top: 1.5ex;
font-size: 16pt;
}
/* === style-download.css === */
/*
* Download page specific CSS rules
*/
#download {
margin: 0 0 1em 1em;
}
#download .hash {
font-family: monospace;
}
#download .latest {
border: 1px dashed #cccccc;
background: #f8f8f8;
}
/* Control table cells only if browser is wide enough */
@media screen and (min-width:800px) {
.releases {
width: 90%;
}
.releases tr {
height: 3ex;
}
.releases .reldate {
width: 6em;
}
.releases .filename {
width: 12.5em;
}
.releases .description {
/* flex */
}
.releases .hash {
/* XXX: this is sized using -parent- font, not the monospace one */
width: 20em;
}
}
/* === style-api.css === */
/*
* API specific CSS rules
*/
@media screen and (min-width:801px) {
/* On wide screens, slide API entry section headings to the side
* to make the entries more compact.
*
* Specificity must override normal section heading rules.
*
* The challenge here is to keep the section heading vertically
* aligned with the content on the right. To do this, we need
* to avoid top margins in the elements on the right (paragraphs,
* stacks, <pre>-blocks) which is a bit hackish. The api-part
* div margins are then used to provide spacing between the API
* documentation parts.
*/
.api-call h2.api-proto, .api-call h2.api-stack, .api-call h2.api-summary, .api-call h2.api-example, .api-call h2.api-seealso {
position: absolute;
left: 10px;
margin: 0;
padding: 0 0 0 0;
width: 200px;
text-align: right;
height: 0;
overflow: visible;
color: #ccccdd;
font-size: 100%;
}
.api-part {
margin: 3ex 0 3ex 0;
}
.content .api-call .stack-wrapper {
margin-top: 0;
margin-bottom: 2ex;
}
.content .api-call .stack {
margin-top: 0;
}
.content .api-call p {
margin-top: 0;
}
.content .api-call pre {
margin-top: 0;
}
}
/* Selector specificity issues here, workaround is to add more selectors. */
h1.apih1 a.apitag {
float: right;
margin: 3px;
border: 2px solid #cccccc;
border-radius: 4px;
padding: 3px;
font-size: 8pt;
background: #eeeeee;
color: #888888;
}
h1.apih1 a.apitag:hover {
background: #ffffff;
color: #888888;
}
h1.apih1 a.apitag visited {
color: #888888;
}
h1.apih1 a.apitagwarn {
background: #dd0000;
border-color: #880000;
color: #ffffff;
}
h1.apih1 a.apitagwarn:hover {
background: #ff8800;
color: #ffffff;
}
h1.apih1 a.apitagwarn:visited {
color: #ffffff;
}
h1.apih1 a.apitagprotected {
background: #00aa00;
border-color: #004400;
color: #ffffff;
}
h1.apih1 a.apitagprotected:hover {
background: #55cc55;
color: #ffffff;
}
h1.apih1 a.apitagprotected:visited {
color: #ffffff;
}
/* === style-guide.css === */
/*
* Guide specific CSS rules
*/
.typeshorthand tbody td:nth-child(1) {
text-align: center;
}
.typecomparison tbody td {
text-align: center;
}
.propname {
font-family: monospace;
}
.definename {
font-family: monospace;
}
.highlight {
background: #eeeeee;
}
/* === highlight.css === */
/*
* Source highlight CSS rules
*/
body {
background-color: white;
}
/* the color for context lines (when specified with line ranges) */
.context {
color: gray;
}
.keyword {
color: #000044;
font-weight: bold;
}
.type {
color: #000088;
}
.usertype, .classname {
color: teal;
}
.string {
color: #aa0000;
font-family: monospace;
}
.regexp {
color: orange;
}
.specialchar {
color: #aa0000;
font-family: monospace;
}
.comment {
color: #999999;
font-style: italic;
}
.number {
color: #aa0000;
}
.preproc {
color: darkblue;
font-weight: bold;
}
.symbol {
color: #000000;
font-weight: bold;
}
.function {
color: #000000;
}
.cbracket {
color: #000000;
font-weight: bold;
}
.todo {
font-weight: bold;
background-color: cyan;
}
/* line numbers */
.linenum {
color: black;
font-family: monospace;
}
/* Internet related */
.url {
color: blue;
text-decoration: underline;
font-family: monospace;
}
/* other elements for ChangeLog and Log files */
.date {
color: blue;
font-weight: bold;
}
.time, .file {
color: darkblue;
font-weight: bold;
}
.ip, .name {
color: darkgreen;
}
/* for Prolog, Perl */
.variable {
color: darkgreen;
}
.italics {
color: darkgreen;
font-style: italic;
}
.bold {
color: darkgreen;
font-weight: bold;
}
/* for LaTeX */
.underline {
color: darkgreen;
text-decoration: underline;
}
.fixed {
color: green;
font-family: monospace;
}
.argument, .optionalargument {
color: darkgreen;
}
.math {
color: orange;
}
.bibtex {
color: blue;
}
/* for diffs */
.oldfile {
color: orange;
}
.newfile {
color: darkgreen;
}
.difflines {
color: blue;
}
/* for css */
.selector {
color: purple;
}
.property {
color: blue;
}
.value {
color: darkgreen;
font-style: italic;
}
/* for Oz */
.atom {
color: orange;
}
.meta {
font-style: italic;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/lonewolf/duktape.git
[email protected]:lonewolf/duktape.git
lonewolf
duktape
duktape
master

搜索帮助