2020-07-05 21:56:09 +01:00
|
|
|
:root {
|
2020-07-14 23:18:42 +01:00
|
|
|
--head-font: 'Montserrat', sans-serif;
|
|
|
|
--main-font: 'Open Sans', sans-serif;
|
|
|
|
--main-size: 1.2em;
|
2020-07-20 18:42:44 +01:00
|
|
|
--medium-size: 0.85em;
|
2020-07-14 23:18:42 +01:00
|
|
|
--small-size: 0.65em;
|
|
|
|
--unit-size: 1em;
|
|
|
|
--side-margin: 5em;
|
|
|
|
--nav-size: 15em;
|
2020-07-05 21:56:09 +01:00
|
|
|
}
|
|
|
|
|
2020-06-21 23:56:26 +01:00
|
|
|
body,
|
|
|
|
html {
|
2020-07-20 18:42:44 +01:00
|
|
|
background: #2E3945;
|
|
|
|
background: -moz-linear-gradient(80deg, #2E3945 0%, #61778C 100%);
|
|
|
|
background: -webkit-linear-gradient(80deg, #2E3945 0%, #61778C 100%);
|
|
|
|
background: linear-gradient(80deg, #2E3945 0%, #61778C 100%);
|
2020-07-14 23:18:42 +01:00
|
|
|
background-attachment: fixed;
|
|
|
|
background-size: cover;
|
|
|
|
color: #F6F6F6;
|
|
|
|
font-family: var(--main-font);
|
|
|
|
font-size: var(--main-size);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2020-07-14 23:18:42 +01:00
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a:link {
|
2020-07-14 23:18:42 +01:00
|
|
|
text-decoration: none;
|
|
|
|
outline: 0;
|
|
|
|
color: #F6F6F6;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
2020-07-14 23:18:42 +01:00
|
|
|
outline: 0;
|
|
|
|
color: #F6F6F6;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
b {
|
2020-07-14 23:18:42 +01:00
|
|
|
font-family: var(--head-font);
|
|
|
|
font-weight: 800;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*-------------------------------------*/
|
|
|
|
/* HEADER -----------------------------*/
|
|
|
|
#header {
|
2020-07-14 23:18:42 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: #272E36;
|
|
|
|
box-shadow: 0px 0px 60px -20px rgba(0, 0, 0, 0.75);
|
2020-07-21 17:42:16 +01:00
|
|
|
padding: var(--main-size);
|
|
|
|
height: var(--main-size);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-06-25 19:45:14 +01:00
|
|
|
#top {
|
2020-07-14 23:18:42 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-07-21 17:42:16 +01:00
|
|
|
align-items: center;
|
2020-07-14 23:18:42 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-menu {
|
2020-07-19 11:44:44 +01:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-07-14 23:18:42 +01:00
|
|
|
width: var(--unit-size);
|
|
|
|
height: var(--unit-size);
|
2020-07-19 11:44:44 +01:00
|
|
|
cursor: pointer;
|
|
|
|
transition: all .5s ease-in-out;
|
|
|
|
}
|
|
|
|
.icon-menu label {
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: 2px;
|
|
|
|
background: #F6F6F6;
|
|
|
|
transition: all .5s ease-in-out;
|
|
|
|
}
|
|
|
|
.icon-menu label::before,
|
|
|
|
.icon-menu label::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: 2px;
|
|
|
|
background: #F6F6F6;
|
|
|
|
transition: all .5s ease-in-out;
|
|
|
|
}
|
|
|
|
.icon-menu label::before {
|
|
|
|
transform: translateY(-6px);
|
|
|
|
}
|
|
|
|
.icon-menu label::after {
|
|
|
|
transform: translateY(6px);
|
|
|
|
}
|
|
|
|
#toggle:checked+div label{
|
|
|
|
width: 0px;
|
|
|
|
}
|
|
|
|
#toggle:checked+div label::before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
#toggle:checked+div label::after {
|
|
|
|
transform: rotate(-45deg);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#instance {
|
2020-07-14 23:18:42 +01:00
|
|
|
order: 2;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-06-25 19:45:14 +01:00
|
|
|
#instance b {
|
2020-07-14 23:18:42 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-07-21 17:42:16 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: calc(0.2 * var(--unit-size));
|
2020-06-25 19:45:14 +01:00
|
|
|
}
|
|
|
|
|
2020-06-21 23:56:26 +01:00
|
|
|
.icon-logo {
|
2020-07-14 23:18:42 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: var(--unit-size);
|
|
|
|
stroke-width: 0;
|
|
|
|
stroke: currentColor;
|
|
|
|
fill: currentColor;
|
2020-07-21 17:42:16 +01:00
|
|
|
vertical-align: middle;
|
2020-07-14 23:18:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#left-panel {
|
|
|
|
order: 2;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#search {
|
2020-07-14 23:18:42 +01:00
|
|
|
order: 3;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-search {
|
2020-07-14 23:18:42 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: var(--unit-size);
|
|
|
|
stroke-width: 0;
|
|
|
|
stroke: currentColor;
|
|
|
|
fill: currentColor;
|
2020-07-21 17:42:16 +01:00
|
|
|
align-self: center;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*-------------------------------------*/
|
2020-07-14 23:18:42 +01:00
|
|
|
/* LEFT PANEL -------------------------*/
|
|
|
|
.navbar {
|
|
|
|
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);
|
2020-07-21 17:42:16 +01:00
|
|
|
margin-top: calc(3 * var(--main-size));
|
2020-07-14 23:18:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
left: -100%;
|
|
|
|
top:0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a {
|
|
|
|
display: block;
|
|
|
|
color: #91B9D0;
|
|
|
|
margin-left: var(--unit-size);
|
|
|
|
margin-bottom: var(--small-size);
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a:nth-child(1) {
|
|
|
|
margin-top: var(--unit-size);
|
2020-06-25 19:45:14 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.navbar a:hover {
|
|
|
|
color: #F6F6F6;
|
|
|
|
transition: all 0.8s ease;
|
2020-06-25 19:45:14 +01:00
|
|
|
}
|
|
|
|
|
2020-07-21 17:42:16 +01:00
|
|
|
.icon-menu label {
|
2020-07-14 23:18:42 +01:00
|
|
|
display: block;
|
|
|
|
cursor: pointer
|
2020-06-25 19:45:14 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
#toggle {
|
2020-07-19 11:44:44 +01:00
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
2020-07-21 22:02:39 +01:00
|
|
|
.left-panel input[type=checkbox] {
|
2020-07-20 22:05:10 +01:00
|
|
|
transform: scale(2);
|
|
|
|
-ms-transform: scale(2);
|
|
|
|
-webkit-transform: scale(2);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2020-06-21 23:56:26 +01:00
|
|
|
|
2020-07-19 11:44:44 +01:00
|
|
|
#toggle:checked~.navbar {
|
2020-07-14 23:18:42 +01:00
|
|
|
display: block;
|
|
|
|
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));
|
|
|
|
weight: auto;
|
|
|
|
width: 25%;
|
|
|
|
margin-right: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
order: 2;
|
|
|
|
}
|
2020-07-05 21:56:09 +01:00
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.info #nick {
|
|
|
|
order: 1;
|
|
|
|
margin-bottom: var(--small-size);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.info .tags {
|
|
|
|
order: 2;
|
|
|
|
margin-bottom: var(--small-size);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.info .stats {
|
|
|
|
order: 3;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.info .tags i {
|
|
|
|
color: #91B9D0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.info .tags i:last-child {
|
|
|
|
margin-left: var(--small-size);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-07-14 23:18:42 +01:00
|
|
|
.stats span:last-child {
|
|
|
|
margin-left: var(--small-size);
|
|
|
|
}
|