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:
Luiz F. A. de Prá
2021-03-24 20:59:33 -03:00
committed by GitHub
parent 32ffc536aa
commit ed1c854df2
72 changed files with 8661 additions and 2164 deletions

View File

@@ -1,32 +1,39 @@
.navigation {
height: 6.0rem;
height: 6rem;
width: 100%;
a, span {
a,
span {
display: inline;
font-size: 1.7rem;
font-family: $font-family;
font-weight: 600;
line-height: 6.0rem;
line-height: 6rem;
color: $fg-color;
}
a {
&:hover,
&:focus {
color: $link-color
color: $link-color;
}
}
.navigation-title {
letter-spacing: 0.1rem;
text-transform: uppercase;
}
.navigation-list {
float: right;
list-style: none;
margin-bottom: 0;
margin-top: 0;
@media only screen and (max-width : 768px) {
@media only screen and (max-width: 768px) {
position: absolute;
top: 6.0rem;
top: 6rem;
right: 0;
z-index: 5;
visibility: hidden;
@@ -39,37 +46,47 @@
border-bottom: solid 2px $alt-bg-color;
transition: opacity 0.25s, max-height 0.15s linear;
}
.navigation-item {
float: left;
margin: 0;
position: relative;
@media only screen and (max-width : 768px) {
@media only screen and (max-width: 768px) {
float: none !important;
text-align: center;
a, span {
line-height: 5.0rem;
a,
span {
line-height: 5rem;
}
}
a, span {
margin-left: 1.0rem;
margin-right: 1.0rem;
a,
span {
margin-left: 1rem;
margin-right: 1rem;
}
}
.separator {
@media only screen and (max-width : 768px) {
@media only screen and (max-width: 768px) {
display: none;
}
}
.menu-separator {
@media only screen and (max-width : 768px) {
@media only screen and (max-width: 768px) {
border-top: 2px solid $fg-color;
margin: 0 8.0rem;
margin: 0 8rem;
span {
display: none;
}
}
}
}
#dark-mode-toggle {
margin: 1.7rem 0;
font-size: 2.4rem;
@@ -79,22 +96,27 @@
z-index: 100;
position: fixed;
}
#menu-toggle {
display: none;
@media only screen and (max-width : 768px) {
&:checked + label > i {
@media only screen and (max-width: 768px) {
&:checked+label>i {
color: $alt-bg-color;
}
&:checked + label + ul {
&:checked+label+ul {
visibility: visible;
opacity: 1;
max-height: 100rem;
}
}
}
.menu-button {
display: none;
@media only screen and (max-width : 768px) {
@media only screen and (max-width: 768px) {
display: block;
margin: 1.8rem 0;
font-size: 2.4rem;
@@ -102,14 +124,18 @@
}
i {
&:hover, &:focus {
&:hover,
&:focus {
color: $alt-fg-color;
}
}
}
i {
color: $fg-color;
cursor: pointer;
&:hover,
&:focus {
color: $link-color;