File tree Expand file tree Collapse file tree 1 file changed +75
-0
lines changed
Expand file tree Collapse file tree 1 file changed +75
-0
lines changed Original file line number Diff line number Diff line change 11/* *
22 * Site header
33 */
4+ #header {
5+ display : flex ;
6+ align-items : center ;
7+ justify-content : space-between ;
8+ border-bottom : 1px solid $grey-color-light ;
9+ min-height : 56px ;
10+ padding : 0 $spacing-unit ;
11+ position : relative ;
12+
13+ #logo {
14+ font-size : 26px ;
15+ font-weight : 400 ;
16+ letter-spacing : -1px ;
17+ margin : 0 ;
18+
19+ a {
20+ color : $grey-color-dark ;
21+ & :hover { text-decoration : none ; }
22+
23+ span {
24+ font-weight : 700 ;
25+ }
26+ }
27+ }
28+
29+ #nav {
30+ ul {
31+ list-style : none ;
32+ margin : 0 ;
33+ padding : 0 ;
34+ display : flex ;
35+ align-items : center ;
36+ gap : 4px ;
37+
38+ li {
39+ a {
40+ display : block ;
41+ padding : 8px 12px ;
42+ color : $text-color ;
43+ font-size : 14px ;
44+
45+ & :hover {
46+ text-decoration : none ;
47+ color : $brand-color ;
48+ }
49+ }
50+
51+ a .button.special {
52+ background-color : $brand-color ;
53+ color : #fff ;
54+ border-radius : 4px ;
55+ padding : 8px 16px ;
56+
57+ & :hover {
58+ background-color : darken ($brand-color , 10% );
59+ }
60+ }
61+ }
62+ }
63+
64+ @include media-query ($on-palm ) {
65+ ul {
66+ flex-direction : column ;
67+ align-items : flex-end ;
68+ }
69+ }
70+ }
71+
72+ @include media-query ($on-palm ) {
73+ flex-direction : column ;
74+ align-items : flex-start ;
75+ padding : $spacing-unit / 2 ;
76+ }
77+ }
78+
479.site-header {
580 border-top : 5px solid $grey-color-dark ;
681 border-bottom : 1px solid $grey-color-light ;
You can’t perform that action at this time.
0 commit comments