convert to CSS variables

This commit is contained in:
natsoni
2024-04-04 15:36:24 +09:00
parent b74fbee069
commit ee92f6639a
84 changed files with 317 additions and 225 deletions

View File

@@ -17,7 +17,7 @@
}
code {
background-color: #1d1f31;
background-color: var(--bg);
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New;
}
@@ -95,7 +95,7 @@ ul.no-bull.block-audit code{
.nav-tabs .nav-link.active {
border-bottom: 1px solid #fff;
@media (min-width: 676px){
border-bottom: 1px solid #11131f;
border-bottom: 1px solid var(--active-bg);
}
}
@@ -113,7 +113,7 @@ ul.no-bull.block-audit code{
padding: 0px;
}
.nav-tabs .nav-link.active {
border-bottom: 1px solid #11131f;
border-bottom: 1px solid var(--active-bg);
}
.subtitle {
display: flex;
@@ -158,17 +158,17 @@ ul.no-bull.block-audit code{
top: 80px;
overflow-y: auto;
height: calc(100vh - 75px);
scrollbar-color: #2d3348 #11131f;
scrollbar-color: var(--secondary) var(--active-bg);
scrollbar-width: thin;
}
::-webkit-scrollbar {
width: 3px;
}
::-webkit-scrollbar-track {
background: #11131f;
background: var(--active-bg);
}
::-webkit-scrollbar-thumb {
background-color: #2d3348;
background-color: var(--secondary);
border-radius: 5px;
border: none;
}
@@ -196,8 +196,8 @@ h3 {
.endpoint-container .section-header {
display: block;
background-color: #2d3348;
color: #1bd8f4;
background-color: var(--secondary);
color: var(--info);
padding: 1rem 1.3rem 1rem 1.3rem;
font-weight: bold;
border-radius: 0.25rem;
@@ -212,7 +212,7 @@ h3 {
.endpoint-container .section-header span {
color: #fff;
background-color: #653b9c;
background-color: var(--tertiary);
font-size: 12px;
text-transform: uppercase;
font-weight: 400;
@@ -244,7 +244,7 @@ h3 {
}
#doc-nav-mobile > div {
background-color: #2d3348;
background-color: var(--secondary);
z-index: 100;
border-radius: 0 0 0.5rem 0.5rem;
height: 55vh;
@@ -253,9 +253,9 @@ h3 {
#doc-nav-mobile button {
width: 100%;
background-color: #105fb0;
background-color: var(--primary);
color: #fff;
border-color: #105fb0;
border-color: var(--primary);
border-radius: 0.5rem 0.5rem 0 0;
}
@@ -303,7 +303,7 @@ h3 {
}
#disclaimer {
background-color: #1d1f31;
background-color: var(--bg);
padding: 24px;
margin: 24px 0;
}