Advertisement
Guest User

Untitled

a guest
Mar 12th, 2020
1,805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. ---
  2. resources:
  3. - url: /local/custom-header.js?v=0.0.1
  4. type: module
  5. - url: /local/weather-card.js
  6. type: module
  7.  
  8. - url: 'https://fonts.googleapis.com/css?family=Raleway'
  9. type: css
  10.  
  11. custom_header:
  12. compact_mode: true
  13. hide_config: true
  14. hide_help: true
  15.  
  16. views:
  17. - title: Main
  18. icon: mdi:home
  19. cards:
  20. - type: custom:weather-card
  21. entity: weather.openweathermap
  22. current: true
  23. details: false
  24. forecast: true
  25. style: |
  26. ha-card {
  27. border: solid 1px var(--border-color);
  28. font-family: Raleway;
  29. margin-top: 5px;
  30. margin-bottom: 5px;
  31. }
  32. .spacer {
  33. padding-top: 0em;
  34. }
  35. .current {
  36. padding-top: 0em;
  37. padding-left: 1em;
  38. margin-top: -1em;
  39. margin-bottom: 0em;
  40. }
  41. .temp {
  42. font-size: 3.2em;
  43. position: sticky;
  44. }
  45. .tempc {
  46. font-size: 1.5em;
  47. position: sticky;
  48. }
  49. .forecast {
  50. margin-top: -3.5em;
  51. margin-bottom: -0.7em;
  52. }
  53. .forecast .day:first-child {
  54. margin-left: 7.5em;
  55. }
  56. .day {
  57. border-right: none;
  58. line-height: 2;
  59. }
  60. .precipitation {
  61. display: none
  62. }
  63. .icon {
  64. width: 40px;
  65. height: 40px;
  66. }
  67. .icon.bigger {
  68. width: 4em;
  69. height: 4em;
  70. left: 2.5em;
  71. top: 8em;
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement