feat: add mikrotik style
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
3df077789f
commit
710e0012ed
2 changed files with 50 additions and 0 deletions
|
@ -1,2 +1,5 @@
|
||||||
# usercss
|
# usercss
|
||||||
|
|
||||||
|
## List of available styles
|
||||||
|
|
||||||
|
* [mikrotik](./mikrotik.user.css)
|
||||||
|
|
47
mikrotik.user.css
Normal file
47
mikrotik.user.css
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
/* ==UserStyle==
|
||||||
|
@name mikrotik
|
||||||
|
@namespace git.mfocko.xyz/mfocko/usercss
|
||||||
|
@updateURL https://git.mfocko.xyz/mfocko/usercss/raw/branch/main/mikrotik.user.css
|
||||||
|
@version 1.0.8
|
||||||
|
@description Replace the default font on mikrotik's WebFig.
|
||||||
|
@author Matej Focko <me@mfocko.xyz>
|
||||||
|
@preprocessor stylus
|
||||||
|
@var select monospace-font "Font" [
|
||||||
|
"custom*",
|
||||||
|
"Berkeley Mono Variable",
|
||||||
|
"Cascadia Code NF",
|
||||||
|
"Comic Code Ligatures",
|
||||||
|
"Fira Code",
|
||||||
|
"Hack",
|
||||||
|
"IBM Plex Mono",
|
||||||
|
"Iosevka Term",
|
||||||
|
"Iosevka Term Slab",
|
||||||
|
"Iosevka Comfy",
|
||||||
|
"Pragmasevka",
|
||||||
|
"JetBrains Mono",
|
||||||
|
"JuliaMono",
|
||||||
|
"MonoLisa Variable",
|
||||||
|
"PragmataPro Liga",
|
||||||
|
"PragmataPro Mono Liga",
|
||||||
|
"Rec Mono Linear",
|
||||||
|
"Roboto Mono",
|
||||||
|
"SF Mono",
|
||||||
|
"Source Code Pro",
|
||||||
|
"Victor Mono",
|
||||||
|
]
|
||||||
|
@var text custom-font "Custom font" "monospace"
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
if monospace-font=="custom"
|
||||||
|
monospace-font=custom-font
|
||||||
|
|
||||||
|
@-moz-document domain("chiyuki.admin"),
|
||||||
|
domain("chiyuki.chiyuki"),
|
||||||
|
url-prefix("https://lakeview.mfocko.xyz"),
|
||||||
|
domain("dekimu.admin"),
|
||||||
|
domain("dekimu.dekimu"),
|
||||||
|
url-prefix("https://dekimu.mountainside.mfocko.xyz") {
|
||||||
|
* {
|
||||||
|
font-family: monospace-font !important;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue