2020-07-23 23:48:49 +01:00
|
|
|
.navbar {
|
2020-07-24 23:47:32 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: var(--nav-size);
|
2020-07-23 23:48:49 +01:00
|
|
|
height: calc(100vh - (3 * var(--unit-size)));
|
|
|
|
position: fixed;
|
2020-08-18 23:41:26 +01:00
|
|
|
background-color: var(--bg1);
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-top: calc(3 * var(--main-size));
|
2020-08-26 07:57:06 +01:00
|
|
|
margin-left: -2px;
|
|
|
|
border: solid 1px var(--accent-low);
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.navbar {
|
|
|
|
left: -100%;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
/* left navigation */
|
2020-07-24 23:47:32 +01:00
|
|
|
.navbar .left-nav {
|
|
|
|
flex: 1;
|
2020-07-25 00:34:52 +01:00
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.navbar .left-nav > a {
|
|
|
|
display: block;
|
|
|
|
color: var(--accent);
|
2020-09-05 06:34:41 +01:00
|
|
|
font-size: calc(1.2 * var(--medium-size));
|
2020-08-18 23:41:26 +01:00
|
|
|
margin-bottom: var(--unit-size);
|
2020-07-24 23:47:32 +01:00
|
|
|
margin-left: var(--unit-size);
|
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.navbar .left-nav > a:nth-child(1) {
|
|
|
|
margin-top: var(--unit-size);
|
|
|
|
}
|
|
|
|
.navbar .left-nav > a:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.navbar .left-nav > a:hover,
|
|
|
|
.navbar .left-nav > a:focus {
|
|
|
|
color: var(--fg);
|
|
|
|
transition: all 0.8s ease;
|
|
|
|
}
|
|
|
|
/* footer static pages links */
|
2020-07-24 23:47:32 +01:00
|
|
|
.navbar .footer {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
2020-08-18 23:41:26 +01:00
|
|
|
justify-content: space-evenly;
|
2020-07-24 23:47:32 +01:00
|
|
|
font-size: var(--medium-size);
|
|
|
|
padding: var(--unit-size);
|
2020-07-25 00:34:52 +01:00
|
|
|
margin-bottom: var(--unit-size);
|
2020-07-24 23:47:32 +01:00
|
|
|
}
|
|
|
|
.navbar .footer a {
|
|
|
|
margin-right: var(--unit-size);
|
2020-08-14 02:50:58 +01:00
|
|
|
color: var(--accent);
|
2020-07-23 23:48:49 +01:00
|
|
|
font-size: var(--medium-size);
|
|
|
|
}
|
|
|
|
|
2020-08-18 23:41:26 +01:00
|
|
|
/* checkbox trick */
|
2020-07-24 23:47:32 +01:00
|
|
|
.icon-menu label {
|
2020-07-23 23:48:49 +01:00
|
|
|
display: block;
|
2020-08-18 23:41:26 +01:00
|
|
|
cursor: pointer
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
|
|
|
#toggle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
#toggle:checked~.navbar {
|
2020-07-24 23:47:32 +01:00
|
|
|
display: flex;
|
2020-07-23 23:48:49 +01:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
input.larger {
|
|
|
|
width: calc(1.5 * var(--main-size));
|
|
|
|
height: calc(1.5 * var(--main-size));
|
|
|
|
}
|
2020-07-23 23:48:49 +01:00
|
|
|
|
2020-08-18 23:41:26 +01:00
|
|
|
/* profile stats */
|
2020-07-23 23:48:49 +01:00
|
|
|
.profile {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-14 02:50:58 +01:00
|
|
|
background-color: var(--bg2);
|
2020-07-23 23:48:49 +01:00
|
|
|
padding: var(--unit-size);
|
2020-09-05 06:34:41 +01:00
|
|
|
font-size: var(--medium-size);
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-avatar {
|
|
|
|
order: 1;
|
|
|
|
height: calc(5 * var(--unit-size));
|
2021-04-18 21:27:31 +01:00
|
|
|
width: calc(5 * var(--unit-size));
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-right: var(--small-size);
|
2021-04-18 21:38:06 +01:00
|
|
|
border-radius: 50%;
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
.info #nick {
|
|
|
|
order: 1;
|
|
|
|
margin-bottom: var(--small-size);
|
|
|
|
}
|
|
|
|
.info .tags {
|
|
|
|
order: 2;
|
|
|
|
margin-bottom: var(--small-size);
|
|
|
|
}
|
|
|
|
.info .stats {
|
|
|
|
order: 3;
|
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.info .stats span:last-child {
|
|
|
|
margin-left: var(--small-size);
|
|
|
|
}
|
2020-07-23 23:48:49 +01:00
|
|
|
.info .tags i {
|
2020-08-14 02:50:58 +01:00
|
|
|
color: var(--accent);
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.info .tags i:first-child {
|
|
|
|
margin-left: 0 !important;
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
2020-08-18 23:41:26 +01:00
|
|
|
.info .tags i:last-child {
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-left: var(--small-size);
|
|
|
|
}
|