/
niceSOFT
/
python3-requests
Обзор
Документация
Войти
/
niceSOFT
/
python3-requests
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.20.0
docs/_templates/hacks.html
103 строки
3 KB
Kenneth Reitz
Merge pull request #4782 from sayzlim/master
10 сен 2018, 23:02
Не верифицирован
10 сен 2018, 23:02
8472dbd
Код
Авторство
О чём код?
<!-- Alabaster (krTheme++) Hacks --> <!-- CSS Adjustments (I'm very picky.) --> <style type="text/css"> /* Rezzy requires precise alignment. */ img.logo {margin-left: -20px!important;} /* "Quick Search" should be capitalized. */ div#searchbox h3 {text-transform: capitalize;} /* Make the document a little wider, less code is cut-off. */ div.document {width: 1008px;} /* Much-improved spacing around code blocks. */ div.highlight pre {padding: 11px 14px;} /* Remain Responsive! */ @media screen and (max-width: 1008px) { div.sphinxsidebar {display: none;} div.document {width: 100%!important;} /* Have code blocks escape the document right-margin. */ div.highlight pre {margin-right: -30px;} } </style> <!-- Analytics tracking for Kenneth. --> <script type="text/javascript"> var _gauges = _gauges || []; (function() { var t = document.createElement('script'); t.type = 'text/javascript'; t.async = true; t.id = 'gauges-tracker'; t.setAttribute('data-site-id', '56ca7a57c88d9011080024dd'); t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif'); t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(t, s); })(); </script> <!-- There are no more hacks. --> <!-- இڿڰۣ-ڰۣ— --> <!-- Love, Kenneth Reitz --> <script src="{{ pathto('_static/', 1) }}/konami.js"></script> <script> var easter_egg = new Konami('http://fortunes.herokuapp.com/random/raw'); </script> <!-- That was not a hack. That was art. --> <!-- Native CPC by BuySellAds --> <script src="{{ pathto('_static/', 1) }}/native.js"></script> <script> _native.init("CK7D62JU", { targetClass: 'native-js' }); </script> <div class="native-js"> <div class="native-sponsor">Sponsored Ad by #native_company# — Learn More</div> <a href="#native_link#" class="native-flex"> <style> .native-js { background: linear-gradient(-30deg, #native_bg_color#E5, #native_bg_color#E5 45%, #native_bg_color# 45%) #fff; } .native-details, .native-sponsor { color: #native_color# !important; } .native-details:hover { color: #native_color_hover# !important; } .native-cta { color: #native_cta_color#; background-color: #native_cta_bg_color#; } .native-cta:hover { color: #native_cta_color_hover; background-color: #native_cta_bg_color_hover#; } </style> <div class="native-main"> <img class="native-img" src="#native_logo#"> <div class="native-details"> <span class="native-company">#native_title#</span> <span class="native-desc">#native_desc#</span> </div> <span class="native-cta">#native_cta#</span> </div> </a> </div>