D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
esironal
Full window
Github gist
Custom code editor palette in pure CSS
<div class="topbar"> <span>File</span><span>Editing</span><span>Search</span><span>Show</span><span>Navigation</span><span>Development</span><span>Tools</span><span>Help</span> <div class="controls"> <span class="min"><i class="icon ion-chevron-down"></i></span> <span class="max"><i class="icon ion-chevron-up"></i></span> <span class="close"><i class="icon ion-close-round"></i></span> </div> </div> <div class="menu"> <span>Work area</span> <a href="#" class="current save css">style<b>.css</b></a> <a href="#" class="html">index<b>.html</b></a> <a href="#" class="js">javascript<b>.js</b></a> <a href="#" class="add"></a> </div> <div class="code"> <n><cm>/*</cm><br></n> <n><cmm>Pen created by: <a href="https://codepen.io/Varo/" target="blank">Varo</a></cmm><br></n> <n><cmm>Test it and make your own color palette!</cmm><br></n> <n><cmm>Looks awesome right? Follow me to see more pens like it!</cmm><br></n> <n><cm>*/</cm><br></n> <n><br></n> <n><c>.body </c><i>{</i><br></n> <n><v>margin: <num>0</num>;</v><br></n> <n><v>padding: <num>0</num>;</v><br></n> <n><v>background: <hex>#32353D</hex>;</v><br></n> <n><v>font-family: <cf>'Varela Round'</cf>, <cf>'Ionicons'</cf>, <f>sans-serif</f>;</v><br></n> <n><v>user-select: <val>none</val>;</v><br></n> <n><v><pr>-webkit-</pr>user-select: <val>none</val>;</v><br></n> <n><i>}</i><br></n> <n><pr>::selection </pr><i>{</i> <vn>background: <rgba>rgba</rgba><i>(</i><num>95,191,249,.4</num><i>)</i></vn>; <i>}</i><br></n> <n><c>.topbar </c><i>{</i><br></n> <n><v>position: <val>fixed</val>;</v><br></n> <n><v>top: <num>0px</num>;</v><br></n> <n><v>left: <num>0px</num>;</v><br></n> <n><v>height: <num>30px</num>;</v><br></n> <n><v>width: <num>100%</num>;</v><br></n> <n><v>background: <hex>#32353D</hex>;</v><br></n> <n><v>line-height: <num>30px</num>;</v><br></n> <n><v>z-index: <num>100</num>;</v><br></n> <n><i>}</i><br></n> <n><c>.topbar span </c><i>{</i><br></n> <n><v>padding: <num>2px 10px</num>;</v><br></n> <n><v>margin: <num>0px 2px</num>;</v><br></n> <n><v>font-size: <num>13px</num>;</v><br></n> <n><v>border-radius: <num>5px</num>;</v><br></n> <n><v>cursor: <val>pointer</val>;</v><br></n> <n><i>}</i><br></n> <n><c>.menu </c><i>{</i><br></n> <n><v>position: <val>fixed</val>;</v><br></n> <n><v>top: <num>30px</num>;</v><br></n> <n><v>left: <num>0px</num>;</v><br></n> <n><v>width: <num>300px</num>;</v><br></n> <n><v>height: <calc>calc</calc><i>(</i><num> 100% </num>-<num> 32px </num><i>)</i>;</v><br></n> <n><v>height: <calc><pr>-webkit-</pr>calc</calc><i>(</i><num> 100% </num>-<num> 32px </num><i>)</i>;</v><br></n> <n><v>padding-top: <num>2px</num>;</v><br></n> <n><v>background: <hex>#32353D</hex>;</v><br></n> <n><v>box-shadow: <val>inset</val> <num>0 2px 0</num> <rgba>rgba</rgba><i>(</i><num>255,255,255,.05</num><i>)</i>, <val>inset</val> <num>0 1px 0</num> <rgba>rgba</rgba><i>(</i><num>0,0,0,.4</num><i>)</i>;</v><br></n> <n><v>transition: <val>all</val> <num>.2s</num> <val>ease</val>;</v><br></n> <n><v><pr>-webkit-</pr>transition: <val>all</val> <num>.2s</num> <val>ease</val>;</v><br></n> <n><i>}</i><br></n> <n><c>.menu a </c><i>{</i><br></n> <n><v>display: <val>block</val>;</v><br></n> <n><v>padding: <num>10px 10px 10px 40px</num>;</v><br></n> <n><v>text-decoration: <val>none</val>;</v><br></n> <n><v>color: <rgba>rgba</rgba><i>(</i><num>255,255,255,.5</num><i>)</i>;</v><br></n> <n><v>box-shadow: <val>inset</val> <num>0 -1px 0</num> <rgba>rgba</rgba><i>(</i><num>255,255,255,.05</num><i>)</i>, <val>inset</val> <num>0 -2px 0</num> <rgba>rgba</rgba><i>(</i><num>0,0,0,.1</num><i>)</i>;</v><br></n> <n><v>transition: <val>all</val> <num>.08s</num> <val>ease</val>;</v><br></n> <n><v><pr>-webkit-</pr>transition: <val>all</val> <num>.08s</num> <val>ease</val>;</v><br></n> <n><i>}</i><br></n> <n><c>.menu a<pr>:hover</pr></c> <i>{</i><br></n> <n class="current"><v><cursor>|</cursor></v><br></n> <n><i>}</i><br></n> </div>