mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
captive-portal: Serve Ubuntu font files locally
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
@font-face {
|
||||
font-family: "Ubuntu";
|
||||
font-weight: 300;
|
||||
src: local("Ubuntu Light"), local("Ubuntu-Light"), url("Ubuntu-L.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu";
|
||||
font-weight: 400;
|
||||
src: local("Ubuntu Regular"), local("Ubuntu-Regular"), url("Ubuntu-R.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu";
|
||||
font-weight: 500;
|
||||
src: local("Ubuntu Medium"), local("Ubuntu-Medium"), url("Ubuntu-M.ttf") format("truetype");
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url("../cgi-bin/logo.cgi");
|
||||
background-size: 100%;
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
</style>
|
||||
</TMPL_IF>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500" rel="stylesheet">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user