Updated README
This commit is contained in:
@@ -103,19 +103,7 @@ wssh.send('ls -l');
|
|||||||
|
|
||||||
### Custom Font
|
### Custom Font
|
||||||
|
|
||||||
Custom font family usage example:
|
To use custom font, put your font file in the directory `webssh/static/css/fonts/` and restart the server.
|
||||||
```html
|
|
||||||
<style>
|
|
||||||
@font-face {
|
|
||||||
font-family: 'font-name';
|
|
||||||
src: url('static/css/fonts/your-favorite-font');
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'font-name';
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
```
|
|
||||||
|
|
||||||
### URL Arguments
|
### URL Arguments
|
||||||
|
|
||||||
|
|||||||
+2
-14
@@ -109,20 +109,8 @@ Browser console
|
|||||||
Custom Font
|
Custom Font
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
Custom font family usage example:
|
To use custom font, put your font file in the directory
|
||||||
|
``webssh/static/css/fonts/`` and restart the server.
|
||||||
.. code:: html
|
|
||||||
|
|
||||||
<style>
|
|
||||||
@font-face {
|
|
||||||
font-family: 'font-name';
|
|
||||||
src: url('static/css/fonts/your-favorite-font');
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'font-name';
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
URL Arguments
|
URL Arguments
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user