Add Settings Icon to Header Menu
This commit is contained in:
1 parent
50f551df11
commit
68655d3078
4 files changed
+40
-31
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
<div class="menu-left">
|
<div class="menu-left">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<img src="/logo_inverted.svg" alt="logo"/>
|
<img src="/logo_inverted.svg" alt="logo"/>
|
||||||
<span>ADOFAI Editor Forum</span>
|
<span><strong>ADOFAI Editor Forum</strong></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span>Levels</span>
|
<span>Levels</span>
|
||||||
@@ -11,6 +11,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="menu-right">
|
<div class="menu-right">
|
||||||
<span>Login</span>
|
<span><strong>Login</strong></span>
|
||||||
<span>Signup</span>
|
<span>Signup</span>
|
||||||
|
|
||||||
|
<span class="material-symbols-outlined icon-40 settings">settings</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -23,11 +23,19 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 48px;
|
gap: 48px;
|
||||||
padding: 12px;
|
|
||||||
|
span:not(.icon-40) {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 40px;
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-left {
|
.menu-left {
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
|
padding: 12px;
|
||||||
|
|
||||||
.brand {
|
.brand {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -42,22 +50,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-weight: 900;
|
|
||||||
/*text-box-trim: trim-both;
|
/*text-box-trim: trim-both;
|
||||||
text-box-edge: cap alphabetic;*/
|
text-box-edge: cap alphabetic;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
|
||||||
font-size: 18px;
|
|
||||||
line-height: 40px;
|
|
||||||
vertical-align: middle;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-right {
|
.menu-right {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
padding: 12px 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,3 +11,29 @@ body {
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-24 {
|
||||||
|
font-variation-settings:
|
||||||
|
'FILL' 0,
|
||||||
|
'wght' 300,
|
||||||
|
'GRAD' 0,
|
||||||
|
'opsz' 24;
|
||||||
|
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-40 {
|
||||||
|
font-variation-settings:
|
||||||
|
'FILL' 0,
|
||||||
|
'wght' 300,
|
||||||
|
'GRAD' 0,
|
||||||
|
'opsz' 40;
|
||||||
|
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
strong {
|
||||||
|
font-weight: 900;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,21 +1 @@
|
|||||||
@forward 'functions';
|
@forward 'functions';
|
||||||
|
|
||||||
.icon-24 {
|
|
||||||
font-variation-settings:
|
|
||||||
'FILL' 0,
|
|
||||||
'wght' 300,
|
|
||||||
'GRAD' 0,
|
|
||||||
'opsz' 24;
|
|
||||||
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-40 {
|
|
||||||
font-variation-settings:
|
|
||||||
'FILL' 0,
|
|
||||||
'wght' 300,
|
|
||||||
'GRAD' 0,
|
|
||||||
'opsz' 40;
|
|
||||||
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user