UNPKG

reactui

Version:

A components library for ReactJS. This is part of the Gearz project

65 lines (58 loc) 1.4 kB
.gearz-example { position: relative; padding: 45px 15px 15px; margin: 0 0 15px; border-color: #e5e5e5 #eee #eee; border-style: solid; border-width: 1px 0; border-width: 1px; border-radius: 4px 4px 0 0; } .gearz-example:after { position: absolute; top: 15px; left: 15px; font-size: 12px; font-weight: 700; color: #959595; text-transform: uppercase; letter-spacing: 1px; content: "Example"; } .gearz-example + .highlight, .gearz-example + .zero-clipboard + .highlight { margin: -15px -15px 15px; border-width: 0 0 1px; border-radius: 0; } .gearz-example + .highlight, .gearz-example + .zero-clipboard + .highlight { margin-top: -16px; margin-right: 0; margin-left: 0; border-width: 1px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } .highlight { padding: 9px 14px; margin-bottom: 14px; background-color: #f7f7f9; border: 1px solid #e1e1e8; border-radius: 4px; } .highlight pre { padding: 0; margin-top: 0; margin-bottom: 0; word-break: normal; white-space: nowrap; background-color: transparent; border: 0; } .highlight pre code:first-child { display: inline-block; padding-right: 45px; } .highlight pre code { font-size: inherit; color: #333; }