p { margin: 0; padding: 0; } .weather { width: 100%; min-width: 424px; min-height: 168px; height: auto; position: relative; } .weather .moretext { color: #ffffff; position: absolute; top: 20px; right: 20px; cursor: pointer; display: none; } .weather #weather-view-he { width: 100% !important; background-size: 100% 100% !important; } .weather .weathercontianer { width: 100%; height: 100%; position: relative; padding: 20px; } .weather .weathercontianer .bottom { width: calc(100% - 40px); height: auto; text-align: left; font-family: pingfangsc-semibold; font-size: 18px; color: #ffffff; letter-spacing: 0; padding-top: 5px; cursor: pointer; position: absolute; bottom: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .weather .weathercontianer .bottom span, .weather .weathercontianer .bottom svg { vertical-align: middle; } .weather .weathercontianer .bottom span a, .weather .weathercontianer .bottom svg a { color: #ffffff; } .weather .weathercontianer .bottom svg { margin-left: 5px; } .weather .weathercontianer .top { width: 100%; height: 85px; margin-top: -10px; } .weather .weathercontianer .top span { display: inline-block; height: 85px; } .weather .weathercontianer .top span.topdays { width: 38px; font-family: dincondensed-bold; font-size: 50px; color: #ffffff; letter-spacing: 0; vertical-align: middle; } .weather .weathercontianer .top span.topweeks { margin-left: 20px; text-align: left; font-family: pingfangsc-medium; font-size: 12px; color: #ffffff; letter-spacing: 0; min-width: 65px; vertical-align: middle; padding-top: 15px; } .weather .weathercontianer .top span.temps { text-align: left; font-family: dincondensed-bold; font-size: 50px; color: #ffffff; letter-spacing: 0; width: auto; vertical-align: middle; float: right; } .weather .weathercontianer .top span.temps svg { width: 24px; height: 24px; }