Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
Fix code copy button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
panr committed Sep 4, 2018
1 parent f9f2768 commit 1268479
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions source/css/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,31 @@ a.read-more:active {
background: none;
}
}

.code-toolbar {
margin-bottom: 20px;

.toolbar-item a {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 8px;
margin-bottom: 5px;
background: var(--light-background-secondary);
text-decoration: none;
text-align: center;
font-size: 13px;
font-weight: 500;
border-radius: 8px;
border: 1px solid transparent;
appearance: none;
cursor: pointer;
outline: none;

.dark-theme & {
background: var(--dark-background-secondary);
color: inherit;
}
}
}
Loading

0 comments on commit 1268479

Please sign in to comment.