diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-22 20:19:02 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-22 20:21:54 +0700 |
| commit | 4256714958ea08c922a4f044225053e35385d451 (patch) | |
| tree | e10996a7a1b4f1464082415f18e33b24a09946ed /_wui/doc | |
| parent | 62bf073d3d5b55a7e76cf5d9cebefdc9c00cbcee (diff) | |
| download | awwan-4256714958ea08c922a4f044225053e35385d451.tar.xz | |
_wui: use shared static assets from Cloud Storage
The idea is to minimize noise in the logs that does not related to
page access and minimize binary size.
Diffstat (limited to '_wui/doc')
| -rw-r--r-- | _wui/doc/index.css | 144 | ||||
| -rw-r--r-- | _wui/doc/maple-leaf-transparent-540.jpg | bin | 48281 -> 0 bytes | |||
| -rw-r--r-- | _wui/doc/template.gohtml | 5 |
3 files changed, 3 insertions, 146 deletions
diff --git a/_wui/doc/index.css b/_wui/doc/index.css index 24a5681..5e9534a 100644 --- a/_wui/doc/index.css +++ b/_wui/doc/index.css @@ -1,147 +1,3 @@ -@font-face { - font-family: "Go"; - src: - local("Go Regular"), - local("GoRegular"), - url("/assets/fonts/go/GoRegular.woff2") format("woff2"), - url("/assets/fonts/go/GoRegular.woff") format("woff"), - url("/assets/fonts/go/GoRegular.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: "Go"; - src: - local("Go Bold"), - local("Go-Bold"), - url("/assets/fonts/go/Go-Bold.woff2") format("woff2"), - url("/assets/fonts/go/Go-Bold.woff") format("woff"), - url("/assets/fonts/go/Go-Bold.ttf") format("truetype"); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: "Go"; - src: - local("Go Italic"), - local("Go-Italic"), - url("/assets/fonts/go/Go-Italic.woff2") format("woff2"), - url("/assets/fonts/go/Go-Italic.woff") format("woff"), - url("/assets/fonts/go/Go-Italic.ttf") format("truetype"); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: "Go"; - src: - local("Go Bold Italic"), - local("Go-BoldItalic"), - url("/assets/fonts/go/Go-BoldItalic.woff2") format("woff2"), - url("/assets/fonts/go/Go-BoldItalic.woff") format("woff"), - url("/assets/fonts/go/Go-BoldItalic.ttf") format("truetype"); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: "Go"; - src: - local("Go Medium"), - local("GoMedium"), - url("/assets/fonts/go/GoMedium.woff2") format("woff2"), - url("/assets/fonts/go/GoMedium.woff") format("woff"), - url("/assets/fonts/go/GoMedium.ttf") format("truetype"); - font-weight: 500; - font-style: normal; -} - -@font-face { - font-family: "Go"; - src: - local("Go Medium Italic"), - local("GoMedium-Italic"), - url("/assets/fonts/go/GoMedium-Italic.woff2") format("woff2"), - url("/assets/fonts/go/GoMedium-Italic.woff") format("woff"), - url("/assets/fonts/go/GoMedium-Italic.ttf") format("truetype"); - font-weight: 500; - font-style: italic; -} - -@font-face { - font-family: "Go Mono"; - src: - local("Go Mono"), - local("GoMono"), - url("/assets/fonts/go/GoMono.woff2") format("woff2"), - url("/assets/fonts/go/GoMono.woff") format("woff"), - url("/assets/fonts/go/GoMono.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: "Go Mono"; - src: - local("Go Mono Bold Italic"), - local("GoMono-BoldItalic"), - url("/assets/fonts/go/GoMono-BoldItalic.woff2") format("woff2"), - url("/assets/fonts/go/GoMono-BoldItalic.woff") format("woff"), - url("/assets/fonts/go/GoMono-BoldItalic.ttf") format("truetype"); - font-weight: bold; - font-style: italic; -} - -@font-face { - font-family: "Go Mono"; - src: - local("Go Mono Italic"), - local("GoMono-Italic"), - url("/assets/fonts/go/GoMono-Italic.woff2") format("woff2"), - url("/assets/fonts/go/GoMono-Italic.woff") format("woff"), - url("/assets/fonts/go/GoMono-Italic.ttf") format("truetype"); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: "Go Mono"; - src: - local("Go Mono Bold"), - local("GoMono-Bold"), - url("/assets/fonts/go/GoMono-Bold.woff2") format("woff2"), - url("/assets/fonts/go/GoMono-Bold.woff") format("woff"), - url("/assets/fonts/go/GoMono-Bold.ttf") format("truetype"); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: "Go Smallcaps"; - src: - local("Go Smallcaps Italic"), - local("GoSmallcaps-Italic"), - url("/assets/fonts/go/GoSmallcaps-Italic.woff2") format("woff2"), - url("/assets/fonts/go/GoSmallcaps-Italic.woff") format("woff"), - url("/assets/fonts/go/GoSmallcaps-Italic.ttf") format("truetype"); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: "Go Smallcaps"; - src: - local("Go Smallcaps"), - local("GoSmallcaps"), - url("/assets/fonts/go/GoSmallcaps.woff2") format("woff2"), - url("/assets/fonts/go/GoSmallcaps.woff") format("woff"), - url("/assets/fonts/go/GoSmallcaps.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} - body { color: black; font-family: Go, sans-serif; diff --git a/_wui/doc/maple-leaf-transparent-540.jpg b/_wui/doc/maple-leaf-transparent-540.jpg Binary files differdeleted file mode 100644 index 6e91e1c..0000000 --- a/_wui/doc/maple-leaf-transparent-540.jpg +++ /dev/null diff --git a/_wui/doc/template.gohtml b/_wui/doc/template.gohtml index 5ca47d4..09a114d 100644 --- a/_wui/doc/template.gohtml +++ b/_wui/doc/template.gohtml @@ -6,11 +6,12 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#375EAB" /> <title>{{.Title}}</title> - <link href="index.css" rel="stylesheet" type="text/css" media="all" /> + <link rel="stylesheet" type="text/css" media="all" href="index.css" /> + <link rel="stylesheet" type="text/css" media="all" href="//storage.googleapis.com/umum.kilabit.info/assets/fonts/go/stylesheet.css" /> </head> <body> - <img class="background" src="/maple-leaf-transparent-540.jpg" /> + <img class="background" src="//storage.googleapis.com/umum.kilabit.info/assets/images/maple-leaf-transparent-540.jpg" /> <div class="topbar"> <div class="topbar-left"> |
