diff options
author | Viktor Kleen <viktor@kleen.org> | 2015-01-02 09:29:04 +0000 |
---|---|---|
committer | Viktor Kleen <viktor@kleen.org> | 2015-01-02 09:29:04 +0000 |
commit | f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c (patch) | |
tree | 7ffe93f3629546f8a0cb4ca7c7c7ce70196e4387 /style.css | |
download | dirty-haskell.org-f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c.tar dirty-haskell.org-f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c.tar.gz dirty-haskell.org-f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c.tar.bz2 dirty-haskell.org-f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c.tar.xz dirty-haskell.org-f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c.zip |
initial commit
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/style.css b/style.css new file mode 100644 index 0000000..b86b20c --- /dev/null +++ b/style.css | |||
@@ -0,0 +1,64 @@ | |||
1 | body { | ||
2 | margin: auto; | ||
3 | padding-right: 1em; | ||
4 | padding-left: 1em; | ||
5 | font: normal 1.1em/1.3em monospace; | ||
6 | width: 60em; | ||
7 | text-align: justify; | ||
8 | } | ||
9 | |||
10 | .display-math { | ||
11 | display: block; | ||
12 | margin-top: 0.2em; | ||
13 | margin-bottm: 0.2em; | ||
14 | text-align: center; | ||
15 | } | ||
16 | |||
17 | .inline-math { | ||
18 | display: inline; | ||
19 | } | ||
20 | |||
21 | a { | ||
22 | color: inherit; | ||
23 | } | ||
24 | |||
25 | p { | ||
26 | margin-bottom: 0 | ||
27 | } | ||
28 | |||
29 | p + p { | ||
30 | text-indent: 1.5em; | ||
31 | margin-top: 0 | ||
32 | } | ||
33 | |||
34 | nav#top-level { | ||
35 | border-bottom: 1px solid grey; | ||
36 | border-top: 1px solid grey; | ||
37 | display: table; | ||
38 | text-align: center; | ||
39 | width: 100%; | ||
40 | } | ||
41 | |||
42 | nav#top-level ul { | ||
43 | display: table-row; | ||
44 | } | ||
45 | |||
46 | nav#top-level ul li { | ||
47 | display: table-cell; | ||
48 | } | ||
49 | |||
50 | nav#top-level ul li a { | ||
51 | display: inline-block; | ||
52 | width: 100%; | ||
53 | text-align: center; | ||
54 | text-decoration: none; | ||
55 | color: inherit; | ||
56 | text-transform: uppercase; | ||
57 | } | ||
58 | |||
59 | nav#top-level ul li a:hover { | ||
60 | display: inline-block; | ||
61 | width: 100%; | ||
62 | text-align: center; | ||
63 | background: lightgrey; | ||
64 | } | ||