Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions brand.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
max-width: 720px;
}

/* center codebox */
pre.codebox {
max-width: 820px;
margin: 12px auto;
text-align: left;
}

/* tabs */
.tab {
padding: 6px 10px;
Expand All @@ -79,26 +72,33 @@ pre.codebox {
}

/* codebox */
.codebox-wrapper {
position: relative;
max-width: 820px;
margin: 12px auto;
}
pre.codebox {
background: var(--card-bg);
color: var(--text-color);
padding: 14px;
border-radius: 10px;
border: 1px solid var(--border-color);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
position: relative;
overflow: auto;
text-align: left;
}
button.copy-btn {
position: absolute;
right: 10px;
top: 10px;
background: transparent;
background: var(--card-bg);
color: var(--text-color);
border: 1px solid var(--border-color);
padding: 6px 8px;
border-radius: 6px;
font-weight: 700;
cursor: pointer;
z-index: 1;
}
Comment thread
kiyarose marked this conversation as resolved.
/* keep Tech lighter in the brand wordmark */
.brand-wordmark .tech-thin {
Expand Down
2 changes: 1 addition & 1 deletion brand.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h3>Badges (raster)</h3>
</label>
</div>

<div style="position: relative">
<div class="codebox-wrapper">
<button class="copy-btn" id="copyBtn" aria-label="Copy embed code">
Copy
</button>
Expand Down
Loading