sintonia/docs/_microsite.md

27 lines
1.2 KiB
Markdown
Raw Normal View History

---
title: Built-in microsite
---
2020-11-02 19:20:34 +01:00
![](/img/radio-page.png)
2020-11-08 04:50:28 +01:00
LibreTime includes a microsite, which can be accessed at _serverIP_ or a domain you've set up for your server. The site includes your
logo and station description (set under Settings > General), the login button to the LibreTime interface, the schedule for the next seven days,
2022-07-05 11:57:17 +02:00
podcast tabs, and a live feed of your station with information on the currently playing artist and track.
## Modifying the LibreTime radio page
The background of the mini-site that appears when you visit the server's domain in your web browser can be changed by modifying the page's CSS file, located at `/usr/share/airtime/php/legacy/public/css/radio-page/radio-page.css`.
```css
html {
background: url("img/background-testing-3.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
overflow-y: auto;
}
```
2021-10-06 17:32:14 +02:00
Place the new background image in the `/usr/share/airtime/php/legacy/public/css/radio-page/img/` folder and change the `background:` entry's URL to point to the new image. The new image should be at least 1280 x 720 in pixel size to avoid being blurry.