Skip to content

Commit

Permalink
update footer socials
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Avila <[email protected]>
  • Loading branch information
sciecode committed Dec 6, 2023
1 parent 9101166 commit 4a485f1
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 5 deletions.
48 changes: 45 additions & 3 deletions assets/css/waves.css
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,15 @@ body.hid #brand {

#footer {
position: absolute;
display: flex;
align-items: center;
right: 4vw;
bottom: 5vh;
}

.footers, .footers a {
font-weight: 600;
display: inline-block;
display: block;
color: #e4e5e6;
font-size: 14px;
text-rendering: optimizeLegibility;
Expand All @@ -470,8 +472,9 @@ body.hid #brand {
letter-spacing: 1.1px;
}

.footers a {
text-decoration: underline;
.footers {
/* text-decoration: underline; */
margin: auto 5px;
}

/* === [MENU_ICON] === */
Expand Down Expand Up @@ -1109,6 +1112,45 @@ input[type=range] {
opacity: 0;
}

#twitter {
display: block;
height: 16px;
aspect-ratio: 1;
background-color: #e4e5e6;
mask-image: url(../images/twitter.svg);
mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-image: url(../images/twitter.svg);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
}

#mastodon {
display: block;
height: 16px;
aspect-ratio: 1;
background-color: #e4e5e6;
mask-image: url(../images/mastodon.svg);
mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-image: url(../images/mastodon.svg);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
}

#github {
display: block;
height: 16px;
aspect-ratio: 1;
background-color: #e4e5e6;
mask-image: url(../images/github.svg);
mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-image: url(../images/github.svg);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
}

@media screen and (max-width: 700px) {
#brand {
font-size: 26px;
Expand Down
1 change: 1 addition & 0 deletions assets/images/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/images/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ <h1 id="brand" class="brandPos brandInit nodelay"><span>•</span> Atomize <span
</div>
</div>
<div id="footer" class="inactive delay">
<h4 class="footers">ScieCode /</h4>
<h4 class="footers"><a href="https://github.com/sciecode/sciecode.github.io" target="_blank" rel="noopener">github</a></h4>
<h4 class="footers">ScieCode / </h4>
<h4 class="footers"><a id="github" href="https://github.com/sciecode/sciecode.github.io" target="_blank" rel="noopener"></a></h4>
<h4 class="footers"><a id="twitter" rel="me" href="https://twitter.com/sciecode"></a></h4>
<h4 class="footers"><a id="mastodon" rel="me" href="https://mastodon.gamedev.place/@sciecode"></a></h4>
</div>
<div id="settings_menu" class="menu_inactive inactive delay">
<div class="upper_menu hover_menu"></div>
Expand Down

0 comments on commit 4a485f1

Please sign in to comment.