.demo-container { position: relative; } .demo-container > a.demo-source { position: absolute; right: 10px; top: 8px; font-size: 12px; font-weight: 500; } .demo-container > a.demo-source > i.fa { font-size: 20px; vertical-align: middle; margin-left: 5px; } .demo-container { border-radius: 5px; padding: 1.5rem; background-color: #f6f7f6; } .ayu .demo-container, .navy .demo-container, .coal .demo-container { background-color: #1d1f21; --background-color: #1d1f21; --text-color: #aaaaaa; } .demo-container button { background-color: var(--brand-color); font-family: inherit; padding: 3px 15px; border: none; outline: none; color: white; margin: 1rem 0; border-bottom: 2px solid var(--brand-color-dark); text-shadow: 1px 1px 1px var(--brand-color-dark); border-radius: 4px; font-size: inherit; box-sizing: border-box; vertical-align: middle; } .demo-container button:hover { background-color: var(--brand-color-dark); } .demo-container button:active { border-bottom: 0; border-top: 2px solid var(--brand-color-dark); } .demo-container p { margin: 1rem 0; } .demo-container .note { opacity: 0.7; font-size: 1.4rem; } .demo-container input[type="text"], .demo-container input[type="search"], .demo-container input[type="number"] { display: block; font-size: 90%; padding: .5em 1em .4em; border: 1px solid var(--divider-light-color); border-radius: 4px; outline: none; background: var(--background-color); color: var(--text-color); min-width: 20rem; margin: .5rem 0; }