better socials
This commit is contained in:
1 parent
c26c51d747
commit
db58732d6b
2 files changed
+37
-12
No files matched your search
+9
-9
@@ -20,9 +20,9 @@
|
||||
<span id="logoText"><span>M</span>a<span>t</span>eusz <span>P</span><span>s</span>trucha</span>
|
||||
|
||||
<div id="butts">
|
||||
<div data-target="about" class="button active">About me</div>
|
||||
<div data-target="projects" class="button">Projects</div>
|
||||
<div data-target="more" class="button">Index</div>
|
||||
<div data-target="about" title="About Me" class="button active">About Me</div>
|
||||
<div data-target="projects" title="Projects" class="button">Projects</div>
|
||||
<div data-target="more" title="Index" class="button">Index</div>
|
||||
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
@@ -810,21 +810,21 @@
|
||||
</div>
|
||||
|
||||
<div class="socials">
|
||||
<a href="https://twitter.com/mathias8867" target="_blank"><i class="icon-twitter"></i></a>
|
||||
<a href="mailto:pstrucha.mateusz@gmail.com" target="_blank"><i class="icon-mail-alt"></i></a>
|
||||
<a href="https://github.com/Maathias" target="_blank"><i class="icon-github"></i></a>
|
||||
<a href="https://www.linkedin.com/in/mateusz-pstrucha-bbb8511bb/" target="_blank"><i
|
||||
<a href="https://twitter.com/mathias8867" title="Twitter" target="_blank"><i class="icon-twitter"></i></a>
|
||||
<a href="mailto:pstrucha.mateusz@gmail.com" title="E-mail" target="_blank"><i class="icon-mail-alt"></i></a>
|
||||
<a href="https://github.com/Maathias" title="GitHub" target="_blank"><i class="icon-github"></i></a>
|
||||
<a href="https://www.linkedin.com/in/mateusz-pstrucha-bbb8511bb/" title="LinkedIn" target="_blank"><i
|
||||
class="icon-linkedin"></i></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pane" id="projects">
|
||||
contact
|
||||
work in progress
|
||||
</div>
|
||||
|
||||
<div class="pane" id="more">
|
||||
more
|
||||
work in progress
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -162,7 +162,7 @@ body {
|
||||
}
|
||||
|
||||
#logoText>span {
|
||||
color: hsl(38 40% 85% / 1);
|
||||
/* color: hsl(38 40% 85% / 1); */
|
||||
}
|
||||
|
||||
/* about */
|
||||
@@ -227,6 +227,9 @@ body {
|
||||
|
||||
.socials {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
padding: 0 10vw;
|
||||
bottom: 2rem;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
@@ -236,9 +239,31 @@ body {
|
||||
|
||||
.socials > a {
|
||||
color: inherit;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.socials > a:before{
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: .75;
|
||||
display: inline-block;
|
||||
width: 0%;
|
||||
height: 0%;
|
||||
background: var(--color-main);
|
||||
/* transition-property: height; */
|
||||
transition-duration: .1s;
|
||||
}
|
||||
|
||||
.socials > a:hover:before{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.socials > a:hover {
|
||||
border-bottom: 2px solid var(--color-main);
|
||||
margin-bottom: 2px;
|
||||
/* border-bottom: 2px solid var(--color-main) */
|
||||
}
|
||||
Reference in new issue
Block a user