njpma/app/static/css/partials/_menu.scss

87 lines
1.5 KiB
SCSS
Raw Normal View History

.topnav {
2021-11-24 09:15:14 +00:00
background-color: #222e;
position: relative;
2021-10-14 07:52:51 +00:00
height: 68px;
padding: var(--spacing-2);
box-sizing: border-box;
2021-10-27 11:33:33 +00:00
z-index: 110;
2021-11-24 09:03:30 +00:00
.item-title {
2021-11-24 16:19:03 +00:00
text-align: center;
2021-11-24 09:19:51 +00:00
pointer-events: none;
2021-11-24 14:01:03 +00:00
height: 24px;
2021-11-24 16:19:03 +00:00
flex: 1;
2021-11-24 14:39:38 +00:00
a {
pointer-events: initial;
}
2021-11-24 09:03:30 +00:00
h1 {
2021-11-24 14:01:03 +00:00
font-size: 17px;
2021-11-24 09:03:30 +00:00
margin: 0;
padding: 0;
}
}
@media screen and (max-width: 799px) {
2021-10-14 07:52:51 +00:00
padding-top: calc(var(--spacing) * 1.6);
2021-11-24 08:20:50 +00:00
height: 98px;
2021-11-24 09:08:25 +00:00
}
@media screen and (max-width: 1100px) {
2021-11-24 09:03:30 +00:00
.item-title {
display: none
}
2021-10-14 07:52:51 +00:00
}
@media screen and (min-width: 800px) {
display: flex;
align-items: flex-end;
}
nav {
display: block;
text-align: right;
2021-11-24 16:19:03 +00:00
white-space: nowrap;
@media screen and (max-width: 799px) {
2021-10-12 15:20:58 +00:00
text-align: center;
width: 100%;
2021-10-14 07:52:51 +00:00
margin-top: var(--spacing);
}
@media screen and (min-width: 800px) {
margin-left: auto;
}
}
a {
2021-11-22 18:42:53 +00:00
color: var(--color-link);
text-decoration: none;
font-size: 17px;
2021-10-14 07:52:51 +00:00
margin-left: var(--spacing);
2021-11-22 18:42:53 +00:00
font-weight: bold;
&.title {
font-size: 34px;
font-weight: bold;
font-family: "wrong font";
color: #ddd;
}
2021-10-12 15:20:58 +00:00
@media screen and (max-width: 799px) {
&.title {
display: block;
text-align: center;
}
div {
display: inline-block;
}
}
}
}
2021-10-14 07:52:51 +00:00
.title-text {
@media screen and (min-width: 800px) {
font-weight: 700;
padding-bottom: calc(var(--spacing) / 2);
}
2021-10-21 16:10:13 +00:00
}