#9: Menu clean up
This commit is contained in:
parent
797902e90a
commit
ac8ef860fa
3 changed files with 29 additions and 9 deletions
|
@ -2,23 +2,28 @@
|
|||
.topnav {
|
||||
background-color: #333;
|
||||
position: relative;
|
||||
height: 72px;
|
||||
padding-left: var(--spacing-2);
|
||||
padding-top: var(--spacing-2);
|
||||
height: 68px;
|
||||
padding: var(--spacing-2);
|
||||
box-sizing: border-box;
|
||||
@media screen and (max-width: 799px) {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: calc(var(--spacing) * 1.6);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 800px) {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: block;
|
||||
text-align: right;
|
||||
margin-right: var(--spacing-2);
|
||||
@media screen and (max-width: 799px) {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
margin-top: var(--spacing-2);
|
||||
margin-top: var(--spacing);
|
||||
}
|
||||
@media screen and (min-width: 800px) {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,6 +31,7 @@
|
|||
color: white;
|
||||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
margin-left: var(--spacing);
|
||||
|
||||
&:hover {
|
||||
background-color: #ddd;
|
||||
|
@ -45,3 +51,10 @@
|
|||
|
||||
|
||||
}
|
||||
|
||||
.title-text {
|
||||
@media screen and (min-width: 800px) {
|
||||
font-weight: 700;
|
||||
padding-bottom: calc(var(--spacing) / 2);
|
||||
}
|
||||
}
|
|
@ -32,6 +32,13 @@
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
// Text: Global Classes
|
||||
|
||||
.font-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
main > .texts {
|
||||
box-sizing: border-box;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<body>
|
||||
<div class="topnav">
|
||||
<a href="/polis" class="title">
|
||||
<div>
|
||||
<div class="title-text">
|
||||
Phantas.ma/polis<span class="hide-mobile">: Looking Back to the Future</span>
|
||||
</div>
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue