-
Notifications
You must be signed in to change notification settings - Fork 11
/
local.less
120 lines (103 loc) · 2.16 KB
/
local.less
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
@screen-xs: 350px;
@screen-sm: 700px;
@max-bodysize: 900px;
@screen-lg: 1200px;
@screen-xl: 1800px;
.pageheader {
/* less clutter, more space for title */
.actions {
font-size: 0.8em;
display: none;
@media (min-width: @screen-sm) {
display: block;
}
}
.title {
padding: 1em 0;
}
#searchform {
display: none;
}
}
#pagebody {
max-width: @max-bodysize;
}
aside.sidebar {
margin: 1em 2em;
border: 0;
padding: 0;
width: auto;
float: none;
background: transparent;
display: none;
@media (min-width: @screen-xs) {
display: block;
}
.nav {
padding-left: 0;
list-style-type: none;
font-size: 0.8em;
li {
background: rgba(255, 255, 0, 0.2);
display: inline-block;
padding: 0.5em;
margin: 0.25em;
}
}
@media (min-width: @screen-lg) {
float: right;
width: 250px;
.nav li { display: block; }
}
/* FIXME */
/* I had to comment this out because otherwise it will make the text on the
* left unclickable. I have tried to fix this with z-index but it sucks, so
* for now this is left out
@media (min-width: @screen-xl) {
float: none;
position: absolute;
width: auto;
.nav { margin-left: @max-bodysize; padding-left: 3em; }
.nav li { display: inline-block; }
}
*/
}
.toggle {
}
.toggleable {
font-size: 0.9em;
margin-left: 1.5em;
.toggle {
margin-left: -1.5em;
float: left;
}
}
#otherlanguages {
span {
float: left;
padding: 6px 0;
}
}
.notice {
&.translation {
display: block;
font-size: 0.8em;
background: none repeat scroll 0px 0px rgba(255, 255, 0, 0.2);
padding: 1em;
}
}
.lastNewsEntry {
background: rgba(255, 255, 0, 0.2);
margin-bottom: 2em;
}
#footer {
.tags {
a {
display: block;
@media (min-width: @screen-xs) {
display: inline;
margin-right: 1.5em;
}
}
}
}