mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
![Jenil Gogari](/assets/img/avatar_default.png)
* new variables * error-success states * striped tables * button upgrades * enhancements to colors and styles * text styles
74 lines
993 B
CSS
74 lines
993 B
CSS
.nav {
|
|
display: flex;
|
|
min-height: 5rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.nav img {
|
|
max-height: 3rem;
|
|
}
|
|
|
|
.nav>.container {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-center,
|
|
.nav-left,
|
|
.nav-right {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.nav-left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.nav-right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.nav-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.nav,
|
|
.nav>.container {
|
|
flex-direction: column;
|
|
}
|
|
.nav-center,
|
|
.nav-left,
|
|
.nav-right {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.nav a,
|
|
.nav .brand {
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem 2rem;
|
|
color: #555;
|
|
}
|
|
|
|
.nav .active:not(.button) {
|
|
color: #000; /* fallback */
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.nav .brand {
|
|
font-size: 1.75em;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.nav .brand img {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.nav .button {
|
|
margin: auto 1rem;
|
|
}
|