summaryrefslogtreecommitdiff
path: root/assets/css/style.css
blob: 4564954ba15f3128a3dca14b4919a5ffdef3e828 (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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
body {
    padding-top: 50px;
    overflow-y: scroll;
}
/* header bar: 50px */

div.jumbotron {
    padding-top: 16px;
}

.jumbotron h1 {
/*font-size: 36px;*/
    margin-bottom: 0;
}
.jumbotron p {
    font-size: 18px;
}
p {
    text-align: justify;
    hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
.raggedright p {
    text-align: inherit;
    hyphens: inherit;
    -moz-hyphens: inherit;
    -webkit-hyphens: inherit;
    -ms-hyphens: inherit;
}
p.center {
    text-align: center;
    hyphens: none;
    -moz-hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

.jumbotron h1, .jumbotron h2 {
    line-height: 1;
    margin-top: 0;
    text-align: center;
}

/* center buttons in xs view */
@media (max-width: 767px) {
    .jumbotron .col-xs-11 p {
	text-align: center;
    }
}

/* fix for anchored links to scroll the top bar */
*[id]:before { 
  display: block; 
  content: " "; 
  margin-top: -65px; 
  height: 65px;
  visibility: hidden;
  position: relative;
  z-index: -1;
  pointer-events: none;
}
*[id]:not(button):not(input):not([href]):not(#navbar) {
  position: inherit;
  /* z-index: -1; */
  /* pointer-events: none; */
}
/* there is this weird issue with above code making links not clickable below anchors... */
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  position: inherit;
}
#___gcse_0:before { display: inline; }
#___gcse_0 div.gsc-adBlock { display: none ! important; }

/* This is for mobile devices and the size of the youtube video */
iframe {
    max-width: 100%;
}

/* Better color for linked headers */
h1 a,
h2 a,
h3 a {
    color: #333;
}

/* Position the irssi logo */
.navbar-brand img {
    margin-top: -14px;
}

footer {
    margin-top: 20ex;
}

/* Out of site link image */
a[rel="external"],a.rel-external {
  padding-right: 10px;
}

.navbar-nav a[rel="external"] {
  padding-right: 10px;
}

a[rel="external"]:after,a.rel-external:after {
  position: absolute;
  font-family: 'Glyphicons Halflings';
  content: "\e164"; /* glyphicon-new-window */
  padding-left: 2px;
  font-size: 51%;
}

.navbar-nav a[rel="external"]:after {
    font-size: 100%;
}

a[rel="external"]:hover:after,a.rel-external:hover:after {
  text-decoration: none;
}

/* Reduce navbar spacing on small resolutions,
   to avoid wrapping */
@media (max-width:991px) and (min-width:768px) {
    .nav > li > a {
        padding-left: 6px;
        padding-right: 4px;
	font-size: 95%;
	letter-spacing: -0.2px;
    }
    .nav > li > a[rel="external"] {
        padding-right: 18px;
    }
}

/* Tweak to make the menu visible (otherwise Bugs is cut off) */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
  max-height: 416px;
}


/* Select box for settings docs */
.col-xs-12.col-md-4 select {
    display: block;
    background: inherit;
    border: inherit;
    width: 11em;
    -moz-appearance: none;
    -webkit-appearance: none;
    color: #337ab7;
}

select .header {
    text-align: center;
}

.welcome-img {
    background-image: url(../irssi2017.jpg);
    /* background-color: #ffeeff; */
    background-repeat: no-repeat;
    background-position: 5% 95%;
    background-size: cover;
    border: 5px solid black;
    box-shadow: 0px 0px 5px black, inset 0 0 10px white;
    border-radius: 10px;
    background-blend-mode: darken;
    transition-duration: 1s;
}

@media (min-width:992px) {
    .jumbotron.flex .row {
	display: flex;
    }
}

@media (max-width:991px) {
    .welcome-img {
	height: 350px;
    }
}

@media (max-width:767px) {
    .welcome-img {
	height: 250px;
    }
}

blockquote {
    font-size: inherit;
}

.gsearch-form input.form-control {
    width: 120px;
}

.twitter-timeline {
    height: 80vh !important;
}

.sticken {
    position: sticky;
    top: 50px;
    height: calc(100vh - 50px);
}

.page > .sticken {
    overflow-y: auto;
}

p.hidden-edit a.hidden-edit,
p.hidden-edit a.hidden-edit + span.hidden-edit {
    opacity: 0;
}
p.hidden-edit:hover a.hidden-edit,
p.hidden-edit:hover a.hidden-edit + span.hidden-edit,
p.hidden-edit a.hidden-edit:focus,
p.hidden-edit a.hidden-edit:active,
p.hidden-edit a.hidden-edit:focus + span.hidden-edit,
p.hidden-edit a.hidden-edit:active + span.hidden-edit {
    opacity: 1;
}
p.hidden-edit span.hidden-balance {
    display: inline-block;
    /* width should roughly equal "Source file -" */
    width: 10ex;
}

/* news archive */
.container.home h3,
.container.home .h3 {
    font-size: 20px;
    font-weight: bold;
}

.container.home p + h2 {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.container.home hr {
    width: 70%;
}


/* download page */
.osicon, .obsicon {
    padding-right: 1ex;
    margin-bottom: 1ex;
}

.obsicon {
    float: left;
}

.dlc .osimg {
}

.dlc input {
    opacity: 0;
    position: fixed;
}
.dlc .info h3 {
    display: none;
}

.dlc .icon {
    display: inline-block;
    width: 105px;
    text-align: center;
    white-space: normal;
    margin-top: 1ex;
}

.dlc input:checked + label {
    background-color: #e6e6e6;
}

.dlc input:focus + label {
    border: 1px dashed #666666;
}

@media (max-width: 768px) {
    .irssi-release,.irssi-git { display: inline-block; }
}

.dlc .info, .dlc .obs-info { display: none; }
.row.obs-info, .row.obs-info .btn { font-size: small; }

.dlc input:nth-of-type(1):checked ~ .info:nth-of-type(1),
.dlc input:nth-of-type(2):checked ~ .info:nth-of-type(2),
.dlc input:nth-of-type(3):checked ~ .info:nth-of-type(3),
.dlc input:nth-of-type(4):checked ~ .info:nth-of-type(4),
.dlc input:nth-of-type(5):checked ~ .info:nth-of-type(5),
.dlc input:nth-of-type(6):checked ~ .info:nth-of-type(6),
.dlc input:nth-of-type(7):checked ~ .info:nth-of-type(7),
.dlc input:nth-of-type(8):checked ~ .info:nth-of-type(8),
.dlc input:nth-of-type(9):checked ~ .info:nth-of-type(9),
.dlc input:nth-of-type(10):checked ~ .info:nth-of-type(10),
.dlc input:nth-of-type(11):checked ~ .info:nth-of-type(11),
.dlc input:nth-of-type(12):checked ~ .info:nth-of-type(12),
.dlc input:nth-of-type(13):checked ~ .info:nth-of-type(13),
.dlc input:nth-of-type(14):checked ~ .info:nth-of-type(14),
.dlc input:nth-of-type(15):checked ~ .info:nth-of-type(15),
.dlc input:nth-of-type(16):checked ~ .info:nth-of-type(16),
.dlc input:nth-of-type(17):checked ~ .info:nth-of-type(17),
.dlc input:nth-of-type(18):checked ~ .info:nth-of-type(18),
.dlc input:nth-of-type(19):checked ~ .info:nth-of-type(19),
.dlc input ~ .no-info
{
    display: block;
    margin: 2em;
    padding: 1em;
    border: 1ex solid #d9edf7; /* @bg-info color */
    border-radius: 4px; /* like @btn */
}

.dlc input ~ .no-info {
    border-color: #f7ecb5; /* @bg-warning:hover color */
}
.dlc input:checked ~ .no-info { display: none; }

/* here the hard-coded item numbers which show obs download info */
.dlc input:nth-of-type(2):checked ~ .obs-info,
.dlc input:nth-of-type(3):checked ~ .obs-info,
.dlc input:nth-of-type(6):checked ~ .obs-info,
.dlc input:nth-of-type(7):checked ~ .obs-info,
.dlc input:nth-of-type(8):checked ~ .obs-info {
    display: block;
    padding: 1em;
}
/* no irssi-git for arch linux currently */
.dlc input:nth-of-type(7):checked ~ .obs-info .irssi-git { display: none; }


/* collapsing the about-page columns */
@media (min-width:992px) {
.two-column {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -moz-column-fill: balance;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    -webkit-column-fill: balance;
    column-count: 2;
    column-gap: 20px;
    column-fill: balance;
}
.two-column > div {
    display: inline-block;
}
}