summaryrefslogtreecommitdiff
path: root/project/assets/css/default.css
blob: dff30594b45c767990c9acf3b1f1467ccb1db529 (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


/* Some hopefully sensible defaults. */

body {
    margin: auto;
    max-width: 75em;
    font: 1.2em/1.62em sans-serif;
}


figure {
    text-align: center;
    margin-left: 0.5em;
    margin-right: 0.5em;
}


div.precontain {
    text-align: center;
}


code {
    display: inline-block;
    text-align: left;
    font-family: monospace;
    white-space: pre;
    background-color: #ceecf5;
    border-radius: 1.5em;
    /* top padding seems to start at 2em on most browsers for code blocks... bug? */
    /* nonetheless, for the moment padding-top will be left as default */
    padding-right: 2em;
    padding-bottom: 2em;
    padding-left: 2em;
    /*padding: 2em 2em 2em 2em;*/
    margin: 1em 2em 1em 2em;
    width: 60em;
}


pre {
    display: inline-block;
    text-align: left;
    background-color: #cef6ce;
    border-radius: 1.5em;
    padding: 2em 2em 2em 2em;
    margin: 1em 2em 1em 2em;
    width: 60em;
}


h2 {
    padding: 1em 0.5em 1em 0.5em;
}


h4 {
    padding-top: 2em;
    padding-left: 0.5em;
}


h5 {
    padding-top: 2em;
    padding-left: 0.5em;
}


p {
    margin: 2em 0.5em 2em 0.5em;
}




/* Display the navbar like a table to make it
   horizontal and evenly spaced. */

nav ul {
    display: table;
    width: 90%;
    margin: auto;
    padding: 0;
}

nav ul li {
    display: table-cell;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 33.33333333%;
}

nav ul li:first-child {
    text-align: left;
}

nav ul li:last-child {
    text-align: right;
}