Skip to content

Commit

Permalink
Add more css to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
joheri1 committed Sep 30, 2024
1 parent f6411c9 commit c637333
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 3 additions & 1 deletion code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ <h3 id="description">Weather description</h3>
<div class="day-container">
</div>
</div>
<div>
<footer>2024-09-29 Johanna Eriksson</footer>
</div>
</div>
<script src="script.js"></script>
<footer>2024-09-15 Johanna Eriksson</footer>
</body>
</html>
15 changes: 12 additions & 3 deletions code/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ img {

/*Mobile*/
@media screen and (max-width: 600px) {
body {
margin-top: 10px;
}
.container {
padding: 10px;
margin-top: 10px;
Expand Down Expand Up @@ -124,4 +121,16 @@ body {
.forecast-day img {
margin-right: 10px;
}

footer {
display: flex;
justify-content: center;
margin-top: 20px;
color: #fff;
background-color: #d1c4e9;
border-radius: 20px;
border-style: dotted;
padding: 10px;
margin-top: 20px;
}

0 comments on commit c637333

Please sign in to comment.