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

87 lines
1.5 KiB
SCSS
Raw Normal View History

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