]> mj.ucw.cz Git - pciids.git/blob - static/screen.css
CSS: Limit body width to 1024px
[pciids.git] / static / screen.css
1 body
2 {
3         color: black;
4         background: #DDDDFF;
5         max-width: 1024px;
6         margin-left: auto;
7         margin-right: auto;
8 }
9 form.admin table.unnamedItem tr.label,
10 .unnamedItem, .unseen-history
11 {
12         background: #D5D5D5;
13 }
14 form.admin table.item tr.label,
15 .item, .history
16 {
17         background: #F0F0F0;
18 }
19 .main-history
20 {
21         background: #DDFFDD;
22 }
23 .help-example
24 {
25         background: #BBBBFF;
26         padding: 0.3em;
27 }
28 .itemname, .name
29 {
30         font-weight: bold;
31 }
32 .itemnote, .note
33 {
34         font-weight: bold;
35         font-style: italic;
36 }
37 .error
38 {
39         font-weight: bold;
40         color: red;
41 }
42 .author, .time
43 {
44         font-style: italic;
45 color: #444444;
46 }
47 .discussion div p, .admin div p
48 {
49         padding-left: 5px;
50         padding-right: 5px;
51 }
52 div.lmenu
53 {
54 float: left;
55 width: 20%;
56 }
57 div.rmenu
58 {
59 float: right;
60        text-align: right;
61 width: 20%;
62        padding-right: 1em;
63 margin: 0px;
64 }
65 div.bigbluesquare
66 {
67         width: 100%;
68 }
69 div.bluesquare
70 {
71         position: absolute;
72         left: 20%;
73         top: 1ex;
74         width: 60%;
75 }
76 div.bluesquare-example
77 {
78         left: 20%;
79         width: 60%;
80         position: absolute;
81         height: 5em;
82 }
83 div.help-example div.lmenu,
84 div.help-example div.rmenu
85 {
86         background: #BBBBFF;
87 }
88 div.bluesquare,
89 div.bigbluesquare,
90 div.bluesquare-example
91 {
92         background-color: #4c3bff;
93         color: #fffa45;
94         border: solid blue;
95         border-width: 1px;
96 }
97 div.rmenu,
98 div.lmenu
99 {
100         background: #DDDDFF;
101 }
102 div.top p.home
103 {
104         margin-top: 1ex;
105 }
106 div.top ul
107 {
108         margin-top: 0px;
109 }
110 div.clear
111 {
112         clear: both; /* Hack. Wait for all menus to end first. */
113 }
114 .lmenu ul,
115 .rmenu ul,
116 .navigation ul,
117 ul.navigation
118 {
119         list-style-type: none;
120 }
121 .lmenu li,
122 .rmenu li
123 {
124         margin-left: -1em; /* Hack. Move the place the bullets would take if they were there back left. */
125 }
126 form.admin tr.label td.deletes
127 {
128         background: red;
129 }
130 form.admin .newhistory
131 {
132         background: #FFFFCC;
133 }
134 form.admin td.empty,
135 form.admin table
136 {
137         background: #BBBBFF;
138 }
139 p.announce
140 {
141         background: yellow;
142 }