Skip to content

Commit 7ca59e4

Browse files
committed
Explained styling
1 parent f5b8de9 commit 7ca59e4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,19 @@ Find out your latitude and longitude here:
200200
![Layouts](/../screenshots/forecast-layouts.png?raw=true "Layouts")
201201

202202

203+
## Styling
204+
205+
This module is set to be 300px wide by default. If you wish to override it, you can add the following to your `custom.css` file:
206+
207+
```
208+
.MMM-DarkSkyForecast .module-content {
209+
width: 500px; /* adjust this to taste */
210+
}
211+
```
212+
213+
Most important elements of this module have one or more class names applied. Examine the `MMM-DarkSkyForecast.css` or inspect elements directly with your browser of choice to determine what class you would like to override.
214+
215+
203216
## For Module Developers
204217

205218
This module broadcasts a notification when it recieves a weather update. The notification is `DARK_SKY_FORECAST_WEATHER_UPDATE` and the payload contains Dark Sky's JSON weather forecast object. For details on the weather object, see https://darksky.net/dev/docs.

0 commit comments

Comments
 (0)