align elements, colors
This commit is contained in:
parent
969a113d15
commit
1de79fbeae
@ -9,7 +9,7 @@
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #f2f2f2;
|
background: _palette(bg);
|
||||||
|
|
||||||
&.scrolled {
|
&.scrolled {
|
||||||
background: _palette(white);
|
background: _palette(white);
|
||||||
@ -21,12 +21,13 @@
|
|||||||
@include vendor('transition', (
|
@include vendor('transition', (
|
||||||
'opacity #{_duration(transition2)} ease',
|
'opacity #{_duration(transition2)} ease',
|
||||||
));
|
));
|
||||||
//display: none;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
color: _palette(white);
|
color: _palette(white);
|
||||||
top: 50%;
|
bottom: 100%;
|
||||||
left: 50%;
|
right: 100%;
|
||||||
|
margin: 0 -50% -50% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> span {
|
> span {
|
||||||
@ -70,7 +71,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
padding: 10px 23.1px;
|
padding: 10px 23.1px;
|
||||||
left: calc(50% - 40px);
|
left: calc(50% - 60px);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@include vendor('filter', 'grayscale(0)');
|
@include vendor('filter', 'grayscale(0)');
|
||||||
@ -95,7 +96,6 @@
|
|||||||
&.bar {
|
&.bar {
|
||||||
@include vendor('transition', (
|
@include vendor('transition', (
|
||||||
'transform #{_duration(transition2)} ease',
|
'transform #{_duration(transition2)} ease',
|
||||||
'transform-origin #{_duration(transition2)} ease',
|
|
||||||
'width #{_duration(transition)} ease',
|
'width #{_duration(transition)} ease',
|
||||||
'filter #{_duration(transition)} ease',
|
'filter #{_duration(transition)} ease',
|
||||||
));
|
));
|
||||||
@ -156,7 +156,7 @@
|
|||||||
> a > #logo > img {
|
> a > #logo > img {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
padding: 7.5px 17.3px;
|
padding: 7.5px 17.3px;
|
||||||
left: calc(50% - 30px);
|
left: calc(50% - 45px);
|
||||||
}
|
}
|
||||||
|
|
||||||
> #menuToggle {
|
> #menuToggle {
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
accent2: #d83c17,
|
accent2: #d83c17,
|
||||||
menu: #0e0e0e,
|
menu: #0e0e0e,
|
||||||
white: #ffffff,
|
white: #ffffff,
|
||||||
|
bg: #f2f2f2,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
bg: #935d8c,
|
bg: #935d8c,
|
||||||
fg: rgba(255,255,255,0.65),
|
fg: rgba(255,255,255,0.65),
|
||||||
|
Reference in New Issue
Block a user