@import "/static/common/css/less/site"; @font-face { font-family: langoo; src: url('/static/common/font/langoo.otf'); font-style: normal; font-weight: normal; unicode-range: U+32400-32AFF; } html { font-family: langoo, sans-serif, arial; } nav.dir { flex-direction: column; >div { flex-direction: column; >nav { padding-left: 12px; flex-direction: column; } } } // , // { "cmd": "M", "x": 0.4, "y": 0.24 }, // { "cmd": "L", "x": 1, "y": 0.4 }, // { "cmd": "B", "wise": 1, "touch": [ "x", "x" ] } body { >main { >aside { width: 240px; } } } [is="glyph-list"] { // max-width: 1000px; // >nav { // flex-wrap: wrap; // justify-items: center; // >span { // display: inline-block; // width: 48px; // border: 1px solid transparent; // text-align: center; // &.curr { // border: 1px solid red; // } // } // } >div.container { list-style: none; display: flex; flex-wrap: wrap; // border: 3px solid green; padding: 10px; gap: 0; >[is="glyph-canvas"] { margin: 0; padding: 0; // font-size: 0; cursor: pointer; >canvas { margin: 0; width: 24px; height: 24px; &:hover { border: 1px solid red; } } } } .glyph-view { // border:1px solid #ccc; width: 500px; height: 500px; } } [is="g-svg"] { display: contents; >svg { pointer-events: visible; //important to support pointer event height: 600px; border: 2px solid #ccc; } } [is="glyph-svg"], [is="glyph-canvas"] { border: 1px solid #ccc; // width:auto; // display: contents; // width: fit-content; // height: fit-content; // align-content: center; display: contents; &:has(div) { display: flex; flex-direction: column; align-items: center; } >div { font-size: 0.8rem; min-width: 80px; padding: 5px 10px; display: inline-flex; justify-content: space-between; } >svg, >canvas { border: 1px solid red; width: 48px; height: 48px; } } [is="ui-pagination"] { display: flex; // justify-content: center; align-items: center; font-size: 0.9rem; >span[data-index] { font-weight: bold; color: #000; } >nav { display: inline-flex; flex-wrap: wrap; } span { // border:2px solid red; min-width: 32px; padding: 6px var(--h-padding); //important cursor: pointer; &.curr { font-weight: bold; font-size: 1rem; } } } .symbol-list, .meta-list, .marker-list, .voice-list, .simple-list, .complex-list { display: flex; flex-wrap: wrap; padding: 20px 0; >div { display: flex; flex-direction: column; align-items: center; // border: 1px solid red; margin: 10px; padding: 0; >svg { border: 1px dashed blue; } >div { width: 80px; line-height: 1.3; font-size: 0.8rem; margin: 5px 0; text-align: center; } } } a[download] { font-size: 1.3rem; color: blue; } ul.char-list { display: flex; flex-wrap: wrap; padding: 20px 0; list-style: none; >li { border: 1px dashed #ccc; >* { display: block; text-align: center; } >span.char { display: block; padding: 32px; font-size: 2.1rem; color: red; } } }