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 {
|
.pre-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
code {
|
|
||||||
margin-right: 3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
-webkit-backdrop-filter: var(--blur);
|
-webkit-backdrop-filter: var(--blur);
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
backdrop-filter: var(--blur);
|
backdrop-filter: var(--blur);
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
box-shadow: var(--edge-highlight), 0px 12px 24px -16px rgba(0, 0, 0, 0.5);
|
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);
|
background-color: var(--nav-bg);
|
||||||
max-width: min(var(--container-width), 90%);
|
max-width: min(var(--container-width), 90%);
|
||||||
|
|
||||||
@ -188,7 +188,7 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
backdrop-filter: var(--blur);
|
backdrop-filter: var(--blur);
|
||||||
box-shadow: var(--edge-highlight), var(--shadow);
|
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);
|
background-color: var(--nav-bg);
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -197,7 +197,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
border-radius: calc(var(--rounded-corner) - 0.25rem);
|
border-radius: var(--rounded-corner);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&.active::before {
|
&.active::before {
|
||||||
|
Reference in New Issue
Block a user