2020-07-23 23:48:49 +01:00
|
|
|
.navbar {
|
2020-07-24 23:47:32 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-07-23 23:48:49 +01:00
|
|
|
width: var(--nav-size);
|
|
|
|
height: calc(100vh - (3 * var(--unit-size)));
|
|
|
|
position: fixed;
|
|
|
|
background: rgb(51,61,71);
|
|
|
|
background: -moz-linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
|
|
|
|
background: -webkit-linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
|
|
|
|
background: linear-gradient(80deg, rgba(51,61,71,1) 0%, rgba(39,46,54,1) 90%);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#333d47",endColorstr="#272e36",GradientType=1);
|
|
|
|
margin-top: calc(3 * var(--main-size));
|
|
|
|
}
|
2020-07-24 23:47:32 +01:00
|
|
|
.navbar .left-nav {
|
|
|
|
flex: 1;
|
2020-07-25 00:34:52 +01:00
|
|
|
}
|
|
|
|
.navbar .left-nav a {
|
2020-07-24 23:47:32 +01:00
|
|
|
margin-left: var(--unit-size);
|
|
|
|
}
|
|
|
|
.navbar .footer {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
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-07-23 23:48:49 +01:00
|
|
|
.navbar {
|
|
|
|
left: -100%;
|
|
|
|
top:0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
.navbar a {
|
|
|
|
display: block;
|
|
|
|
color: #91B9D0;
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
}
|
2020-07-24 23:47:32 +01:00
|
|
|
.navbar .left-nav a {
|
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
}
|
|
|
|
.navbar .left-nav a:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.navbar .left-nav a:nth-child(1) {
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-top: var(--unit-size);
|
|
|
|
}
|
|
|
|
.navbar a:hover {
|
|
|
|
color: #F6F6F6;
|
|
|
|
transition: all 0.8s ease;
|
|
|
|
}
|
2020-08-06 00:26:07 +01:00
|
|
|
.navbar a:focus {
|
|
|
|
color: #F6F6F6;
|
|
|
|
transition: all 0.8s ease;
|
|
|
|
}
|
2020-07-23 23:48:49 +01:00
|
|
|
|
|
|
|
.icon-menu label {
|
|
|
|
display: block;
|
2020-07-24 17:46:15 +01:00
|
|
|
cursor: pointer;
|
2020-07-23 23:48:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#toggle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.left-panel input[type=checkbox] {
|
2020-08-06 00:26:07 +01:00
|
|
|
transform: scale(3);
|
|
|
|
-ms-transform: scale(3);
|
|
|
|
-webkit-transform: scale(3);
|
2020-07-23 23:48:49 +01:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-08-06 00:26:07 +01:00
|
|
|
input[type="checkbox"]:focus + label {
|
|
|
|
border:2px solid red;
|
|
|
|
}
|
2020-07-23 23:48:49 +01:00
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
background-color: rgba(0, 0, 0, 0.20);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
font-size: var(--small-size);
|
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-avatar {
|
|
|
|
order: 1;
|
|
|
|
height: calc(5 * var(--unit-size));
|
2020-07-28 17:08:08 +01:00
|
|
|
width: calc(5 * var(--unit-size));
|
2020-07-23 23:48:49 +01:00
|
|
|
margin-right: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info .tags i {
|
|
|
|
color: #91B9D0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info .tags i:last-child {
|
|
|
|
margin-left: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.stats span:last-child {
|
|
|
|
margin-left: var(--small-size);
|
|
|
|
}
|