Skip to content

Commit

Permalink
adjust: added platform badges in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
vittorfigueiredo committed Nov 5, 2023
1 parent 8c7228c commit 80facad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
4 changes: 4 additions & 0 deletions app/views/master.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ class="bi bi-brightness-high"
<div id="open-source">
<p class="text-light"><a class="text-secondary" href="https://github.com/vittorfigueiredo/vitorfigueiredo.com" aria-label="Go to open source repository">This website is open-source</a></p>
</div>
<div id="badges" class="d-flex justify-content-left gap-3">
<a href="https://www.digitalocean.com/?refcode=4fff19c6fe60&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge" target="_blank"><img src="https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%201.svg" width="100px" height="auto" alt="DigitalOcean Referral Badge" /></a>
<a class="bg-white" href="https://www.cloudflare.com/" target="_blank"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4b/Cloudflare_Logo.svg/2560px-Cloudflare_Logo.svg.png" width="100px" height="auto" alt="Cloudflare Badge" /></a>
</div>
</footer>

<!-- Cookie Banner -->
Expand Down
32 changes: 21 additions & 11 deletions public/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
p {
word-spacing: -2px;
}

#badges {
justify-content: center;
}
}

html, body {
html,
body {
margin: 0;
padding: 0;
min-height: 100vh;
Expand All @@ -32,12 +37,12 @@ body a:hover {
.nav-link {
font-size: 1.5em;
font-weight: bold;
color: #1C1C1C;
color: #1c1c1c;
text-decoration: none;
}

#navbarSupportedContent a {
padding: .6em .6em .6em 0;
padding: 0.6em 0.6em 0.6em 0;
gap: 1em;
}

Expand All @@ -58,7 +63,7 @@ body a:hover {
}

.name-and-description {
margin-top: .8em;
margin-top: 0.8em;
}

.name-and-description h4 {
Expand Down Expand Up @@ -91,7 +96,7 @@ main {
height: 2em;
width: 6em;
margin-top: 0.3em;
border-radius: .2em;
border-radius: 0.2em;
border: solid;
border-width: 0.1em;
/* color: #1C1C1C; */
Expand All @@ -103,7 +108,7 @@ main {
/* color: #F8F9FA;
background-color: #212529; */
/* border: none; */
transition: .5s;
transition: 0.5s;
}

.links {
Expand Down Expand Up @@ -141,10 +146,15 @@ footer p {
font-weight: normal;
}

#copyright, #open-source {
#badges {
padding-top: 0.6em;
}

#copyright,
#open-source {
display: flex;
justify-content: center;
gap: .3em;
gap: 0.3em;
margin-bottom: 0;
}

Expand All @@ -159,7 +169,7 @@ footer p {
#contact {
display: flex;
justify-content: space-between;
padding: .6em;
padding: 0.6em;
gap: 1em;
}

Expand All @@ -177,7 +187,7 @@ footer p {
}

#up-arrow i {
padding: .6em;
padding: 0.6em;
border-radius: 50%;
border: solid 1px;
width: 43px;
Expand All @@ -186,6 +196,6 @@ footer p {

#up-arrow i:hover {
cursor: pointer;
transition: .5s;
transition: 0.5s;
opacity: 80%;
}

0 comments on commit 80facad

Please sign in to comment.