mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-09-02 02:22:37 +02:00
feat(style.css): fix broken layout
This commit is contained in:
@@ -115,14 +115,10 @@ div.containers > .nes-container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.code {
|
.code {
|
||||||
box-sizing: border-box;
|
|
||||||
display: none;
|
display: none;
|
||||||
padding: 15px 0 0 15px;
|
padding: 0;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
overflow: auto;
|
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
color: #e76e55;
|
|
||||||
background-color: rgba(45, 45, 45, 0.9);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy {
|
.copy {
|
||||||
|
@@ -64,9 +64,8 @@
|
|||||||
<button type="button" class="nes-btn is-success">Success</button>
|
<button type="button" class="nes-btn is-success">Success</button>
|
||||||
<button type="button" class="nes-btn is-warning">Warning</button>
|
<button type="button" class="nes-btn is-warning">Warning</button>
|
||||||
<button type="button" class="nes-btn is-error">Error</button>
|
<button type="button" class="nes-btn is-error">Error</button>
|
||||||
<button type="button" class="nes-btn is-disabled">Disabled</button>
|
<button type="button" class="nes-btn is-disabled">Disabled</button></code></pre>
|
||||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('buttons')">Copy</button>
|
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('buttons')">Copy</button>
|
||||||
</code></pre>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="nes-container with-title">
|
<section class="nes-container with-title">
|
||||||
|
Reference in New Issue
Block a user