Rounder nav menu items, remove right margin for code blocks with copy button since it didn't work well
This commit is contained in:
@ -6,10 +6,6 @@
|
||||
.pre-container {
|
||||
position: relative;
|
||||
|
||||
code {
|
||||
margin-right: 3rem;
|
||||
}
|
||||
|
||||
button {
|
||||
-webkit-backdrop-filter: var(--blur);
|
||||
display: inline-flex;
|
||||
|
@ -6,7 +6,7 @@
|
||||
backdrop-filter: var(--blur);
|
||||
margin: 1rem auto;
|
||||
box-shadow: var(--edge-highlight), 0px 12px 24px -16px rgba(0, 0, 0, 0.5);
|
||||
border-radius: 26px;
|
||||
border-radius: 999px;
|
||||
background-color: var(--nav-bg);
|
||||
max-width: min(var(--container-width), 90%);
|
||||
|
||||
@ -188,7 +188,7 @@
|
||||
z-index: 1;
|
||||
backdrop-filter: var(--blur);
|
||||
box-shadow: var(--edge-highlight), var(--shadow);
|
||||
border-radius: var(--rounded-corner);
|
||||
border-radius: calc(var(--rounded-corner) + 0.25rem);
|
||||
background-color: var(--nav-bg);
|
||||
padding: 0.25rem;
|
||||
text-align: center;
|
||||
@ -197,7 +197,7 @@
|
||||
width: 100%;
|
||||
|
||||
a {
|
||||
border-radius: calc(var(--rounded-corner) - 0.25rem);
|
||||
border-radius: var(--rounded-corner);
|
||||
width: 100%;
|
||||
|
||||
&.active::before {
|
||||
|
Reference in New Issue
Block a user