diff --git a/natives-theme.css b/natives-theme.css new file mode 100644 index 0000000..45e2112 --- /dev/null +++ b/natives-theme.css @@ -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); +} +}