Skip to content

Commit

Permalink
Merge pull request #2 from KikeSan/main
Browse files Browse the repository at this point in the history
weather icon & font Segoe UI
  • Loading branch information
anand-3399 committed Oct 7, 2022
2 parents 45fbca3 + b4e709a commit 008d122
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 2 deletions.
57 changes: 57 additions & 0 deletions img/icons/cloudyDay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@


<div class="taskbar">
<div class="weather">
<img src="img/icons/cloudyDay.svg" alt="" class="icon">
<div class="info">
<p>16°C</p>
<p>Parc. soleado</p>
</div>
</div>

<img id="Menu" src="img/icons/startButton.png" alt="">
<img id="SearchIcon" src="img/icons/search-icon.svg" alt="">
<img id="TaskView" src="img\icons\taskView.svg" alt="">
Expand Down Expand Up @@ -307,4 +315,4 @@
</body>
<script src="script.js"></script>

</html>
</html>
23 changes: 22 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ body {
background-size: cover;
overflow: hidden;
height: 100vh;
font-family: "Segoe UI", sans-serif;
font-size: 14px;
}

.weather{
position: absolute;
left: 15px;
display: flex;
justify-content: flex-start;
padding-right: 15px;
}
.weather:hover {
transition: all 0.1s ease-in;
background-color: #d1d1d1;
border-radius: 8px;
}
.weather .info{
padding-top: 3px;
}
.weather .info p{
font-size: 12px;
}

.taskbar {
Expand Down Expand Up @@ -363,4 +384,4 @@ figure {
bottom: -121px;
min-width: 100%;
min-height: 100%;
}
}

0 comments on commit 008d122

Please sign in to comment.