This repository was archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.css
87 lines (73 loc) · 1.42 KB
/
index.css
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
/** Buttons */
.btn-toggler,
.btn-link {
outline-width: 0 !important;
background-color: transparent;
font-family: arial, sans-serif;
}
.btn-link {
font-size: 16px;
border-width: 0;
padding: 0;
text-decoration: underline;
cursor: pointer;
}
.btn-toggler {
font-size: 1.5rem;
line-height: 1;
text-transform: uppercase;
padding: 0.25rem 0.5rem;
min-width: 50px;
color: tomato;
border: 2px solid currentColor;
}
.btn-toggler:not(:last-of-type) {
margin-right: 0.5rem;
}
.btn-menu[aria-expanded='true'],
.btn-close[aria-expanded='false'] {
display: none;
}
.btn-submenu span {
font-size: 0.5em;
line-height: 1.75;
}
/** Nav menus */
.nav-menu ul {
display: flex;
flex-direction: column;
list-style: none;
padding: 0;
}
.nav-menu a,
.nav-menu .btn-link {
display: flex;
box-sizing: border-box;
padding: 0.5rem;
width: 100%;
text-decoration: none;
text-transform: uppercase;
color: tomato;
}
.nav-menu a:hover,
.nav-menu .btn-link:hover {
background-color: rgba(0, 0, 0, 0.1);
}
/** Hide element */
.hide {
display: none !important;
}
/** Media breakpoints */
@media (min-width: 768px) {
.d-md-none {
display: none;
}
/** Show nav menu */
.nav-menu {
display: flex !important;
}
/** Display menu items horizonatally */
.nav-menu>ul {
flex-direction: row;
}
}