summaryrefslogtreecommitdiff
path: root/skins/ArchLinux/arch.css
blob: 9432d813ef9ad5282d7bee914a0624a46057f23e (plain)
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
169
170
171
172
173
174
175
176
177
178
/* general styling */
body {
    background: #f6f9fc;
}
body,
#content,
table,
h1,
h2,
h3,
h4,
h5,
pre,
code,
tt {
    color: #222;
}
h1 {
    font-weight: bold;
}
pre,
code,
tt {
    background-color: #ebf1f5;
    font-family: monospace;
}
pre {
    border: 1px solid #bcd;
    overflow: auto;
}
code,
tt {
    /* Inline-block prevents code from wrapping when starting too close to the
    end of a line; it also lets select the entire code line with a triple
    click */
    display: inline-block;
    padding: 0 0.3em;
    /* A border would be inherited by the default style sheets, but we don't
    want it */
    border-width: 0;
    border-radius: 0;
}
ul,
.portlet ul {
    list-style-image: none;
}
#bodyContent table {
    border-collapse: collapse;
    padding: 2px;
}
#bodyContent td {
    padding: 2px;
}

/* links (including page tabs and personal toolbar) */
#bodyContent > div.mw-content-ltr a,
#bodyContent > div.mw-content-rtl a,
#wikiPreview > div.mw-content-ltr a,
#wikiPreview > div.mw-content-rtl a {
    font-weight: bold;
}
#bodyContent #toc a,
#bodyContent .special li > a,
#bodyContent .special li span a,
#bodyContent #pagehistory a {
    font-weight: normal;
}
a:link,
#toc a,
#p-cactions li a,
#p-personal li a,
#p-cactions li a:visited,
#p-personal li a:visited,
#bodyContent a.external,
#bodyContent a.extiw {
    text-decoration: none;
    outline: none;
    color: #07b;
}
a:visited,
#bodyContent a:visited.external {
    color: #666;
}
a:hover,
#p-personal li a:hover,
#bodyContent #toc a:hover,
#bodyContent a:hover.external {
    text-decoration: underline;
    background-color: transparent;
    color: #999;
}
a:focus,
a:active,
#toc a:focus,
#toc a:active,
#p-cactions li a:focus,
#p-cactions li a:active,
#p-personal li a:focus,
#p-personal li a:active,
#bodyContent a:focus.external,
#bodyContent a:active.external,
#bodyContent a:focus.extiw,
#bodyContent a:active.extiw {
    color: #e90 !important;
}
a.new,
#p-cactions .new a,
#p-personal a.new {
    color: #b00 !important;
}

/* bump down the personal toolbar (top menu) */
#p-personal {
    top: 70px;
}

/* bump down the action tabs (page, discuss, edit, etc.) */
#p-cactions {
    top: 92px;
}

/* bump down the main content to make room for navbar */
#content {
    top: 10px;
}

/* shrink the content just enough to show off the borders */
div#globalWrapper {
    width: 99%;
}

/* article Table of Contents */
#toc,
.toc,
.mw-warning {
    background-color: #f9faff;
    border: 1px solid #d7dfe3;
}

/* sidebar menus and content borders */
.pBody {
    border: 1px solid #ddd;
}
div#content {
    border: 1px solid #ccc;
}

/* disable default mediawiki logo and close the gap it leaves behind */
#p-logo {
    display: none !important;
}
div#column-one {
    padding-top: 36px;
}

/* disable footer logos  TODO: see if this can be done in LocalSettings.php */
#f-poweredbyico,
#f-copyrightico {
    display: none;
}

/* clean up the footer */
div#footer {
    color: #888;
    background-color: transparent;
    border-top: none;
    border-bottom: none;
}

/* bring footer text inline with content */
#footer ul {
    margin-left: 170px;
}

/* highlight current website in the navbar */
#archnavbar ul li.anb-selected a {
    color: white !important;
}