forked from fossasia/gci18.fossasia.org
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related fossasia#186
- Loading branch information
Showing
3 changed files
with
96 additions
and
30 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 |
---|---|---|
@@ -1,10 +1,55 @@ | ||
@charset "utf-8"; | ||
/* CSS Document */ | ||
|
||
.lgi{ | ||
#social_icons { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.lgi { | ||
flex-grow: 1; | ||
min-width: 120px; | ||
width: 20px; | ||
padding: 20px; | ||
font-size: 30px; | ||
text-align: center; | ||
text-decoration: none; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.lgi div { | ||
font-size: 15px; | ||
opacity: 0.8; | ||
margin-top: 1.2em; | ||
transition: | ||
opacity 100ms ease-in-out, | ||
transform 100ms ease-in-out; | ||
} | ||
|
||
footer .social-list { | ||
padding-right: 8vw; | ||
} | ||
|
||
@media | ||
(min-width: 1200px) and (orientation: landscape), | ||
(min-width: 900px) and (orientation: portrait) | ||
{ | ||
|
||
.lgi div { | ||
opacity: 0; | ||
transform: translateY(-100%); | ||
} | ||
|
||
.lgi:hover div, | ||
.lgi:focus div, | ||
.lgi:focus-within div { | ||
opacity: 0.8; | ||
transform: none; | ||
} | ||
|
||
} |
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