mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
And notice shortcodes (#537)
* Added information panel shortcodes (#437) * Added information panel shortcodes * Fixed dark mixin * Moved mixin location to correct location Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix SCSS styling * Update generated files * Fix notice HTML * Fix Makefile * Rename JS file * Adsd emoji support for lang selectors * Fix notices and other things * Fix JS on template * Update example content * Update images * Update generated files * Fix netlify preview * Fix netlify preview build * Fix netlify theme path Co-authored-by: Jian Liew <jianloongliew@gmail.com>
This commit is contained in:
committed by
GitHub
parent
32ffc536aa
commit
ed1c854df2
@@ -4,24 +4,35 @@
|
||||
z-index: 100;
|
||||
position: fixed;
|
||||
font-size: 1.6em;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
text-align: center;
|
||||
width: 3.0rem;
|
||||
height: 3.0rem;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
font-size: 2rem;
|
||||
color: $alt-fg-color;
|
||||
background-color: $alt-bg-color;
|
||||
font-size: 2.0rem;
|
||||
border-radius: 0.5rem;
|
||||
border-radius: 0.2rem;
|
||||
opacity: 50%;
|
||||
transition: all .25s ease-in;
|
||||
&:hover, &:focus {
|
||||
transition: all 0.25s ease-in;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $link-color;
|
||||
opacity: 100%;
|
||||
@media only screen and (max-width : 768px) {
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
color: $alt-fg-color;
|
||||
opacity: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user