Don’t have any experience of CSS - could you give me an example how I should continue … I checked the CSS documentation but it is HUGE … I guess if I could get some guidelines then I can figure it out …
Read the statement by Michael Teeuw here.
Posts made by zkab
-
RE: Static text on several lines
-
RE: showHumidity
Wedee, you are right - there is wi-degrees icon in the package but it doesn’t matter what color I choose it still is white … hmm
.currentweather .wi-degrees {
color: #f00;
} -
Static text on several lines
I want a static text with several lines with the option to choose font and color for different lines.
When I have several lines in config.js then only the last line will appear.
How can that be done ? -
RE: showHumidity
OK - a question though … I can’t find .wi-degrees in the iconTable for Current Weather
.currentweather .wi-degrees {
color: #415;
} -
RE: showHumidity
Thanks - now I get a yellow sun rise icon.
If I want the same thing for forecast icons do I change ‘currentweather’ to ‘weatherforecast’ and add it to my custom.css}
.weatherforecast .wi-night-showers {
color: #07f;My custom.css looks like this - I am not sure if the { … } are right.
body {
}
.brightb {
color: #55acee;
}
.currentweather .wi-sunrise {
color: #ff0;
}
.currentweather .wi-sunset {
color: #eb0;
}
.currentweather .wi-night-showers {
color: #07f;
}
.currentweather .wi-degrees {
color: #415;
}
.currentweather .wi-rain {
color: #00f;
}
.currentweather .wi-showers {
color: #07f;
}
.currentweather .wi-night-showers {
color: #07f;
}
.currentweather .wi-night-alt-cloudy-windy {
color: #aaa;
}
.currentweather .wi-night-cloudy {
color: #aaa;
}
.currentweather .wi-cloudy {
color: #aaa;
}
.currentweather .wi-day-cloudy {
color: #aaa;
}
.currentweather .wi-cloudy {
color: #aaa;
}
.currentweather .wi-cloudy-windy {
color: #aaa;
}
.currentweather .wi-showers {
color: #00f;
}
.currentweather .wi-thunderstorm {
color: #ff0;
}
.currentweather .wi-snow {
color: #fff;
}
.currentweather .wi-fog {
color: #999;
}
.currentweather .wi-night-clear {
color: #fff;
}
.currentweather .wi-night-rain {
color: #00f;
}
.currentweather .wi-night-thunderstorm {
color: #ff0;
}
.currentweather .wi-night-snow {
color: #fff;
}
} -
RE: showHumidity
Thanks - it works fine.
Is there a way to change other items in current weather like icon for sun (like to have it yellow), wind icon … -
showHumidity
I don’t get the humidity … here is my config.js
{
module: ‘currentweather’,
position: ‘top_right’,
header: ‘Väder’,
config: {
showHumidity: true,
location: ‘Stockholm’,
locationID: ‘2673730’, //ID from http://www.openweathermap.org
appid: ‘2a0636679f9705c4959bf8f6515d2a77’
}
},
{
module: ‘weatherforecast’,
position: ‘top_right’,
header: ‘Prognos’,
config: {
location: ‘Stockholm’,
locationID: ‘2673730’, //ID from http://www.openweathermap.org
appid: ‘2a0636679f9705c4959bf8f6515d2a77’
}
},