mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
12 hours ago 03accb90e5884eee38d2175e097a3b89b1d933fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/*
 * Header navigation: hook classes
 *
 * Every class and state that layouts/_partials/site-navigation.html renders,
 * with empty rules. Ananke does not load this file. To style the navigation,
 * copy it to `assets/ananke/css/navigation.css` in your site, fill in the rules
 * you need, delete the rest, and add it to your configuration:
 *
 *   [params.ananke]
 *   custom_css = ["navigation.css"]
 *
 * To change colours, type, or spacing with Tachyons classes instead, use
 * [params.ananke.navigation.classes].
 *
 * Breakpoint: below 60em (Tachyons `-l`) the menu collapses behind the menu
 * button and submenus open inline. From 60em the navigation is one row and
 * submenus open as dropdowns.
 */
 
/* <nav> element. */
.ananke-nav {
  /* */
}
 
/* Set on .ananke-nav by the script while the menu panel is closed. */
.ananke-nav-collapsed {
  /* */
}
 
/* Row inside <nav> that holds the groups of [ananke.header] navigation and
   the menu button. */
.ananke-nav-inner {
  /* */
}
 
/* Site title or logo link. */
.ananke-nav-brand {
  /* */
}
 
/* Every group of [ananke.header] navigation. */
.ananke-nav-group {
  /* */
}
 
/* The group with the `logo` component (or the first other group). Shares the
   first row with the menu button below the -l breakpoint. */
.ananke-nav-lead {
  /* */
}
 
/* Every other group that is not the lead or the panel, for example a search
   box. Gets its own row below the -l breakpoint. */
.ananke-nav-slot {
  /* */
}
 
/* Menu button below the -l breakpoint. Only visible with JavaScript. */
.ananke-nav-toggle {
  /* */
}
 
.ananke-nav-toggle[aria-expanded="true"] {
  /* */
}
 
.ananke-nav-toggle-icon {
  /* */
}
 
/* The three lines of the menu icon. */
.ananke-nav-toggle-line {
  /* */
}
 
.ananke-nav-toggle-label {
  /* */
}
 
/* Collapsible panel: the group with the `menu` component (by default with
   languages, main menu, and social links). Also has .ananke-nav-group. */
.ananke-nav-panel {
  /* */
}
 
/* Main menu <ul>. */
.ananke-nav-menu {
  /* */
}
 
/* Main menu <li>. */
.ananke-nav-item {
  /* */
}
 
/* Main menu <li> with a submenu. */
.ananke-has-submenu {
  /* */
}
 
/* Main menu link. */
.ananke-nav-link {
  /* */
}
 
/* Link to the current page. */
.ananke-nav-link[aria-current="page"] {
  /* */
}
 
/* Link to a section or parent of the current page. */
.ananke-nav-link[aria-current="true"] {
  /* */
}
 
/* Name of a parent entry without a URL, shown when JavaScript is off. */
.ananke-submenu-label {
  /* */
}
 
/* Button that opens a submenu. Only visible with JavaScript. */
.ananke-submenu-toggle {
  /* */
}
 
.ananke-submenu-toggle[aria-expanded="true"] {
  /* */
}
 
/* Parent entry without a URL that contains the current page. */
.ananke-submenu-toggle[aria-current="true"] {
  /* */
}
 
/* Chevron inside the submenu button. */
.ananke-submenu-icon {
  /* */
}
 
/* Submenu <ul> (second level). */
.ananke-submenu {
  /* */
}
 
/* Set by the script when the dropdown aligns to the other edge to stay in
   the viewport. */
.ananke-submenu-flip {
  /* */
}
 
/* Submenu <li>. */
.ananke-submenu-item {
  /* */
}
 
/* Submenu link, or the name of an entry without a URL. */
.ananke-submenu-link {
  /* */
}
 
.ananke-submenu-link[aria-current="page"] {
  /* */
}
 
/* Third and deeper levels: nested <ul> inside a submenu item. */
.ananke-submenu-nested {
  /* */
}