Files: 5b17ba2a85122774945850eeb89c50eaded5c446 / app / html / menu.mcss
749 bytesRaw
1 | Menu { |
2 | color: #fff |
3 | pointer: cursor |
4 | |
5 | align-self: stretch |
6 | // this means menu button has more verical height which make it easier to hit |
7 | display: grid |
8 | align-content: center |
9 | |
10 | div { |
11 | display: none |
12 | |
13 | color: #444 |
14 | font-family: sans |
15 | line-height: 1.4rem |
16 | min-width: 10rem |
17 | |
18 | position: absolute |
19 | top: .5em |
20 | right: 0 |
21 | padding: 2rem 1rem .5rem |
22 | background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 1.5rem, #fff 1.5rem, #fff) |
23 | z-index: 5 |
24 | |
25 | margin-top: .4rem |
26 | |
27 | a { |
28 | cursor: pointer |
29 | text-decoration: none |
30 | |
31 | padding: 0 .3rem |
32 | |
33 | :hover { |
34 | background: fuchsia |
35 | color: white |
36 | } |
37 | } |
38 | } |
39 | |
40 | :hover { |
41 | div { |
42 | display: flex |
43 | flex-direction: column |
44 | } |
45 | } |
46 | } |
47 | |
48 |
Built with git-ssb-web