mirror of
https://github.com/darksaid98/docs.fivem.net-Dark-Theme.git
synced 2026-12-01 14:38:46 +00:00
Create natives-theme.css
This commit is contained in:
1 parent
f976121bc0
commit
15d5ee0980
1 file changed
+140
@@ -0,0 +1,140 @@
|
||||
@-moz-document url-prefix("https://runtime.fivem.net/doc/natives/") {
|
||||
body {
|
||||
--border: rgb(27,29,40);
|
||||
--primary: rgba(255, 255, 255, .82) !important;
|
||||
--secondary: rgb(37,40,55) !important;
|
||||
--third: rgb(31,33,46) !important;
|
||||
--fourth: rgb(27,29,40) !important;
|
||||
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
--fg: hsl(207, 100%, 73%);
|
||||
--bg: #fff;
|
||||
--ac: hsl(207, 100%, 73%);
|
||||
background-color: var(--primary);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* NAV 2 */
|
||||
|
||||
nav {
|
||||
color: var(--primary);
|
||||
background-color: var(--fourth);
|
||||
}
|
||||
|
||||
nav .toggles .title {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
nav ul li.active {
|
||||
box-shadow: 0 -2px 0 var(--ac) inset;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
|
||||
aside {
|
||||
background-color: var(--third);
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.examples .react-tabs__tab-list .react-tabs__tab.react-tabs__tab--selected {
|
||||
box-shadow: 0 -2px var(--ac) inset;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
.hljs-tag,
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-strong,
|
||||
.hljs-name {
|
||||
color: #f92672;
|
||||
}
|
||||
|
||||
.hljs-code {
|
||||
color: #66d9ef;
|
||||
}
|
||||
|
||||
.hljs-class .hljs-title {
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
.hljs-attribute,
|
||||
.hljs-symbol,
|
||||
.hljs-regexp,
|
||||
.hljs-link {
|
||||
color: #E373CE;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-bullet,
|
||||
.hljs-subst,
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-emphasis,
|
||||
.hljs-type,
|
||||
.hljs-selector-attr,
|
||||
.hljs-selector-pseudo,
|
||||
.hljs-addition,
|
||||
.hljs-variable,
|
||||
.hljs-template-tag,
|
||||
.hljs-template-variable {
|
||||
color: #FFD945;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote,
|
||||
.hljs-deletion,
|
||||
.hljs-meta {
|
||||
color: #5c6370;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-doctag,
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-type,
|
||||
.hljs-selector-id {
|
||||
color: #FF3F4F;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
.hljs-builtin-name {
|
||||
color: #81F900;
|
||||
}
|
||||
|
||||
/* List */
|
||||
|
||||
section {
|
||||
background: var(--secondary) !important;
|
||||
}
|
||||
|
||||
section .entry:hover {
|
||||
background-color: #00b3ff27;
|
||||
}
|
||||
|
||||
.lds-ripple div {
|
||||
position: absolute;
|
||||
border: 4px solid hsl(207, 100%, 73%);
|
||||
opacity: 1;
|
||||
border-radius: 50%;
|
||||
-webkit-animation: lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;
|
||||
animation: lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;
|
||||
}
|
||||
|
||||
.loading {
|
||||
background: var(--secondary);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user