12
12
top : 4rem
13
13
z-index : 100
14
14
transition : top 0.3s
15
- @media screen and (max-width : 768px )
16
- height : 6em
17
- .container
18
- @media screen and (max-width : 768px )
19
- flex-direction : column
20
- gap : 10px
21
-
15
+ .navbar
16
+ background-color : unset
17
+ min-height : 3em
18
+ .navbar-burger
19
+ color : $primary1-invert
20
+ margin-left : unset
21
+ width : 3em
22
+ height : 3em
23
+
24
+ .navbar-start
25
+ .navbar-item
26
+ color : white
27
+ border-radius : 5px
28
+ .navbar-item , .nabar-link
29
+ padding : 0.5rem .75rem
30
+
31
+ a .navbar-item.is-active ,
32
+ .navbar-link.is-active ,
33
+ .navbar-item
34
+ color : white
35
+ background-color : unset
36
+ & :hover
37
+ color : #0a0a0a
38
+ background-color : #fafafa
39
+
40
+ .navbar-link
41
+ color : inherit
42
+ border-radius : 5px
43
+
44
+ .navbar-brand ,
45
+ .navbar-tabs
46
+ min-height : unset
47
+ a :hover
48
+ color : $primary1-invert
49
+
50
+
22
51
input
23
52
background : #223745
24
53
border : none
34
63
& :focus
35
64
background : $white
36
65
66
+ @media screen and (min-width : 1024px )
67
+ .navbar-start
68
+ padding : 10px 0
69
+ .navbar-dropdown
70
+ background-color : #002033
71
+ border : none
72
+
73
+ @media screen and (max-width : 1023px )
74
+ .container
75
+ max-width : unset
76
+ .box
77
+ padding : 1.25rem 1rem 1.25rem 0rem
78
+ .navbar-menu
79
+ background-color : #002033
80
+ min-width : 150px
81
+ padding : 1rem
82
+ & .is-active
83
+ display : block
84
+ position : fixed
85
+ height : calc(100% - 112px )
86
+ overflow : auto
87
+ left : 0
88
+ animation : slideInFromLeft 0.3s ease-out forwards
89
+ & :not (.is-active )
90
+ animation : slideOutToLeft 0.3s ease-out forwards
91
+
92
+ @keyframes slideInFromLeft
93
+ from
94
+ transform : translateX(-100% )
95
+ opacity : 0
96
+ to
97
+ transform : translateX(0 )
98
+ opacity : 1
99
+
100
+ @keyframes slideOutToLeft
101
+ from
102
+ transform : translateX(0 )
103
+ opacity : 1
104
+ to
105
+ transform : translateX(-100% )
106
+ opacity : 0
107
+
108
+ .context-container .navbar-start a .navbar-item.is-active :hover ,
109
+ .context-container .navbar-start .navbar-link.is-active :hover ,
110
+ .context-container .navbar-start .navbar-item :hover
111
+ background-color : unset !important
112
+ color : white !important
113
+
114
+ .content > .columns .content
115
+ width : 100%
116
+
117
+ @media screen and (min-width : 1408px )
118
+ .search-control
119
+ margin-right : 60px
120
+
121
+
122
+ @media screen and (max-width : 1023px )
123
+ .box
124
+ padding : 1.25rem 1rem 1.25rem 0rem
0 commit comments