Skip to content

Commit

Permalink
Added more buttons with flex
Browse files Browse the repository at this point in the history
	new file:   images/discord-mark-white.svg
	modified:   index.css
	modified:   index.html
  • Loading branch information
popdxo committed May 9, 2024
1 parent 8f8f2c1 commit 36a84e0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
1 change: 1 addition & 0 deletions images/discord-mark-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 15 additions & 4 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,24 @@ h1 {
border-radius: 2vw;
padding: 1vw;
}
#gitlink {
.linkbutton {
font-family: "Comfortaa", sans-serif;
color:aqua;
text-align: center;
font-size: 2.5vw;
display: block;
margin: .4vw 34% 0;
padding:0.5vw;
margin: .4vw;
padding:.78vw;
display:block;
flex-grow: 1;
}
.linkicon{
vertical-align: middle;
padding-left: 1vw;
width: 3vw;
}
.flex{
display:flex;
align-items: center;
justify-content: center;
}
/* styling this made me actually want to end it */
14 changes: 11 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@ <h1>popd</h1>
<div style="backdrop-filter: brightness(80%) blur(0.7px) saturate(125%);">
<div style="margin: 10px; padding: 120px 20%;">
<P class="frostedglass" id="introtext">A WIP site made to learn more web development</P>
<a href="https://github.com/popdxo/popd.site" class="frostedglass" id="gitlink">GitHub
<img src="images/github-mark-white.svg" style="vertical-align: middle; padding-left: 1vw; width: 3vw;">
<a>
<div class="flex">
<a href="https://github.com/popdxo/popd.site" class="frostedglass linkbutton">GitHub
<img src="images/github-mark-white.svg" class="linkicon">
<a>
<a href="https://github.com/popdxo/popd.site" class="frostedglass linkbutton">Discord
<img src="images/discord-mark-white.svg" class="linkicon">
<a>
<a href="https://github.com/popdxo/popd.site" class="frostedglass linkbutton">Discord
<img src="images/github-mark-white.svg" class="linkicon">
<a>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 36a84e0

Please sign in to comment.