Rounder nav menu items, remove right margin for code blocks with copy button since it didn't work well

This commit is contained in:
daudix
2024-06-09 00:51:06 +03:00
parent 44b57bd215
commit 9638d4d46f
2 changed files with 3 additions and 7 deletions

View File

@ -6,10 +6,6 @@
.pre-container {
position: relative;
code {
margin-right: 3rem;
}
button {
-webkit-backdrop-filter: var(--blur);
display: inline-flex;

View File

@ -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 {