|
|
|
@ -1,21 +1,11 @@
|
|
|
|
|
/* Currently 3 screen sizes supported :
|
|
|
|
|
- micro: < 500px
|
|
|
|
|
- tiny: < 850px
|
|
|
|
|
- small: < 1200px
|
|
|
|
|
- normal: >= 1200px
|
|
|
|
|
|
|
|
|
|
Ex:
|
|
|
|
|
@media screen and (max-width: @var)
|
|
|
|
|
*/
|
|
|
|
|
nav a {
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
opacity: .8;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
nav a:hover,
|
|
|
|
|
nav a:focus {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
/* Menu */
|
|
|
|
|
#logo {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: block;
|
|
|
|
@ -23,14 +13,7 @@ nav a:focus {
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
background: var(--logo-bg);
|
|
|
|
|
transition: 0.15s ease;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#logo {
|
|
|
|
|
width: auto;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
transition: .15s ease;
|
|
|
|
|
}
|
|
|
|
|
#logo:hover,
|
|
|
|
|
#logo:focus {
|
|
|
|
@ -45,17 +28,24 @@ nav a:focus {
|
|
|
|
|
height: 65px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 0;
|
|
|
|
|
filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0));
|
|
|
|
|
transition: filter 0.15s ease;
|
|
|
|
|
filter: drop-shadow(0 0 2px rgba(0,0,0,.0));
|
|
|
|
|
transition: filter .15s ease;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#logo {
|
|
|
|
|
width: auto;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 1199px) {
|
|
|
|
|
@media screen and (max-width:1199px) {
|
|
|
|
|
#logo img {
|
|
|
|
|
width: 60px;
|
|
|
|
|
height: inherit;
|
|
|
|
|
margin-bottom: -4.5px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#logo img {
|
|
|
|
|
width: 50px;
|
|
|
|
|
}
|
|
|
|
@ -74,7 +64,41 @@ nav a:focus {
|
|
|
|
|
background: var(--background);
|
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#light-menu li {
|
|
|
|
|
width: 100%;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
transition: opacity .15s ease;
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > img {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 60px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
margin: 0 7px 5px 7px;
|
|
|
|
|
border-radius: 10%;
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > svg {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 25px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
margin: 0 7px;
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > svg > path {
|
|
|
|
|
fill: var(--icons);
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#light-menu {
|
|
|
|
|
position: unset;
|
|
|
|
|
display: flex;
|
|
|
|
@ -86,16 +110,12 @@ nav a:focus {
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#light-menu {
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#light-menu li {
|
|
|
|
|
width: 100%;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#light-menu li {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
@ -105,29 +125,7 @@ nav a:focus {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
|
/* because Chrome sucks */
|
|
|
|
|
/* Avatar */
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > img {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 60px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
margin: 0 7px 5px 7px;
|
|
|
|
|
border-radius: 10%;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#light-menu li > a > img {
|
|
|
|
|
width: 45px;
|
|
|
|
|
margin: 0;
|
|
|
|
@ -136,33 +134,21 @@ nav a:focus {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#light-menu li > a > img {
|
|
|
|
|
width: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > svg {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 25px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
margin: 0 7px;
|
|
|
|
|
}
|
|
|
|
|
#light-menu li > a > svg > path {
|
|
|
|
|
fill: var(--icons);
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#light-menu li > a > div {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/* Overlay */
|
|
|
|
|
#menu {
|
|
|
|
|
position: fixed;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
left: -190px;
|
|
|
|
|
width: 300px;
|
|
|
|
|
/* default: left-to-right animation */
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
@ -170,31 +156,11 @@ nav a:focus {
|
|
|
|
|
background: var(--background);
|
|
|
|
|
color: var(--text);
|
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
|
transition: 0.15s ease;
|
|
|
|
|
/* Set class="scroll-animation" to menu to apply scroll animation */
|
|
|
|
|
/* Login form */
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#menu {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 0;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
font-family: NotoSans;
|
|
|
|
|
transition: 0.1s ease;
|
|
|
|
|
position: unset;
|
|
|
|
|
left: unset;
|
|
|
|
|
}
|
|
|
|
|
transition: .15s ease;
|
|
|
|
|
}
|
|
|
|
|
#menu.opened {
|
|
|
|
|
left: 110px;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#menu.opened {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
left: unset;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#menu.scroll-animation {
|
|
|
|
|
left: 110px;
|
|
|
|
|
width: 0;
|
|
|
|
@ -207,12 +173,6 @@ nav a:focus {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#menu > div {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#menu > div.opened {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
@ -225,11 +185,6 @@ nav a:focus {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
#menu h2 {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#menu h2 a {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: inherit;
|
|
|
|
@ -244,11 +199,6 @@ nav a:focus {
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 499px) {
|
|
|
|
|
#menu h2 > svg {
|
|
|
|
|
width: 24px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#menu h2 img {
|
|
|
|
|
height: 48px;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
@ -264,7 +214,7 @@ nav a:focus {
|
|
|
|
|
#menu hr {
|
|
|
|
|
margin: 15px 0;
|
|
|
|
|
border: none;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,0.1);
|
|
|
|
|
}
|
|
|
|
|
#menu ul {
|
|
|
|
|
margin: 0;
|
|
|
|
@ -276,7 +226,7 @@ nav a:focus {
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
color: var(--text);
|
|
|
|
|
transition: opacity 0.15s ease;
|
|
|
|
|
transition: opacity .15s ease;
|
|
|
|
|
}
|
|
|
|
|
#menu li > a {
|
|
|
|
|
display: inline;
|
|
|
|
@ -297,11 +247,6 @@ nav a:focus {
|
|
|
|
|
#menu form {
|
|
|
|
|
padding: 0 8%;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width: 849px) {
|
|
|
|
|
#menu form {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#menu form input[type="text"],
|
|
|
|
|
#menu form input[type="password"] {
|
|
|
|
|
margin: 8px 0;
|
|
|
|
@ -310,7 +255,7 @@ nav a:focus {
|
|
|
|
|
border: var(--input-border);
|
|
|
|
|
background: var(--input-bg);
|
|
|
|
|
color: var(--input-text);
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
opacity: .8;
|
|
|
|
|
}
|
|
|
|
|
#menu form input[type="text"]:focus,
|
|
|
|
|
#menu form input[type="password"]:focus {
|
|
|
|
@ -322,5 +267,44 @@ nav a:focus {
|
|
|
|
|
}
|
|
|
|
|
#menu form label {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
opacity: .8;
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#menu {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 0;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
font-family: NotoSans;
|
|
|
|
|
transition: .1s ease;
|
|
|
|
|
position: unset;
|
|
|
|
|
left: unset;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#menu.opened {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
left: unset;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#menu > div {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#menu h2 {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:499px) {
|
|
|
|
|
#menu h2 > svg {
|
|
|
|
|
width: 24px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
|
#menu form {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|