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
/* Navigation */
div#navi {
height: 100%;
left: 0;
margin: 0;
overflow-x: hidden;
padding: 0 0.5em 0.5em 0.5em;
position: fixed;
top: calc(3em + 2px); /* should match height of vertical line in header */
}
@media (max-width: 800px) {
div#navi {
height: auto;
margin: 0;
position: static;
width: 100%;
}
}
/* Navigation - list-style (for desktop screens) */
ul#list-navi {
list-style-type: none;
margin: 0;
padding: 0;
width: 100px;
}
@media (max-width: 800px) {
ul#list-navi {
display: none;
}
}
ul#list-navi li {
background-color: #000;
color: #fff;
display: block;
font-size: 1em;
height: 0;
line-height: 2em;
margin: 0;
opacity: 0;
padding: 0 0.5em 0 0;
text-align: center;
transition: all 0.4s ease-out;
}
ul#list-navi li a {
color: #fff;
display: none;
text-decoration: none;
}
ul#list-navi li.shown {
height: 2em;
margin: 0 0 0.5em 0;
opacity: 1;
}
ul#list-navi li.shown a {
display: block;
}
ul#list-navi li.shown:hover {
background-color: #333;
}
ul#list-navi li.shown.trigger {
background: url('/files/arrow_down.png') no-repeat right #000;
background-origin: content-box;
padding: 0 0.5em 0 0;
}
ul#list-navi li.shown.trigger.selection {
background: url('/files/arrow_up.png') no-repeat right #999;
background-origin: content-box;
color: #000;
padding: 0 0.5em 0 0;
}
/* Navigation - menu-style (for mobile screens) */
select#menu-navi {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background: url('arrow_down.png') no-repeat right #000;
background-origin: content-box;
border: 0;
color: #fff;
display: none;
font-size: 1em;
height: 2em;
margin: 0;
outline: 0;
padding: 0 0.5em 0 0;
width: 12em;
}
@media (max-width: 800px) {
select#menu-navi {
display: inline-block;
}
}
select#menu-navi:focus {
background: url('arrow_up.png') no-repeat right #000;
background-origin: content-box;
padding: 0 0.5em 0 0;
}
select#menu-navi option {
height: 2em;
margin: 0;
width: 12em;
}
/* Content left margin */
main {
margin-left: calc(100px + 1em);
}
@media (max-width: 800px) {
main {
margin-left: 0;
}
}
div#cgit {
margin-left: calc(100px + 1em);
}
@media (max-width: 800px) {
div#cgit {
margin-left: 0;
}
}