Skip to content

Commit 4b4f8eb

Browse files
authored
Merge pull request #9 from k0sproject/wider-content
Add customized CSS to make the content bit wider.
2 parents 35ce055 + 0a14c3e commit 4b4f8eb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ such as CSS are served correctly; loading `public/index.html` directly from the
110110
filesystem will usually miss theme assets because the site is built with the
111111
production `baseURL`.
112112

113+
The server binds only to localhost by default. To allow testing with e.g. your mobile
114+
device, use:
115+
116+
```sh
117+
hugo server --bind 0.0.0.0 --baseURL http://YOUR_COMPUTER_IP:1313/
118+
```
119+
113120
## Pull request checklist
114121

115122
* [ ] `title`, `date`, `author`, `summary` set

assets/css/extended/wider.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
This CSS extends some defaults so we can make the content bit wider on larger screens
3+
*/
4+
5+
.main { min-width: 60%; }
6+

0 commit comments

Comments
 (0)