|
|
- | <!DOCTYPE HTML>
| + | |
| <html> | | <html> |
- | <head> | + | <head><style type="text/css"> |
| + | |
| + | #globalWrapper{ |
| + | padding-bottom: 0px; |
| + | } |
| + | |
| + | .mediawiki{ |
| + | padding: 0px 0px 0px 0px; |
| + | } |
| + | body{ |
| + | margin-bottom: 0px; |
| + | background-color: #f8fcfd; |
| + | padding-bottom: 0px; |
| + | } |
| + | #bodyContent{ |
| + | margin-top: -120px; |
| + | } |
| + | .noprint{ |
| + | margin-top:3px; |
| + | } |
| + | #menubar { |
| + | position: absolute; |
| + | background: none; |
| + | color: black; |
| + | } |
| + | .photoOfProtocol{ |
| + | vertical-align: top; |
| + | } |
| + | .sideNav{ |
| + | height: 60%; |
| + | } |
| + | |
| + | .left-menu, .right-menu{ |
| + | position: absolute; |
| + | background: none; |
| + | color: black; |
| + | } |
| + | |
| + | .left-menu li a, .right-menu li a { |
| + | color: #000 !important; |
| + | } |
| + | |
| + | |
| + | .left-menu ul li, .right-menu ul li a{ |
| + | background: none; |
| + | color: #000 !important; |
| + | } |
| + | |
| + | .left-menu li a:hover, .right-menu li a:hover, .right-menu li a:visited, .right-menu li a:active { |
| + | color: #000 !important; |
| + | } |
| + | #p-logo{ |
| + | display: none; |
| + | } |
| + | .firstHeading{ |
| + | visibility: hidden; |
| + | } |
| + | #catlinks{ |
| + | border:none; |
| + | } |
| + | |
| + | a { |
| + | color: #137c99; |
| + | } |
| + | #top-section{ |
| + | height:20px; |
| + | background-color: #f8fcfd; |
| + | border:none; |
| + | } |
| + | #content{ |
| + | background-color: #f8fcfd; |
| + | border:none; |
| + | } |
| + | a:visited{ |
| + | |
| + | color: #137c99; |
| + | } |
| + | #footer-box{ |
| + | margin-bottom: 0px; |
| + | margin-top: 0px; |
| + | padding: 0px 0px 0px 0px; |
| + | display: none; |
| + | width: 965px; |
| + | margin-left: -1px; |
| + | background-color: #f8fcfd; |
| + | } |
| + | /* Search bar, will put somewhere else later*/ |
| + | #search-controls { |
| + | overflow:hidden; |
| + | display:none; |
| + | background: none; |
| + | } |
| + | |
| + | </style> |
| <title>Notebook</title> | | <title>Notebook</title> |
| <meta charset="utf-8"> | | <meta charset="utf-8"> |
|
|
| <!-- Slider --> | | <!-- Slider --> |
| <!-- Standalone demo styles, not required by the toggles | | <!-- Standalone demo styles, not required by the toggles |
- | <link rel="stylesheet" href="demo.css"> | + | <style type="text/css"> |
| + | |
| + | </style> |
| Toggle Switch --> | | Toggle Switch --> |
- | <link rel="stylesheet" href="css/toggle-switch.css"> | + | <style type="text/css"> |
| + | /* ------------------------------------------ |
| + | CSS TOGGLE SWITCHES (IonuČ› Colceriu) |
| + | Licensed under Unlicense |
| + | https://github.com/ghinda/css-toggle-switch |
| + | ------------------------------------------ */ |
| + | |
| + | /* Hide by default */ |
| + | |
| + | .switch .slide-button, |
| + | .toggle p span { |
| + | display: none; |
| + | } |
| + | |
| + | /* Toggle Switches */ |
| + | |
| + | /* We can't test for a specific feature, |
| + | * so we only target browsers with support for media queries. |
| + | */ |
| + | @media only screen { |
| + | |
| + | /* Checkbox |
| + | */ |
| + | .toggle { |
| + | position: relative; |
| + | padding: 0; |
| + | margin-left: 100px; |
| + | } |
| + | |
| + | /* Position the label over all the elements, except the slide-button |
| + | * Clicking anywhere on the label will change the switch-state |
| + | */ |
| + | .toggle label { |
| + | position: relative; |
| + | z-index: 3; |
| + | |
| + | display: block; |
| + | width: 100%; |
| + | } |
| + | |
| + | /* Don't hide the input from screen-readers and keyboard access |
| + | */ |
| + | .toggle input { |
| + | position: absolute; |
| + | opacity: 0; |
| + | z-index: 5; |
| + | } |
| + | |
| + | .toggle p { |
| + | position: absolute; |
| + | left: -100px; |
| + | |
| + | width: 100%; |
| + | margin: 0; |
| + | padding-right: 100px; |
| + | |
| + | text-align: left; |
| + | } |
| + | |
| + | .toggle p span { |
| + | position: absolute; |
| + | top: 0; |
| + | left: 0; |
| + | z-index: 5; |
| + | |
| + | display: block; |
| + | width: 50%; |
| + | margin-left: 100px; |
| + | |
| + | text-align: center; |
| + | } |
| + | |
| + | .toggle p span:last-child { |
| + | left: 50%; |
| + | } |
| + | |
| + | .toggle .slide-button { |
| + | position: absolute; |
| + | right: 0; |
| + | top: 0; |
| + | z-index: 4; |
| + | |
| + | display: block; |
| + | width: 50%; |
| + | height: 100%; |
| + | padding: 0; |
| + | } |
| + | |
| + | /* Radio Switch |
| + | */ |
| + | .switch { |
| + | position: relative; |
| + | padding: 0; |
| + | } |
| + | |
| + | .switch input { |
| + | position: absolute; |
| + | opacity: 0; |
| + | } |
| + | |
| + | .switch label { |
| + | position: relative; |
| + | z-index: 2; |
| + | |
| + | float: left; |
| + | width: 50%; |
| + | height: 100%; |
| + | |
| + | margin: 0; |
| + | text-align: center; |
| + | } |
| + | |
| + | .switch .slide-button { |
| + | position: absolute; |
| + | top: 0; |
| + | left: 0; |
| + | padding: 0; |
| + | z-index: 1; |
| + | |
| + | width: 50%; |
| + | height: 100%; |
| + | } |
| + | |
| + | .switch input:last-of-type:checked ~ .slide-button { |
| + | left: 50%; |
| + | } |
| + | |
| + | /* Switch with 3 items */ |
| + | .switch.switch-three label, |
| + | .switch.switch-three .slide-button { |
| + | width: 33.3%; |
| + | } |
| + | |
| + | .switch.switch-three input:checked:nth-of-type(2) ~ .slide-button { |
| + | left: 33.3%; |
| + | } |
| + | |
| + | .switch.switch-three input:checked:last-of-type ~ .slide-button { |
| + | left: 66.6%; |
| + | } |
| + | |
| + | /* Switch with 4 items */ |
| + | .switch.switch-four label, |
| + | .switch.switch-four .slide-button { |
| + | width: 25%; |
| + | } |
| + | |
| + | .switch.switch-four input:checked:nth-of-type(2) ~ .slide-button { |
| + | left: 25%; |
| + | } |
| + | |
| + | .switch.switch-four input:checked:nth-of-type(3) ~ .slide-button { |
| + | left: 50%; |
| + | } |
| + | |
| + | .switch.switch-four input:checked:last-of-type ~ .slide-button { |
| + | left: 75%; |
| + | } |
| + | |
| + | /* Switch with 5 items */ |
| + | .switch.switch-five label, |
| + | .switch.switch-five .slide-button { |
| + | width: 20%; |
| + | } |
| + | |
| + | .switch.switch-five input:checked:nth-of-type(2) ~ .slide-button { |
| + | left: 20%; |
| + | } |
| + | |
| + | .switch.switch-five input:checked:nth-of-type(3) ~ .slide-button { |
| + | left: 40%; |
| + | } |
| + | |
| + | .switch.switch-five input:checked:nth-of-type(4) ~ .slide-button { |
| + | left: 60%; |
| + | } |
| + | |
| + | .switch.switch-five input:checked:last-of-type ~ .slide-button { |
| + | left: 80%; |
| + | } |
| + | |
| + | /* Shared */ |
| + | .toggle, |
| + | .switch { |
| + | display: block; |
| + | height: 30px; |
| + | } |
| + | |
| + | .switch *, |
| + | .toggle * { |
| + | -webkit-box-sizing: border-box; |
| + | -moz-box-sizing: border-box; |
| + | -ms-box-sizing: border-box; |
| + | -o-box-sizing: border-box; |
| + | box-sizing: border-box; |
| + | } |
| + | |
| + | .switch .slide-button, |
| + | .toggle .slide-button { |
| + | display: block; |
| + | |
| + | -webkit-transition: all 0.3s ease-out; |
| + | -moz-transition: all 0.3s ease-out; |
| + | -ms-transition: all 0.3s ease-out; |
| + | -o-transition: all 0.3s ease-out; |
| + | transition: all 0.3s ease-out; |
| + | } |
| + | |
| + | .toggle label, |
| + | .toggle p, |
| + | .switch label { |
| + | line-height: 30px; |
| + | vertical-align: middle; |
| + | } |
| + | |
| + | .toggle input:checked ~ .slide-button { |
| + | right: 50%; |
| + | } |
| + | |
| + | /* Outline the toggles when the inputs are focused */ |
| + | .toggle input:focus ~ .slide-button, |
| + | .switch input:focus + label { |
| + | outline: 1px dotted #888; |
| + | } |
| + | |
| + | /* Bugfix for older Webkit, including mobile Webkit. Adapted from: |
| + | * http://css-tricks.com/webkit-sibling-bug/ |
| + | */ |
| + | .switch, .toggle { |
| + | -webkit-animation: bugfix infinite 1s; |
| + | } |
| + | |
| + | @-webkit-keyframes bugfix { from { position: relative; } to { position: relative; } } |
| + | |
| + | |
| + | /* Standalone Themes */ |
| + | |
| + | |
| + | /* Candy Theme |
| + | * Based on the "Sort Switches / Toggles (PSD)" by Ormal Clarck |
| + | * http://www.premiumpixels.com/freebies/sort-switches-toggles-psd/ |
| + | */ |
| + | |
| + | .candy { |
| + | background-color: #2d3035; |
| + | |
| + | color: #fff; |
| + | font-weight: bold; |
| + | text-align: center; |
| + | text-shadow: 1px 1px 1px #191b1e; |
| + | |
| + | border-radius: 3px; |
| + | |
| + | box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0px rgba(255, 255, 255, 0.2); |
| + | } |
| + | |
| + | .candy input:checked + label { |
| + | color: #333; |
| + | text-shadow: 0 1px 0 rgba(255,255,255,0.5); |
| + | } |
| + | |
| + | .candy .slide-button { |
| + | border: 1px solid #333; |
| + | |
| + | background-color: #70c66b; |
| + | |
| + | background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)); |
| + | background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)); |
| + | background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)); |
| + | background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)); |
| + | background-image: linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)); |
| + | |
| + | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.45); |
| + | |
| + | border-radius: 3px; |
| + | } |
| + | |
| + | .candy p { |
| + | color: #333; |
| + | |
| + | text-shadow: none; |
| + | } |
| + | |
| + | .candy span { |
| + | color: #fff; |
| + | } |
| + | |
| + | .candy.blue .slide-button { |
| + | background-color: #38a3d4; |
| + | } |
| + | |
| + | .candy.yellow .slide-button { |
| + | background-color: #f5e560; |
| + | } |
| + | |
| + | /* Android Theme |
| + | * Based on Holo |
| + | */ |
| + | |
| + | .android { |
| + | background-color: #b6b6b6; |
| + | |
| + | color: #fff; |
| + | } |
| + | |
| + | .android.toggle { |
| + | border: 2px solid #b6b6b6; |
| + | } |
| + | |
| + | .android.switch { |
| + | overflow: hidden; |
| + | } |
| + | |
| + | .android.switch .slide-button { |
| + | background-color: #279fca; |
| + | |
| + | -webkit-transform: skew(20deg) translateX(10px); |
| + | -moz-transform: skew(20deg) translateX(10px); |
| + | -ms-transform: skew(20deg) translateX(10px); |
| + | -o-transform: skew(20deg) translateX(10px); |
| + | transform: skew(20deg); |
| + | } |
| + | |
| + | .android.toggle .slide-button { |
| + | border-radius: 2px; |
| + | |
| + | background-color: #848484; |
| + | } |
| + | |
| + | /* Selected ON toggle */ |
| + | .android.toggle input:first-of-type:checked ~ .slide-button { |
| + | background-color: #279fca; |
| + | } |
| + | |
| + | .android.switch input:first-of-type:checked ~ .slide-button { |
| + | -webkit-transform: skew(20deg) translateX(-10px); |
| + | -moz-transform: skew(20deg) translateX(-10px); |
| + | -ms-transform: skew(20deg) translateX(-10px); |
| + | -o-transform: skew(20deg) translateX(-10px); |
| + | transform: skew(20deg) translateX(-10px); |
| + | } |
| + | |
| + | .android p { |
| + | color: #333; |
| + | } |
| + | |
| + | .android span { |
| + | color: #fff; |
| + | } |
| + | |
| + | .android.switch, |
| + | .android span { |
| + | text-transform: uppercase; |
| + | } |
| + | |
| + | /* iOS Theme |
| + | * Similar to iOS but more accessible |
| + | */ |
| + | |
| + | .ios { |
| + | background: -webkit-linear-gradient(top, #cfcfcf, #efefef 50%, #f9f9f9 50%, #fefefe); |
| + | background: -moz-linear-gradient(top, #cfcfcf, #efefef 50%, #f9f9f9 50%, #fefefe); |
| + | background: -o-linear-gradient(top, #cfcfcf, #efefef 50%, #f9f9f9 50%, #fefefe); |
| + | background: -ms-linear-gradient(top, #cfcfcf, #efefef 50%, #f9f9f9 50%, #fefefe); |
| + | background: linear-gradient(top, #cfcfcf, #efefef 50%, #f9f9f9 50%, #fefefe); |
| + | |
| + | -webkit-box-shadow: inset 0 2px 2px #b6b6b6, inset 3px 0 3px #b6b6b6; |
| + | box-shadow: inset 0 2px 2px #b6b6b6, inset 3px 0 3px #b6b6b6; |
| + | |
| + | border: 1px solid #efefef; |
| + | border-radius: 3px; |
| + | |
| + | color: #7f7f7f; |
| + | font: bold 14px sans-serif; |
| + | text-align: center; |
| + | text-shadow: none; |
| + | } |
| + | |
| + | .ios.toggle .slide-button { |
| + | border: 1px solid #919191; |
| + | background: -webkit-linear-gradient(top, #cdcdcd, #fbfbfb); |
| + | background: -moz-linear-gradient(top, #cdcdcd, #fbfbfb); |
| + | background: -o-linear-gradient(top, #cdcdcd, #fbfbfb); |
| + | background: -ms-linear-gradient(top, #cdcdcd, #fbfbfb); |
| + | background: linear-gradient(top, #cdcdcd, #fbfbfb); |
| + | |
| + | border-radius: 3px; |
| + | |
| + | -webkit-box-shadow: inset 0 1px 0 #f0f0f0; |
| + | box-shadow: inset 0 1px 0 #f0f0f0; |
| + | } |
| + | |
| + | /* Selected ON toggle */ |
| + | .ios.toggle input:first-of-type:checked ~ p span:first-child, |
| + | .ios.switch input:checked + label { |
| + | color: #fff; |
| + | text-shadow: 0 -1px 0 #1b3b6f; |
| + | } |
| + | |
| + | .ios.toggle input:first-of-type:checked ~ .slide-button, |
| + | .ios.switch .slide-button { |
| + | background: -webkit-linear-gradient(top, #3672dc, #4085ec 50%, #4d8fef 50%, #76adfc); |
| + | background: -moz-linear-gradient(top, #3672dc, #4085ec 50%, #4d8fef 50%, #76adfc); |
| + | background: -o-linear-gradient(top, #3672dc, #4085ec 50%, #4d8fef 50%, #76adfc); |
| + | background: -ms-linear-gradient(top, #3672dc, #4085ec 50%, #4d8fef 50%, #76adfc); |
| + | background: linear-gradient(top, #3672dc, #4085ec 50%, #4d8fef 50%, #76adfc); |
| + | |
| + | border-radius: 3px; |
| + | border: 1px solid #1654b5; |
| + | |
| + | text-align: center; |
| + | color: #fff; |
| + | |
| + | font: bold 14px sans-serif; |
| + | text-shadow: 0 -1px 0 #1b3b6f; |
| + | } |
| + | |
| + | .ios.toggle p span { |
| + | color: #7f7f7f; |
| + | } |
| + | |
| + | } |
| + | |
| + | </style> |
| <!-- Prism Syntax Highlighter --> | | <!-- Prism Syntax Highlighter --> |
- | <link rel="stylesheet" href="lib/prism/prism.css"> | + | <style type="text/css"> |
- | <script type="text/javascript" src="lib/prism/prism.js"></script> | + | /** |
| + | * okaidia theme for JavaScript, CSS and HTML |
| + | * Loosely based on Monokai textmate theme by http://www.monokai.nl/ |
| + | * @author ocodia |
| + | */ |
| + | |
| + | code[class*="language-"], |
| + | pre[class*="language-"] { |
| + | color: #f8f8f2; |
| + | text-shadow: 0px 1px rgba(0,0,0,0.3); |
| + | font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| + | direction: ltr; |
| + | text-align: left; |
| + | white-space: pre; |
| + | word-spacing: normal; |
| + | |
| + | -moz-tab-size: 4; |
| + | -o-tab-size: 4; |
| + | tab-size: 4; |
| + | |
| + | -webkit-hyphens: none; |
| + | -moz-hyphens: none; |
| + | -ms-hyphens: none; |
| + | hyphens: none; |
| + | } |
| + | |
| + | /* Code blocks */ |
| + | pre[class*="language-"] { |
| + | padding: 1em; |
| + | margin: .5em 0; |
| + | overflow: auto; |
| + | } |
| + | |
| + | :not(pre) > code[class*="language-"], |
| + | pre[class*="language-"] { |
| + | background: #272822; |
| + | } |
| + | |
| + | /* Inline code */ |
| + | :not(pre) > code[class*="language-"] { |
| + | padding: .1em; |
| + | border-radius: .3em; |
| + | } |
| + | |
| + | .token.comment, |
| + | .token.prolog, |
| + | .token.doctype, |
| + | .token.cdata { |
| + | color: slategray; |
| + | } |
| + | |
| + | .token.punctuation { |
| + | color: #f8f8f2; |
| + | } |
| + | |
| + | .namespace { |
| + | opacity: .7; |
| + | } |
| + | |
| + | .token.property, |
| + | .token.tag { |
| + | color: #f92672; |
| + | } |
| + | |
| + | .token.boolean, |
| + | .token.number{ |
| + | color: #ae81ff; |
| + | } |
| + | |
| + | .token.selector, |
| + | .token.attr-name, |
| + | .token.string { |
| + | color: #a6e22e; |
| + | } |
| + | |
| + | |
| + | .token.operator, |
| + | .token.entity, |
| + | .token.url, |
| + | .language-css .token.string, |
| + | .style .token.string { |
| + | color: #f8f8f2; |
| + | } |
| + | |
| + | .token.atrule, |
| + | .token.attr-value |
| + | { |
| + | color: #e6db74; |
| + | } |
| + | |
| + | |
| + | .token.keyword{ |
| + | color: #f92672; |
| + | } |
| + | |
| + | .token.regex, |
| + | .token.important { |
| + | color: #fd971f; |
| + | } |
| + | |
| + | .token.important { |
| + | font-weight: bold; |
| + | } |
| + | |
| + | .token.entity { |
| + | cursor: help; |
| + | } |
| + | </style> |
| + | <script type="text/javascript" > |
| + | /** |
| + | * Prism: Lightweight, robust, elegant syntax highlighting |
| + | * MIT license http://www.opensource.org/licenses/mit-license.php/ |
| + | * @author Lea Verou http://lea.verou.me |
| + | */(function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={languages:{insertBefore:function(e,n,r,i){i=i||t.languages;var s=i[e],o={};for(var u in s)if(s.hasOwnProperty(u)){if(u==n)for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);o[u]=s[u]}return i[e]=o},DFS:function(e,n){for(var r in e){n.call(e,r,e[r]);Object.prototype.toString.call(e)==="[object Object]"&&t.languages.DFS(e[r],n)}}},highlightAll:function(e,n){var r=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');for(var i=0,s;s=r[i++];)t.highlightElement(s,e===!0,n)},highlightElement:function(r,i,s){var o,u,a=r;while(a&&!e.test(a.className))a=a.parentNode;if(a){o=(a.className.match(e)||[,""])[1];u=t.languages[o]}if(!u)return;r.className=r.className.replace(e,"").replace(/\s+/g," ")+" language-"+o;a=r.parentNode;/pre/i.test(a.nodeName)&&(a.className=a.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var f=r.textContent.trim();if(!f)return;f=f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\u00a0/g," ");var l={element:r,language:o,grammar:u,code:f};t.hooks.run("before-highlight",l);if(i&&self.Worker){var c=new Worker(t.filename);c.onmessage=function(e){l.highlightedCode=n.stringify(JSON.parse(e.data));l.element.innerHTML=l.highlightedCode;s&&s.call(l.element);t.hooks.run("after-highlight",l)};c.postMessage(JSON.stringify({language:l.language,code:l.code}))}else{l.highlightedCode=t.highlight(l.code,l.grammar);l.element.innerHTML=l.highlightedCode;s&&s.call(r);t.hooks.run("after-highlight",l)}},highlight:function(e,r){return n.stringify(t.tokenize(e,r))},tokenize:function(e,n){var r=t.Token,i=[e],s=n.rest;if(s){for(var o in s)n[o]=s[o];delete n.rest}e:for(var o in n){if(!n.hasOwnProperty(o)||!n[o])continue;var u=n[o],a=u.inside,f=!!u.lookbehind||0;u=u.pattern||u;for(var l=0;l<i.length;l++){var c=i[l];if(i.length>e.length)break e;if(c instanceof r)continue;u.lastIndex=0;var h=u.exec(c);if(h){f&&(f=h[1].length);var p=h.index-1+f,h=h[0].slice(f),d=h.length,v=p+d,m=c.slice(0,p+1),g=c.slice(v+1),y=[l,1];m&&y.push(m);var b=new r(o,a?t.tokenize(h,a):h);y.push(b);g&&y.push(g);Array.prototype.splice.apply(i,y)}}}return i},hooks:{all:{},add:function(e,n){var r=t.hooks.all;r[e]=r[e]||[];r[e].push(n)},run:function(e,n){var r=t.hooks.all[e];if(!r||!r.length)return;for(var i=0,s;s=r[i++];)s(n)}}},n=t.Token=function(e,t){this.type=e;this.content=t};n.stringify=function(e){if(typeof e=="string")return e;if(Object.prototype.toString.call(e)=="[object Array]"){for(var r=0;r<e.length;r++)e[r]=n.stringify(e[r]);return e.join("")}var i={type:e.type,content:n.stringify(e.content),tag:"span",classes:["token",e.type],attributes:{}};i.type=="comment"&&(i.attributes.spellcheck="true");t.hooks.run("wrap",i);var s="";for(var o in i.attributes)s+=o+'="'+(i.attributes[o]||"")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'" '+s+">"+i.content+"</"+i.tag+">"};if(!self.document){self.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,i=n.code;self.postMessage(JSON.stringify(t.tokenize(i,t.languages[r])));self.close()},!1);return}var r=document.getElementsByTagName("script");r=r[r.length-1];if(r){t.filename=r.src;document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)}})(); |
| + | Prism.languages.markup={comment:/<!--[\w\W]*?--(>|>)/g,prolog:/<\?.+?\?>/,doctype:/<!DOCTYPE.+?>/,cdata:/<!\[CDATA\[[\w\W]+?]]>/i,tag:{pattern:/<\/?[\w:-]+\s*[\w\W]*?>/gi,inside:{tag:{pattern:/^<\/?[\w:-]+/i,inside:{punctuation:/^<\/?/,namespace:/^[\w-]+?:/}},"attr-value":{pattern:/=(('|")[\w\W]*?(\2)|[^\s>]+)/gi,inside:{punctuation:/=/g}},punctuation:/\/?>/g,"attr-name":{pattern:/[\w:-]+/g,inside:{namespace:/^[\w-]+?:/}}}},entity:/&#?[\da-z]{1,8};/gi};Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))}); |
| + | Prism.languages.css={comment:/\/\*[\w\W]*?\*\//g,atrule:/@[\w-]+?(\s+.+)?(?=\s*{|\s*;)/gi,url:/url\((["']?).*?\1\)/gi,selector:/[^\{\}\s][^\{\}]*(?=\s*\{)/g,property:/(\b|\B)[a-z-]+(?=\s*:)/ig,string:/("|')(\\?.)*?\1/g,important:/\B!important\b/gi,ignore:/&(lt|gt|amp);/gi,punctuation:/[\{\};:]/g};Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<|<)style[\w\W]*?(>|>)[\w\W]*?(<|<)\/style(>|>)/ig,inside:{tag:{pattern:/(<|<)style[\w\W]*?(>|>)|(<|<)\/style(>|>)/ig,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.css}}}); |
| + | Prism.languages.javascript={comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|\/\/.*?(\r?\n|$))/g,lookbehind:!0},string:/("|')(\\?.)*?\1/g,regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g,lookbehind:!0},keyword:/\b(var|let|if|else|while|do|for|return|in|instanceof|function|new|with|typeof|try|catch|finally|null|break|continue)\b/g,"boolean":/\b(true|false)\b/g,number:/\b-?(0x)?\d*\.?\d+\b/g,operator:/[-+]{1,2}|!|=?<|=?>|={1,2}|(&){1,2}|\|?\||\?|\*|\//g,ignore:/&(lt|gt|amp);/gi,punctuation:/[{}[\];(),.:]/g};Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<|<)script[\w\W]*?(>|>)[\w\W]*?(<|<)\/script(>|>)/ig,inside:{tag:{pattern:/(<|<)script[\w\W]*?(>|>)|(<|<)\/script(>|>)/ig,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.javascript}}}); |
| + | </script> |
| | | |
| <!-- Bootstrap Inclusion --> | | <!-- Bootstrap Inclusion --> |
Fatal error: Maximum execution time of 30 seconds exceeded in /websites/2013.igem.org/wiki/includes/diff/DifferenceEngine.php on line 1094