@teamix/typography
Version:
3 lines (2 loc) • 15.5 kB
CSS
[dir=ltr] .Playground--actions--3WvGgKj{text-align:right}[dir=rtl] .Playground--actions--3WvGgKj{text-align:left}.Playground--actions--3WvGgKj{background:#f6f7f9}.Playground--actions--3WvGgKj button{cursor:pointer;outline:none;font-size:12px;text-transform:uppercase;-webkit-transition:color .3s;transition:color .3s;padding:3px 10px;border:none;border-left:1px solid #ced4de}.Playground--codeBox--2HxooZD{border:1px solid #e9e9e9;border-radius:6px;display:inline-block;width:100%;position:relative;margin:0 0 16px;-webkit-transition:all .5s ease;transition:all .5s ease;overflow:hidden}.Playground--codeBox--2HxooZD:hover{border-color:#ccc}.Playground--codeBox--2HxooZD:target{border:1px solid rgba(45,183,245,.7);-webkit-box-shadow:0 0 4px rgba(45,183,245,.5);box-shadow:0 0 4px rgba(45,183,245,.5)}.Playground--codeBox--2HxooZD:hover .Playground--meta--2c6abrQ,.Playground--codeBox--2HxooZD:target .Playground--meta--2c6abrQ{background:#fbfbfb}.Playground--codeBox--2HxooZD:hover .Playground--title--2QAQ88t,.Playground--codeBox--2HxooZD:target .Playground--title--2QAQ88t{background:#fbfbfb;-webkit-box-shadow:0 -1.2px 0 #e9e9e9;box-shadow:0 -1.2px 0 #e9e9e9}.Playground--codeBox--2HxooZD .Playground--title--2QAQ88t a,.Playground--codeBox--2HxooZD .Playground--title--2QAQ88t a:hover{color:#666}.Playground--codeBox--2HxooZD .Playground--demo--3f1vRt3{padding:42px 20px 50px;border-bottom:1px solid #ced4de}.Playground--codeBox--2HxooZD .Playground--highlight--3JBKTvH{overflow:hidden;padding:5px;border-top:1px dashed #e9e9e9}.Playground--codeBox--2HxooZD pre{margin:0;width:auto}
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.markdown{color:#666;font-size:14px;line-height:1.8}.highlight{line-height:1.5}.markdown img{vertical-align:middle;max-width:100%}.markdown h1{color:#404040;font-weight:500;line-height:40px;margin:0 0 16px;font-size:36px}.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{color:#404040;margin:1.6em 0 .6em;font-weight:500;clear:both}.markdown h1{font-size:28px}.markdown h2{font-size:22px}.markdown h3{font-size:18px}.markdown h4{font-size:16px}.markdown h5{font-size:14px}.markdown h6{font-size:12px}.markdown hr{height:1px;border:0;background:#e9e9e9;margin:16px 0;clear:both}.markdown p,.markdown pre{margin:1em 0}.markdown>blockquote,.markdown>ol,.markdown>p,.markdown>ul{width:80%}.markdown ul>li{list-style:circle}.markdown>ul li,.markdown blockquote ul>li{margin-left:20px;padding-left:4px}.markdown>ol li p,.markdown>ul li p{margin:.6em 0}.markdown ol>li{list-style:decimal}.markdown>ol li,.markdown blockquote ol>li{margin-left:20px;padding-left:4px}.markdown code{margin:0 3px}.markdown pre{border-radius:6px;background:#f7f7f7}.markdown pre code{border:none;padding:.5em;background:#f7f7f7;margin:0;display:block}.markdown b,.markdown strong{font-weight:600}.markdown>table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #e9e9e9;width:100%;margin-bottom:24px}.markdown>table th{white-space:nowrap;color:#5c6b77;font-weight:600}.markdown>table td,.markdown>table th{border:1px solid #e9e9e9;padding:8px 16px;text-align:left}.markdown>table th{background:#f7f7f7}.markdown>table td:first-child{font-weight:500;width:18%}.markdown>table td:nth-child(2){min-width:30%;max-width:45%}.markdown>table td:first-child{background:#fcfcfc}.markdown>table tr td:nth-last-child(-n+2){width:13%;word-break:break-all}.markdown blockquote{font-size:90%;color:#999;border-left:4px solid #e9e9e9;padding-left:.8em;margin:1em 0;font-style:italic}.markdown blockquote p{margin:0}.markdown .anchor{opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;margin-left:8px}.markdown .waiting{color:#ccc}.markdown h1:hover .anchor,.markdown h2:hover .anchor,.markdown h3:hover .anchor,.markdown h4:hover .anchor,.markdown h5:hover .anchor,.markdown h6:hover .anchor{opacity:1;display:inline-block}.markdown>br,.markdown>p>br{clear:both}.markdown.code-wrapper{overflow:hidden;border-top:1px solid #ced4de}.meta{border-bottom:2px solid #eee;line-height:24px;color:#666}li.meta-item{list-style:none;font-size:12px;color:#444}ul.meta-list{margin:1em 2em}.weex-link{margin-bottom:10px}.Layout--sidebar--2pWRXwY{width:250px;min-width:250px;min-height:100vh;background:#fff;border-right:1px solid #e4e8ed;-webkit-transition:background .3s,-webkit-transform .2s;transition:background .3s,-webkit-transform .2s;transition:transform .2s,background .3s;transition:transform .2s,background .3s,-webkit-transform .2s;z-index:1000;padding:32px}.Layout--searchbox--21eH8wl{position:relative;height:32px;white-space:nowrap;visibility:visible}.Layout--input--K0tx8iU,.Layout--searchbox--21eH8wl{display:inline-block;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.Layout--input--K0tx8iU{-webkit-transition:background .4s ease,-webkit-box-shadow .4s ease;transition:background .4s ease,-webkit-box-shadow .4s ease;transition:box-shadow .4s ease,background .4s ease;transition:box-shadow .4s ease,background .4s ease,-webkit-box-shadow .4s ease;border:0;border-radius:14px;-webkit-box-shadow:inset 0 0 0 1px #ccc;box-shadow:inset 0 0 0 1px #ccc;background:#fff;padding:0 16px;height:100%;vertical-align:middle;white-space:normal;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.Layout--input--K0tx8iU:hover{-webkit-box-shadow:inset 0 0 0 1px #b3b3b3;box-shadow:inset 0 0 0 1px #b3b3b3}.Layout--input--K0tx8iU:active,.Layout--input--K0tx8iU:focus{outline:0;-webkit-box-shadow:inset 0 0 0 1px #aaa;box-shadow:inset 0 0 0 1px #aaa;background:#fff}.Layout--input--K0tx8iU::placeholde{color:#aaa}.Layout--menuList--1AEvwPU{padding-left:10px}.Layout--item--2lOYrX7{list-style:none;position:relative;margin-top:8px;margin-bottom:8px;line-height:20px}.Layout--item--2lOYrX7 a{text-decoration:none;font-size:16px;color:#2d3747;display:block}.Layout--item--2lOYrX7 a:link,.Layout--item--2lOYrX7 a:visited{color:#2d3747}.Layout--selected--7iTFAoR:before{content:"";position:absolute;display:block;top:2px;left:-8px;height:1rem;background-color:#0b5fff;-webkit-transition:width .2s ease 0s;transition:width .2s ease 0s;width:2px;border-radius:1px}.Layout--nav--3ydhTlU{padding-left:20px;width:100%;height:60px;line-height:60px;background-color:#f5f6f7}.Layout--container--usNrg-H{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.Layout--main--w7mDw45{width:100%;padding:32px}.Layout--main--w7mDw45 .preview{margin-top:-1rem}.Layout--layout--15SADrk{-webkit-box-sizing:border-box;box-sizing:border-box;margin:16px 170px 20px 60px}.Layout--fixNav--1F-NYZ8{position:fixed;top:50px;right:2px;width:150px;padding:0;border-radius:5px;list-style:none;background-color:#fff;border-left:1px solid #e9e9e9}.Layout--fixNav--1F-NYZ8 li{position:relative;border-left:3px solid #fff;padding:0 10px;line-height:26px;font-size:12px}.Layout--fixNav--1F-NYZ8 li:last-child{border-bottom:0}.Layout--fixNav--1F-NYZ8 a{color:#2d3747;text-decoration:none;display:block}.Layout--fixNav--1F-NYZ8 a:link,.Layout--fixNav--1F-NYZ8 a:visited{color:#2d3747}.Layout--selected--261Encz:before{content:"";position:absolute;display:block;top:5px;left:-4px;height:1rem;background-color:#0b5fff;-webkit-transition:width .2s ease 0s;transition:width .2s ease 0s;width:2px;border-radius:1px}.teamix-typography{word-wrap:break-word}.teamix-typography-copy,.teamix-typography-edit{visibility:hidden}.teamix-typography:hover .teamix-typography-copy,.teamix-typography:hover .teamix-typography-edit{visibility:visible}.teamix-typography.teamix-typography-secondary{color:var(--color-text1-2)}.teamix-typography.teamix-typography-success{color:var(--color-success-5)}.teamix-typography.teamix-typography-warning{color:var(--color-warning-5)}.teamix-typography.teamix-typography-danger{color:var(--color-error-5)}a.teamix-typography.teamix-typography-danger:active,a.teamix-typography.teamix-typography-danger:focus,a.teamix-typography.teamix-typography-danger:hover{color:var(--color-error-6);cursor:pointer}.teamix-typography.teamix-typography-disabled{color:var(--color-text1-1);cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.teamix-typography p,div.teamix-typography{margin-bottom:1em}a.teamix-typography-ellipsis,span.teamix-typography-ellipsis{display:inline-block}.teamix-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.teamix-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:hsla(0,0%,58.8%,.06);border:solid hsla(0,0%,39.2%,.2);border-width:1px 1px 2px;border-radius:3px}.teamix-typography mark{padding:0;background-color:var(--color-warning-2)}.teamix-typography ins,.teamix-typography u{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.teamix-typography del,.teamix-typography s{text-decoration:line-through}.teamix-typography strong{font-weight:700;font-weight:var(--font-weight-3,700)}.teamix-typography-copy,.teamix-typography-edit,.teamix-typography-expand{color:var(--color-link-1);text-decoration:none;outline:none;cursor:pointer;-webkit-transition:color .3s;transition:color .3s;margin-left:4px}.teamix-typography-copy:focus,.teamix-typography-copy:hover,.teamix-typography-edit:focus,.teamix-typography-edit:hover,.teamix-typography-expand:focus,.teamix-typography-expand:hover{color:var(--color-link-2)}.teamix-typography-copy:active,.teamix-typography-edit:active,.teamix-typography-expand:active{color:var(--color-link-3)}.teamix-typography-copy-success,.teamix-typography-copy-success:focus,.teamix-typography-copy-success:hover{color:var(--color-success-5)}.teamix-typography-edit-content{position:relative}div.teamix-typography-edit-content{left:-9px;margin-top:calc(var(--input-multiple-font-size)/2 - 9px);margin-bottom:calc(1em - 2px)}.teamix-typography-edit-content-confirm{position:absolute;right:5px;bottom:5px;color:var(--color-text1-2);pointer-events:none}.teamix-typography-edit-content textarea{-moz-transition:none}.teamix-typography ol,.teamix-typography ul{margin:0 0 1em;padding:0}.teamix-typography ol li,.teamix-typography ul li{margin:0 0 0 20px;padding:0 0 0 4px}.teamix-typography ul{list-style-type:circle}.teamix-typography ul ul{list-style-type:disc}.teamix-typography ol{list-style-type:decimal}.teamix-typography blockquote,.teamix-typography pre{margin:1em 0}.teamix-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.teamix-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:transparent;border:0}.teamix-typography blockquote{padding:0 0 0 .6em;border-left:4px solid hsla(0,0%,39.2%,.2);opacity:.85}.teamix-typography-ellipsis-single-line{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}a.teamix-typography-ellipsis-single-line,span.teamix-typography-ellipsis-single-line{vertical-align:bottom}.teamix-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;/*! autoprefixer: ignore next */-webkit-box-orient:vertical}.teamix-typography-rtl{direction:rtl}.teamix-typography-rtl .teamix-typography-copy,.teamix-typography-rtl .teamix-typography-edit,.teamix-typography-rtl .teamix-typography-expand{margin-right:4px;margin-left:0}.teamix-typography-rtl .teamix-typography-expand{float:left}div.teamix-typography-edit-content.teamix-typography-rtl{right:-9px;left:auto}.teamix-typography-rtl .teamix-typography-edit-content-confirm{right:auto;left:10px}.teamix-typography-rtl.teamix-typography ol li,.teamix-typography-rtl.teamix-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}