summaryrefslogtreecommitdiff
path: root/css/local.css
blob: 4306d9a919d15c184f4cabad86e59127c69bfefa (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
/* ikiwiki local style sheet */

/* Add local styling here, instead of modifying bootstrap.min.css. */

/* Add this class to a bootstrap table to not make it take 100% of the width */
.table-nonfluid {
    width: auto;
}
.urlwordbreakall {
    word-break: break-all;
}

/*
.half-width-img         have to table cols at 50% each and fit image in col
*/
table.half-width-img th {
    width: 50%;
}
/*
.img-fill-container     scale an image to fit container in x axis
*/
table.half-width-img img,
.img-fill-container {
    width: 100%;
    height: auto;
}

h1, .h1 {
    font-size: 30px;
}

h2, .h2 {
    font-size: 24px;
}

h3, .h3 {
    font-size: 20px;
}

h4, .h4 {
    font-size: 18px;
}

h5, .h5 {
    font-size: 16px;
}

h6, .h6 {
    font-size: 14px;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 18px;
    margin-bottom: 8px;
}

blockquote {
    font-size: unset;
}