-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from DrewMcArthur/tweaks-3
v0.0.3 tweaks
- Loading branch information
Showing
15 changed files
with
141 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This favicon was generated using the following font: | ||
|
||
- Font Title: Arvo | ||
- Font Author: Copyright 2010 Anton Koovit, Yassin Baggar. | ||
- Font Source: http://fonts.gstatic.com/s/arvo/v20/tDbD2oWUg0MKmSAa7Lzr7vs.ttf | ||
- Font License: SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
--- | ||
import Headline from "./Headline.astro"; | ||
import SocialLinks from "./SocialLinks.astro"; | ||
--- | ||
<div id='app' class='main'> | ||
<Headline /> | ||
<SocialLinks /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"linkData": [ | ||
{ | ||
"type": "planet", | ||
"text": "hi, i'm drew!" | ||
}, | ||
{ | ||
"type": "gmail", | ||
"text": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
:root { | ||
--background-color: antiquewhite; | ||
|
||
--main-color: #394f4f; | ||
--light-color: #6b7d7d; | ||
|
||
--main-color--hover: #1b3333; | ||
|
||
/* to calculate, put the above hex into https://codepen.io/sosuke/pen/Pjoqqp */ | ||
--background-color-filter: invert(100%) sepia(86%) saturate(795%) hue-rotate(299deg) brightness(107%) contrast(96%); | ||
|
||
--main-color-filter: invert(27%) sepia(15%) saturate(626%) hue-rotate(131deg) brightness(96%) contrast(91%); | ||
|
||
--main-color-filter--hover: invert(15%) sepia(8%) saturate(2382%) hue-rotate(131deg) brightness(93%) contrast(89%); | ||
|
||
/** animation timing **/ | ||
--flyin-timing: cubic-bezier(0,1,0,1); | ||
} | ||
|
||
body { | ||
display: flex; | ||
align-content: center; | ||
|
||
background-color: var(--background-color); | ||
color: var(--main-color); | ||
} | ||
|
||
.main { | ||
font-family:'Lato','Ubuntu',system-ui,sans-serif; | ||
font-weight:300; | ||
font-size: 34px; | ||
line-height: 1.6em; | ||
display: flex; | ||
flex-direction: column; | ||
margin: 1em auto; | ||
align-items: flex-start; | ||
} | ||
|
||
/* headline */ | ||
.planet.social-link { | ||
cursor: auto; | ||
border: none; | ||
/* animation: flyintop 1s var(--flyin-timing); */ | ||
} | ||
|
||
.planet.social-link .social-text { | ||
font-size: 1.67em; | ||
color: var(--main-color--hover); | ||
} | ||
|
||
.planet.social-link .social-icon, | ||
.planet.social-link:hover .social-icon { | ||
opacity: 0; | ||
} | ||
|
||
.social-links { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.social-link { | ||
color: var(--light-color); | ||
cursor: pointer; | ||
text-decoration: none; | ||
border-top: 1px solid var(--main-color); | ||
padding: 1px 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-start; | ||
font-size: .6em; | ||
transition: color .25s; | ||
} | ||
|
||
.social-icon { | ||
margin: 5px; | ||
filter: var(--main-color-filter); | ||
} | ||
|
||
.social-text { | ||
margin: 5px; | ||
} | ||
|
||
.social-link:not(.planet):hover { | ||
color: var(--main-color--hover); | ||
border-color: var(--main-color--hover); | ||
} | ||
|
||
.social-link:hover .social-icon { | ||
filter: var(--main-color-filter--hover); | ||
} | ||
|
||
.social-link:not(.planet) .social-icon { | ||
animation: flyinleft 0.25s var(--flyin-timing); | ||
} | ||
|
||
.social-link .social-text { | ||
animation: flyinright 0.25s var(--flyin-timing); | ||
} | ||
|
||
/* idea for fade in taken from https://malone.io */ | ||
/* used for .main on load */ | ||
@keyframes flyinright { | ||
from { | ||
opacity: 0; | ||
transform: translateX(25em); | ||
} | ||
|
||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
@keyframes flyinleft { | ||
from { | ||
opacity: 0; | ||
transform: translateX(-25em); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} |