UNPKG

itutor-mathlive

Version:

Beautifully typeset math made easy

350 lines (319 loc) 5.88 kB
/** fix pretty-print tommorrow night 80 */ .prettyprint { padding-left: 0; padding-right: 0; border: 1px solid rgba(255, 255, 255, .3); border-right: 1px solid rgba(0, 0, 0, .3); border-bottom: 1px solid rgba(0, 0, 0, .3); } .prettyprint.linenums { padding-left: 0; } .prettyprint.linenums li { margin-left: 60px; border-left: 1px solid #eee; padding-left: 0; } .prettyprint.linenums li code { background: transparent; font-size: 14px; } .prettyprint.linenums ol li.L0, li.L2,li.L4, li.L6, li.L8 { background-color: rgba(128, 128, 128, .1); } .prettyprint code { padding-left: 10px; padding-right: 0; margin: 0; border-radius: 0; background: transparent; } body { padding: 0; color: #454545; font-size: 14px; font-weight: 400; font-family: 'Source Sans Pro', sans-serif; } footer { color: #bbb; font-size: small; margin-left: 0; padding-left: 0; padding-top: 40px; } footer a { color: rgba(0, 102, 206, 0.44); } h1 { line-height: 1em; font-weight: 700; color: #cd0030; letter-spacing: -0.01em; text-transform: uppercase; } h1.page-title { text-transform: none; margin: 20px 0 30px 30px; } h2 { font-weight: 700; } h3 { font-weight: 700; } h4 { font-size: 17.5px; } .container-overview, .method, .member { margin-top: 10px; margin-bottom: 20px; overflow: hidden; padding: 20px 17px; border-radius: 4px; border: 1px solid #dedede; border-top: 1px solid #eee; background-color: #fff; max-width: 700px; box-shadow: 1px 1px 5px rgba(0, 0, 0, .1) } .container-overview .method { border: none; padding: 20px 0 0 0; margin: 0; box-shadow: none; } .no-private .method.private, .no-private li.private { display: none; } .member h4, .method h4 { border-bottom: 1px solid #e7e7e7; font-weight: 400; padding-bottom: 10px; margin-top: -10px; margin-bottom: 10px; } .property { margin-bottom: 10px; } .member p, .method p, .property .description p { font-size: 14px; line-height: 20px; margin-left: 20px; margin-top: 0; margin-bottom: 0; } .props { border: 0; box-shadow: none; } .param div.signature { padding-left: 0; margin-bottom: 20px; } .signature-type { color: #aaa; } .description p { margin-left: 0; } .tag-source { display: inline-block; background: #fafafa; border-radius: 5px; float: right; padding-left: 8px; padding-right: 8px; border: 1px solid #f0f0f0; border-bottom: 1px solid #aaa; border-right: 1px solid #aaa; } h1, h2, h3, h4, h5, h6 { font-family: 'Source Sans Pro', sans-serif; text-shadow: 1px 1px 1px #fff; } a, a:active { color: #0066ce; } tt, code, kbd, samp { font-family: 'Source Code Pro', monospace; font-size: 0.8rem; background: rgba(128, 128, 128, .07); border: 1px solid rgba(0, 0, 0, .07); } .details { font-size: .85em; color: #666; background: #fafafa; } .param-type { font-family: 'Source Code Pro', monospace; font-size: 11.844px; background-color: #eee; color: #222; text-shadow: none; padding: 4px 7px; border-radius: 3px; white-space: nowrap; vertical-align: baseline; } .name, .signature { font-family: 'Source Sans Pro', monospace; } .name code { font-family: 'Source Sans Pro', monospace; color: #000; margin-bottom: 5px; line-height: 20px; font-size: 14px; background: transparent; border: none; } .attributes span.attribute { display: inline; font-family: 'Source Code Pro', monospace; font-size: 11.844px; background-color: #eee; color: #222; text-shadow: none; padding: 4px 7px; border-radius: 3px; white-space: nowrap; vertical-align: baseline; font-style: italic; } #nav { border-right: solid 1px #ddd; padding: 0; padding-left: 10px; margin: 0; width: 290px; position: relative; } #nav checkbox { display: block; margin-top: 12px; font-size: .9em; } nav ul a, nav ul a:active { font-family: 'Source Sans Pro', sans-serif; font-size: 14px; } nav ul ul a, nav ul ul a:active { padding-left: 5px; border-left: .5px solid #f4f4f4; } #main{ width: calc(100% - 290px); padding-left: 0; margin-left: 0; padding : 0 20px 20px 20px; background: #f8f8f8; position: absolute; top: 0; left: 289px; border: 1px solid #ddd; } @media only screen and (max-width: 800px) and (min-width: 320px) and (-webkit-min-device-pixel-ratio: 2) { #main { width: 100%; padding: 0; left: 0; } #main h1.page-title { margin: 20px 0 1em 5px; } #main section { padding-left: 10px; padding-right: 10px; } .forkme { display: none; } .navicon-button { top: 4px; } #nav { left: -290px; font-size: 24px; position: fixed; } nav ul li a, nav ul li a:active { font-size: 18px; line-height: 34px; } nav ul ul a, nav ul ul a:active { font-size: 18px; line-height: 34px; } input.search { font-size: 18px; } footer { margin-left: 0; } } section[role="navigation"] { padding: 0; } section { background-color: transparent; } section.readme { background-color: #fff; max-width: 700px; border: 1px solid #eee; } .prettyprint.linenums li.selected, .prettyprint.linenums li.selected *{ background-color: rgba(244, 222, 54, 0.33); } .name{ color: #cd0030; font-weight: bold; } nav ul li a, nav ul li ul li a { color: #0066ce; } nav ul li a:hover, nav ul li ul li a:hover{ color: #0066ce; text-decoration: underline; } h3.group-title.home { font-size: 24px; font-weight: 900; margin-top: 30px; margin-bottom: 45px; } h3.group-title{ color: #333; font-weight: 700; font-size: 24px; letter-spacing: 0; } dl.inherited-line{ border-bottom: 1px solid hsl(0, 0%, 87%); /* margin-bottom: 30px; padding-bottom: 30px; */ } input.search{ border-radius: 1000px; padding : 5px 8px; border: 1px solid #ddd; width: calc(100% - 10px); margin-bottom: 30px; } input.search:focus{ background: #FFF; border: 1px solid #ddd; outline: 0; box-shadow: 0 0 5px 2px #0066ce; } input.search::placeholder { color: #999; } .className{ color : #cd0030; }