@import url("cppapiref.css"); html, body { margin:0; padding:0; background:#fff; font-family:'Trebuchet MS', 'DIN Pro', sans-serif; overflow:hidden } #header { background:#303030 url(bg-head.png) left bottom repeat-x; position:fixed; top:0; left:0; width:100%; height:53px; overflow:hidden; } #header #company { position:absolute; text-indent:-2000px; left:13px; top:15px; width:111px; height:23px; background:url(nvidia.png); } #header #site-title { position:absolute; text-indent:-2000px; left:213px; top:18px; width:329px; height:16px; background:url(cuda-toolkit-documentation.png); } /* online class is added by JS */ body.online #header #company { left:11px; top:12px; width:181px; height:31px; background:url(devzone.png); cursor:pointer; } body.online #header #site-title { top:15px } /* Equation warning and math highlighting */ #eqn-warning { background:#f99; color:#600; position:fixed; padding:0.1em 0.5em; font-size:12px; margin-bottom:1em; top:inherit; left:inherit; right:22px; /* Should be overwritten by common.js, but use as default in case of failure */ } #eqn-warning-buf { position:static; margin:-14px -21px 0 -21px; } /* Used in measuring the scrollbar width */ .scrollbar-measure { width: 100px; height: 100px; overflow: scroll; position: absolute; top: -9999px; } /* Breadcrumbs */ #breadcrumbs { text-align:left; padding-top:10px; font-size:14px; margin: 0px; margin-bottom: 1em; float: left; } /* Release information */ #release-info { text-align:right; padding-top:10px; font-size:10px; margin: 0px; margin-bottom: 1em; float: right; } math { background:#f99; } span.math { background:#f99; } #search { display:none; } #search input { position:absolute; width:202px; height:25px; top:14px; right:6px; padding-left:22px; font-size:14px; font-family:'Trebuchet MS', 'DIN Pro', sans-serif; line-height:25px; background:#fff; color:#000; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; border:1px solid #bebfc2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } #search-location { border:0 } #search-location legend { text-indent:-2000px; position:absolute; width:18px; height:18px; top:19px; right:186px; background:url(magnify.png); border:0; padding:0; margin:0; } #search-location label { display:none } #search button[type="reset"] { text-indent:-2000px; overflow:hidden; position:absolute; width:20px; height:20px; top:17px; right:8px; background:url(search-clear.png) no-repeat top left; border:0; padding:0; margin:0; display:none; } #search button[type="reset"]:hover { background-position-x:-20px; } body.search-visible #search button[type="reset"] { display:block; } #search #submit { display:none } #site-nav { position:fixed; top:53px; bottom:0; left:0; width:210px; background:#d1d2d4 url(bg-left.png) top right repeat-y; overflow:auto; } #site-nav .category { color:#fff; background:#3c3c3d url(bg-sidehead.png) left bottom repeat-x; padding:5px 1.7em; padding-right:6px; text-shadow:1px 1px #000; margin:0; font-size:12px; position:relative; line-height:120%; } #site-nav .category.closed:hover { background:#464647 url(bg-sidehead-glow.png) left bottom repeat-x; cursor:pointer; } #site-nav .category .twiddle { font-size:10px; display:inline-block; width:1em; text-align:center; position:absolute; top:3px; left:6px; } #site-nav .category a { color:#fff; text-decoration:none; } #site-nav .category a:hover { color:#fff; text-decoration:underline;} #site-nav ul, #site-nav li { list-style-type:none; margin:0; padding:0; font-size:12px } #site-nav li { padding:0.3em 0; line-height:105%; } #site-nav ul ul { margin-top:0.3em } #site-nav li a { padding-left:1.8em; padding-right:0.6em; display:block; } #site-nav li li a { padding-left:2.8em } #site-nav li li li a { padding-left:3.8em } #site-nav li li li li a { padding-left:4.8em } #site-nav ul.closed, #site-nav li.closed ul { display:none; } #site-nav .current { font-weight:bold; text-shadow:1px 1px rgba(0,0,0,0.2); position:relative } #site-nav .current:after { content:'â'; position:absolute; top:0.2em; line-height:1.2em; right:6px; font-weight:bold; text-shadow:none; z-index:0; color:#666; } #site-nav .current > a { margin-right:1.6em } /* leave more space for arrow */ #site-nav .current ul { font-weight:normal; text-shadow:none } #site-nav a { color:#000; text-decoration:none } #site-nav a:hover { color:#000; text-decoration:underline } #site-nav li { border-top:1px solid #c2c3c5; border-top:1px solid rgba(0,0,0,0.07) } #site-nav > ul > li:first-child { border:0 } #site-nav > ul { margin-right:2px } /* hack for IE8's solid colors to not overlap the shadow */ #search-results { display:none } body.search-visible #search-results { display:block } #search-results { position:absolute; width:210px; right:0; top:53px; bottom:0; overflow:auto; background:#d1d2d4 url(bg-right.png) top left repeat-y; } #search-results > h2 { display:none } #search-results > ol { list-style-type:none; margin:0; padding:0 } #search-results > ol > li { margin:0; padding:5px 9px; font-size:12px; border-top:1px solid rgba(0,0,0,0.07) } #search-results > ol > li:first-child { border-top:0; } #search-results > ol > li > h3 { margin:0; font-size:12px; text-shadow:1px 1px rgba(0,0,0,0.2) } #search-results > ol > li > p { margin:0; color:#666; line-height:105% } #search-results a { color:#000; text-decoration:none; } #search-results a:hover { text-decoration:underline; } #search-results strong { color:#444 } #contents { overflow:auto; position:fixed; top:53px; left:210px; right:0; bottom:0; padding:1em 1.5em; font-size:14px } body.search-visible #contents { right:210px } #contents h1, #contents h2, #contents h3, #contents h4, #contents h5, #contents h6 { color:#76b900; margin:0; padding-top:0.2em; margin-bottom:0.3em; clear:both; } #contents > .header { display:none } #contents > .header > h1 { font-size:22px; color:#000; margin-bottom:1em; } #contents h2 { font-size:18px } #contents h3 { font-size:17px } #contents h4 { font-size:16px } #contents h5 { font-size:15px } #contents h6 { font-size:14px } #contents h5, #contents h6 { color:#000; } #contents .section { margin-top:0.8em; margin-bottom:2em } #contents .section.context { margin-bottom:0.8em } #contents .topic .topic h2 { font-size:16px } #contents .topic .topic h3 { font-size:14px } #contents .topic .topic h4 { font-size:14px; color:#406401; } #contents .topic .topic h5 { font-size:14px; color:#000; } #contents .topic .topic h6 { font-size:14px; color:#000; } #contents .topic .topic { margin-left:1em; padding-left:1em; border-left:3px double #eee; } #contents p { margin-top:0 } #contents-end { visibility:hidden; margin-top:600px; } #contents a { color:#76b900; text-decoration:underline } #contents a:hover { color:#8c0; text-decoration:underline!important } #contents dl.landing-page { margin:2em; padding:0 } #contents dl.landing-page dt { font-weight:bold; margin:0; padding:0; font-size:15px; } #contents dl.landing-page dt a { text-decoration:none; } #contents dl.landing-page dd { margin:0; padding:0; margin-bottom:1em; } #contents dl.landing-page ul { margin-top:0 } #contents dl.landing-page li { color:rgba(0,0,0,0.3) } #contents dl.landing-page li a { text-decoration:none } #contents dl.landing-page li a:hover { text-decoration:underline } #site-nav ul ul ul ul ul{ display:none } #resize-nav { position:absolute; top:0; bottom:0; right:0; width:5px; cursor:e-resize; cursor:ew-resize; cursor:col-resize; } body.drag-active { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor:e-resize; cursor:ew-resize; cursor:col-resize; } ol.steps li { margin-bottom:1em } /* Fight some styling in cppapiref.css */ code, .code, .codeph, pre, pre.screen { font-family:Consolas, Courier, 'Courier New', monospace; color:#240; background:#eaefe0; padding:0 0.2em; border:0!important; margin-bottom:1em } code, .codeph { background-color:#f4f7f0; } pre { padding:0.2em 0.5em } pre code { background-color:#eaefe0; padding:0 } h3 + pre, h4 + pre, h5 + pre { margin-top:0.2em } .cmd + pre.codeblock { margin-top:0.2em } #contents pre.prettyprint { margin-left:0 } img { max-width:100% } pre.codeblock, pre.screen { max-width:100%; overflow:auto } /* ********************** */ /* Specific content hacks */ /* ********************** */ /* Fix kepler-tuning-guide.html#references */ #references h3 { font-size:100%; color:#000; font-weight:normal; display:inline; } #references h3 + p { display:inline }