gnu-social/public/assets/css/left/left.css

118 lines
2.1 KiB
CSS
Raw Normal View History

.navbar {
2020-07-24 23:47:32 +01:00
display: flex;
flex-direction: column;
width: var(--nav-size);
height: calc(100vh - (3 * var(--unit-size)));
position: fixed;
2020-08-15 00:37:25 +01:00
background-color: var(--bg1);
margin-top: calc(3 * var(--main-size));
}
2020-07-24 23:47:32 +01:00
.navbar .left-nav {
flex: 1;
}
.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;
2020-08-15 00:37:25 +01:00
justify-content: space-evenly;
2020-07-24 23:47:32 +01:00
font-size: var(--medium-size);
padding: var(--unit-size);
margin-bottom: var(--unit-size);
}
.navbar .footer a {
margin-right: var(--unit-size);
}
.navbar {
left: 0;
top: 0;
transition: 0.3s ease;
}
.navbar a {
display: block;
color: var(--accent);
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) {
margin-top: var(--unit-size);
}
.navbar a:hover {
color: var(--fg);
transition: all 0.8s ease;
}
.navbar a:focus {
color: var(--fg);
transition: all 0.8s ease;
}
.icon-menu label {
display: none;
cursor: pointer
}
#toggle {
display: none;
}
#toggle:checked+.navbar {
display: block;
left: 0;
top: 0;
transition: 0.3s ease;
}
.profile {
display: flex;
flex-wrap: wrap;
2020-08-15 00:37:25 +01:00
background-color: var(--bg2);
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));
calc(5 * var(--unit-size));
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: var(--accent);
}
.info .tags i:last-child {
margin-left: var(--small-size);
}
.stats span:last-child {
margin-left: var(--small-size);
}