Rewrite to Django from scratch. Now it's much more user-friendly.
[cookbook.git] / example / data / static / style.css
1 /* <body> */
2
3 body {
4   background: #eee;
5 }
6
7 .fullclear {
8   width:100%;
9   height:1px;
10   margin:0;
11   padding:0;
12   clear:both;
13 }
14
15 /* </body> */
16
17 /* <div id="navigation"> */
18
19 #navigation {
20   margin: 0;
21   padding: 4px 0 0 0;
22 }
23
24 #navigation ul {
25   list-style: none;
26   margin: 0;
27   padding: 0 0 0 12px;
28 }
29
30 #navigation ul li {
31   margin: 0;
32   padding: 0;
33   float: left;
34 }
35
36 #navigation ul li a {
37   display: block;
38   font-weight: bold;
39   text-decoration: none;
40   margin: 0;
41   padding: 5px 5px;
42   background-color: #eee;
43 }
44
45 #navigation ul li a:hover {
46   background-color: #ccc;
47 }
48
49 #navigation ul li.CurrentSection a {
50   background-color: #FFF;
51 }
52
53 #navigation ul li.CurrentSection a:hover {
54   background-color: #FFF;
55 }
56
57 #subnavigation ul li.CurrentSection a {
58   border-width: 0 0 1px 0;
59 }
60
61 /* </div id="navigation"> */
62
63 /* <div id="content"> */
64
65 #content {
66         width: 100%;
67         margin: 0;
68         padding: 0;
69   padding-top: 1em;
70   padding-bottom: 1em;
71   background: #fff;
72 }
73
74 table {
75   border-collapse: collapse;
76 }
77
78 table.centered {
79   margin: auto;
80 }
81
82 td, th {
83   padding-right: 1em;
84   text-align: left;
85 }
86
87 table.wide tr:nth-child(odd) {
88   background: #eee;
89 }
90
91 table.wide thead tr:nth-child(odd) {
92   background: #ccc;
93 }
94
95 span.number {
96   float: right;            /* so decimal points match up */
97   font-family: monospace;  /* so that n-place digits line up */
98   text-align: '.';  /* should work by itself, but browser support is bad */
99 }
100
101 span.positive {
102   color: green;
103 }
104
105 span.negative {
106   color: red;
107 }
108
109 /* </div id="content"> */