Minor improvements

This commit is contained in:
reverend 2020-08-04 19:42:13 +02:00
parent 8af6803dcc
commit 6f3fb3850f
3 changed files with 74 additions and 27 deletions

View File

@ -5,12 +5,17 @@
margin-bottom: 70px; margin-bottom: 70px;
height: 60px; height: 60px;
&__Navigation{
flex-grow: 2;
}
&__Logo { &__Logo {
height: 60px; height: 60px;
margin: 25px; margin: 25px;
object-fit:cover; object-fit:cover;
max-height: 100%; max-height: 100%;
overflow: hidden; overflow: hidden;
flex-shrink: 0;
.LP-Image{ .LP-Image{
height: 60px; height: 60px;
@ -18,6 +23,19 @@
} }
} }
.LP-Header__UserInformation{
margin-right: 3%;
.LP-Paragraph{
font-family: $-primary-sans-serif-font;
white-space: nowrap;
}
.LP-Link{
margin: 0 3px;
padding: 4px 4px;
}
}
@media(max-width: $-viewport-medium){ @media(max-width: $-viewport-medium){
.LP-Header__Logo{ .LP-Header__Logo{
width: 60px; width: 60px;

View File

@ -2,6 +2,11 @@
<div class="LP-Header__Logo"> <div class="LP-Header__Logo">
{{> @image source='/images/logo.png'}} {{> @image source='/images/logo.png'}}
</div> </div>
<div class="LP-Header__UserInformation">
<span class="LP-Paragraph">
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
</span>
</div>
<div class="LP-Header__Navigation"> <div class="LP-Header__Navigation">
{{> @navigation}} {{> @navigation}}
</div> </div>

View File

@ -9,12 +9,12 @@
.LP-Link { .LP-Link {
color: #565656; color: #565656;
text-decoration: none; text-decoration: none;
font-family: Roboto, Arial, sans-serif; } font-family: Montserrat, Helvetica, sans-serif; }
.LP-Link:hover { .LP-Link:hover {
color: #C09F80; } color: #C09F80; }
.LP-Link .LP-Text { .LP-Link .LP-Paragraph {
font-family: Roboto, Arial, sans-serif; } font-family: Montserrat, Helvetica, sans-serif; }
.LP-Link .LP-Text:hover { .LP-Link .LP-Paragraph:hover {
color: #C09F80; } color: #C09F80; }
.LP-Link__IconWrapper { .LP-Link__IconWrapper {
@ -229,33 +229,45 @@
.LP-TagList .LP-TagList__List .LP-TagList__Item { .LP-TagList .LP-TagList__List .LP-TagList__Item {
margin: 6px; } margin: 6px; }
.LP-Menu .LP-Menu__List { .LP-Menu {
border-left: 1px solid #C09F80; }
.LP-Menu .LP-Menu__List {
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-around;
padding: 0; padding: 0;
margin: 0; } margin: 0; }
.LP-Menu .LP-Menu__Item {
.LP-Menu .LP-Menu__Item {
padding: 15px 0; padding: 15px 0;
margin: 0; margin: 0;
width: 100px;
text-align: center; text-align: center;
background-color: transparent; } background-color: transparent; }
.LP-Menu .LP-Link__Text {
.LP-Menu .LP-Link__Text {
color: #565656; color: #565656;
font-weight: bold; font-weight: bold;
text-shadow: 0px 0px 20px white; } text-shadow: 0px 0px 20px white; }
.LP-Menu .LP-Link__Text:hover { .LP-Menu .LP-Link__Text:hover {
color: #76323F; } color: #76323F; }
.LP-Menu--sidebar {
border: none;
min-width: 80px; }
.LP-Menu--sidebar .LP-Menu__List {
flex-direction: column; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
text-align: left;
border-left: 1px solid #C09F80;
margin-bottom: 10px; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:last-child {
margin-bottom: 0; }
@media (max-width: 750px) { @media (max-width: 750px) {
.LP-Menu .LP-Menu__List { .LP-Menu .LP-Menu__List {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start; } } justify-content: flex-start; }
.LP-Menu .LP-Menu__List .LP-Menu__Item {
flex: 1 1 auto; } }
@media (max-width: 450px) { @media (max-width: 450px) {
.LP-Menu .LP-Menu__List { .LP-Menu .LP-Menu__List {
@ -267,15 +279,27 @@
justify-content: space-between; justify-content: space-between;
margin-bottom: 70px; margin-bottom: 70px;
height: 60px; } height: 60px; }
.LP-Header__Navigation {
flex-grow: 2; }
.LP-Header__Logo { .LP-Header__Logo {
height: 60px; height: 60px;
margin: 25px; margin: 25px;
object-fit: cover; object-fit: cover;
max-height: 100%; max-height: 100%;
overflow: hidden; } overflow: hidden;
flex-shrink: 0; }
.LP-Header__Logo .LP-Image { .LP-Header__Logo .LP-Image {
height: 60px; } height: 60px; }
.LP-Header__UserInformation {
margin-right: 3%; }
.LP-Header__UserInformation .LP-Paragraph {
font-family: Montserrat, Helvetica, sans-serif;
white-space: nowrap; }
.LP-Header__UserInformation .LP-Link {
margin: 0 3px;
padding: 4px 4px; }
@media (max-width: 750px) { @media (max-width: 750px) {
.LP-Header__Logo { .LP-Header__Logo {
width: 60px; } width: 60px; }