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

91 lines
1.6 KiB
SCSS
Raw Normal View History

.topnav {
2021-11-24 10:15:14 +01:00
background-color: #222e;
position: relative;
2023-05-22 09:57:25 +02:00
//height: 68px;
//padding: var(--spacing-2);
height: 0;
padding: 0;
2021-10-14 13:22:51 +05:30
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;
2023-05-22 12:01:34 +02:00
//height: 24px;
height: 0;
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) {
2023-05-22 12:01:34 +02:00
//padding-top: calc(var(--spacing) * 1.6);
//height: 98px;
2023-05-22 12:04:56 +02:00
height: 0;
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) {
2023-05-22 12:01:34 +02:00
display: none
//display: flex;
2023-05-22 12:12:18 +02:00
//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 {
2023-05-22 12:02:50 +02:00
//display: block;
display: none;
2021-10-12 16:20:58 +01:00
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
}