mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-31 17:51:46 +02:00
feat(style.css): fix broken layout
This commit is contained in:
@@ -115,14 +115,10 @@ div.containers > .nes-container {
|
||||
}
|
||||
|
||||
.code {
|
||||
box-sizing: border-box;
|
||||
display: none;
|
||||
padding: 15px 0 0 15px;
|
||||
padding: 0;
|
||||
margin-top: -20px;
|
||||
overflow: auto;
|
||||
font-size: 0.85em;
|
||||
color: #e76e55;
|
||||
background-color: rgba(45, 45, 45, 0.9);
|
||||
}
|
||||
|
||||
.copy {
|
||||
|
35
index.html
35
index.html
@@ -64,9 +64,8 @@
|
||||
<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-error">Error</button>
|
||||
<button type="button" class="nes-btn is-disabled">Disabled</button>
|
||||
<button type="button" class="nes-btn show-code copy" onClick="copyToClipboard('buttons')">Copy</button>
|
||||
</code></pre>
|
||||
<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>
|
||||
</section>
|
||||
|
||||
<section class="nes-container with-title">
|
||||
@@ -523,37 +522,37 @@
|
||||
<h2 class="title">Badges</h2>
|
||||
<div id="badges">
|
||||
<a href="#" class="nes-badge">
|
||||
<span class="is-dark">NES.css</span>
|
||||
<span class="is-dark">NES.css</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge">
|
||||
<span class="is-primary">is</span>
|
||||
<span class="is-primary">is</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge">
|
||||
<span class="is-success">a</span>
|
||||
<span class="is-success">a</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge">
|
||||
<span class="is-warning">great</span>
|
||||
<span class="is-warning">great</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge">
|
||||
<span class="is-error">framework!</span>
|
||||
<span class="is-error">framework!</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge is-splited">
|
||||
<span class="is-dark">npm</span>
|
||||
<span class="is-primary">1.1.0</span>
|
||||
<span class="is-dark">npm</span>
|
||||
<span class="is-primary">1.1.0</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge is-splited">
|
||||
<span class="is-dark">test</span>
|
||||
<span class="is-success">100%</span>
|
||||
<span class="is-dark">test</span>
|
||||
<span class="is-success">100%</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge is-icon">
|
||||
<span class="is-warning">
|
||||
<i class="nes-icon star is-small"></i>
|
||||
</span>
|
||||
<span class="is-primary">Icons</span>
|
||||
<span class="is-warning">
|
||||
<i class="nes-icon star is-small"></i>
|
||||
</span>
|
||||
<span class="is-primary">Icons</span>
|
||||
</a>
|
||||
<a href="#" class="nes-badge is-icon">
|
||||
<span class="is-dark">hi</span>
|
||||
<span class="is-warning">Text</span>
|
||||
<span class="is-dark">hi</span>
|
||||
<span class="is-warning">Text</span>
|
||||
</a>
|
||||
</div>
|
||||
<button type="button" class="nes-btn is-error show-code" id="show-badges-code"><></button>
|
||||
|
Reference in New Issue
Block a user