galaxy/Cards/sahilxkhadka_rotten-sloth-50.html

87 lines
4 KiB
HTML

<div class="card">
<svg fill="none" viewBox="0 0 342 175" height="175" width="342" xmlns="http://www.w3.org/2000/svg" class="background">
<path fill="url(#paint0_linear_103_640)" d="M0 66.4396C0 31.6455 0 14.2484 11.326 5.24044C22.6519 -3.76754 39.6026 0.147978 73.5041 7.97901L307.903 62.1238C324.259 65.9018 332.436 67.7909 337.218 73.8031C342 79.8154 342 88.2086 342 104.995V131C342 151.742 342 162.113 335.556 168.556C329.113 175 318.742 175 298 175H44C23.2582 175 12.8873 175 6.44365 168.556C0 162.113 0 151.742 0 131V66.4396Z"></path>
<defs>
<linearGradient gradientUnits="userSpaceOnUse" y2="128" x2="354.142" y1="128" x1="0" id="paint0_linear_103_640">
<stop stop-color="#5936B4"></stop>
<stop stop-color="#362A84" offset="1"></stop>
</linearGradient>
</defs>
</svg>
<div class="cloud">
<svg fill="#000000" preserveAspectRatio="xMidYMid meet" class="iconify iconify--emojione" role="img" aria-hidden="true" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<g stroke-width="0" id="SVGRepo_bgCarrier"></g>
<g stroke-linejoin="round" stroke-linecap="round" id="SVGRepo_tracerCarrier"></g>
<g id="SVGRepo_iconCarrier">
<g fill="#75d6ff">
<path d="M10.8 42.9c-.5 1.5-.1 3 1 3.4c1.1.4 2.4-.5 3-2c.6-1.8.7-4.1.2-6.9c-2.1 1.9-3.6 3.8-4.2 5.5"> </path>
<path d="M13.2 57.4c.6-1.8.7-4.1.2-6.9c-2.1 1.8-3.6 3.7-4.2 5.5c-.5 1.5-.1 3 1 3.4c1.1.4 2.5-.5 3-2"> </path>
<path d="M51.5 37.4c-2.1 1.8-3.6 3.7-4.2 5.5c-.5 1.5-.1 3 1 3.4c1.1.4 2.4-.5 3-2c.5-1.7.6-4.1.2-6.9"> </path>
<path d="M38.2 55.9c-.5 1.5-.1 3 1 3.4s2.4-.5 3-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5-4.5-8.3C30.8 6.9 33.8 5 37.1 5m0-3C33 2 29.2 4.1 27 7.6h-.3c-.6-.1-1.2-.1-1.7-.1c-5.3 0-10 3.5-11.4 8.6l-.3 1.2c-.4.2-.7.5-1.1.8c-2 1.7-3.1 4.2-3.1 6.9c0 4 2.5 7.4 6.3 8.7c.9.3 1.9.5 2.9.5h26.2c.8 0 1.6-.1 2.4-.3c4.8-1.1 8.2-5.3 8.2-10.3c0-3.8-2-7.3-5.3-9.1c-.2-.1-.3-.2-.5-.3v-.1C49.2 7.4 43.8 2 37.1 2z"> </path>
</g>
</svg>
</div>
<p class="main-text">24°</p>
<div class="info">
<div class="info-left">
<p class="text-gray">H:32° L: 16°</p>
<p>Kathmandu, Nepal</p>
</div>
<p class="info-right">Mid Rain</p>
</div>
</div>
<style>
/* From Uiverse.io by sahilxkhadka - Tags: card, weather, widget */
.card {
width: 342px;
height: 184px;
position: relative;
padding: 20px;
color: #fff;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.background {
fill: linear-gradient(90deg, #5936B4 0%, #362A84 100%);
position: absolute;
inset: 0;
z-index: -1;
}
.cloud {
position: absolute;
right: 0;
top: -12px;
}
.cloud svg {
height: 120px;
}
.card .main-text {
font-size: 48px;
z-index: 2;
}
.card .info {
display: flex;
justify-content: space-between;
}
.card .info .text-gray {
color: rgba(235, 235, 245, 0.60);
}
.card .info .info-right {
align-self: flex-end;
}
</style>