Added content to footer
This commit is contained in:
@ -20,9 +20,14 @@
|
|||||||
<footer>
|
<footer>
|
||||||
<!-- Left side -->
|
<!-- Left side -->
|
||||||
<div>
|
<div>
|
||||||
|
<p>Icons from <a href="https://lucide.dev/">Lucide</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- Right side -->
|
<!-- Right side -->
|
||||||
<div>
|
<div>
|
||||||
|
<div style="height: 50px;" class="imgRightText">
|
||||||
|
<img src="/pfp.png">
|
||||||
|
<p>Brosef</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
23
styles.css
23
styles.css
@ -52,15 +52,34 @@ main {
|
|||||||
footer {
|
footer {
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding: 20px 0 20px 0;
|
||||||
background-color: var(--footer-colour);
|
background-color: var(--footer-colour);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer > div {
|
footer > div {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
height: fit-content;
|
||||||
|
margin: auto 0 auto 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer > div > * {
|
||||||
|
margin: 0 auto 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#imaText { /* The text directly after "I'm a" */
|
/* Used to make text appear to the right of an image */
|
||||||
color: #5a91ff;
|
.imgRightText {
|
||||||
|
display: flex;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgRightText > img {
|
||||||
|
height: 100%;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgRightText > p {
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user