source: projects/web/trunk/css/gnome.css @ 8397

Revision 8397, 4.3 KB checked in by daisuke, 10 years ago (diff)

update to new web design

Line 
1/* From gnome-doc-utils */
2
3/*
4 * linktrail
5 */
6ul.linktrail {
7  display: block;
8  margin: 0.2em 0 0 0;
9  text-align: right;
10}
11li.linktrail { display: inline; margin: 0; padding: 0; }
12
13li.linktrail::before {
14  content: '  /  ';
15  color: #3f3f3f;
16}
17
18/*
19 * Sidebar
20 */
21div.sidebar {
22  float: right;
23  padding: 0;
24  margin: 0; 
25  width: 18em;
26}
27div.sidenav {
28  padding: 0.5em 1em 0 1em;
29  background-color: #ffffff;
30  border: solid 1px #e0e0df;
31}
32div.sidenav div.autotoc {
33  background-color: #ffffff;
34  border: none; padding: 0; margin: 0;
35}
36div.sidenav div.autotoc div.autotoc { margin-top: 0.5em; }
37div.sidenav div.autotoc li { margin-bottom: 0.5em; }
38div.sidenav div.autotoc div.autotoc div.autotoc {
39  margin-left: 1em;
40  margin-top: 0;
41}
42div.sidenav div.autotoc div.autotoc div.autotoc li { margin-bottom: 0; }
43
44div.autotoc {
45  display: table;
46  margin-top: 1em;
47  margin-left: 1.72em;
48  padding: 0.5em 1em 0.5em 1em;
49  background-color: #f0f9ff;
50  border: solid 1px #c0c9ff;
51}
52div.autotoc ul { margin: 0; padding: 0; }
53div.autotoc li { list-style-type: none; margin: 0; }
54div.autotoc div.autotoc-title { margin-bottom: 0.5em; }
55div.autotoc div.autotoc { border: none; padding: 0; margin-top: 0; margin-bottom: 0.5em; }
56div.autotoc div.autotoc div.autotoc { margin-bottom: 0; }
57
58/*
59 * Navibar
60 */
61div.body-sidebar {
62  margin-right: 19em;
63}
64
65div.navbar {
66  padding: 0.5em 1em 0.5em 1em;
67  /*max-width: 60em;*/
68  margin-right: 13em;
69  background-color: #ffffff;
70  border: solid 1px #e0e0df;
71}
72div.navbar-top { margin-bottom: 1em; }
73div.navbar-bottom { margin-top: 1em; clear: both; }
74div.navbar img { border: 0; vertical-align: -0.4em; }
75table.navbar { width: 100%; margin: 0; border: none; }
76table.navbar td { padding: 0; border: none; }
77td.navbar-next {
78  text-align: right;
79}
80a.navbar-prev::before {
81 
82  content: '◀  ';
83  color: #3f3f3f;
84}
85a.navbar-next::after {
86 
87  content: '  ▶';
88  color: #3f3f3f;
89}
90
91/*
92 * admonition
93 */
94div.caution-inner, div.important-inner, div.note-inner, div.tip-inner, div.warning-inner {
95  padding-left: 40px;   /* moddified */
96  background-position: left top;
97  background-repeat: no-repeat;
98  min-height: 48px;
99}
100div.important-inner { background-image: url("/docs/vine6/images/important.png"); }
101div.note-inner { background-image: url("/docs/vine6/images/note.png"); }
102div.warning-inner { background-image: url("/docs/vine6/images/warning.png"); }
103div.admonition span.title {
104        border-bottom: 1px dashed #ADADAD;
105        color: #333366;
106        font-size: 18px;
107        font-weight: normal;
108}
109
110        /* Vine original */
111.important {
112        width: 90%;
113        margin: auto;
114        margin-top: 5px;
115        padding: 3px;
116        border: solid 3px #666699;
117        border-style: solid;
118        border-radius: 6px;
119        -moz-border-radius: 6px;
120        -webkit-border-radius: 6px;
121}
122
123.warning {
124        width: 90%;
125        margin: auto;
126        margin-top: 5px;
127        padding: 3px;
128        border: solid 2px #AA6666;
129        border-style: solid;
130        border-radius: 6px;
131        -moz-border-radius: 6px;
132        -webkit-border-radius: 6px;
133}
134
135.note {
136        text-indent: 0;
137        width: 90%;
138        margin: auto;
139        margin-top: 5px;
140        padding: 3px;
141        border: solid 1px #666699;
142        border-radius: 6px;
143        -moz-border-radius: 6px;
144        -webkit-border-radius: 6px;
145}
146
147
148/*
149 * table
150 */
151table { border-collapse: collapse; }
152table.table-pgwide { width: 100%; }
153td { vertical-align: top; }
154td { padding: 0.2em 0.83em 0.2em 0.83em; }
155th { padding: 0 0.83em 0 0.83em; }
156tr.tr-shade {
157  background-color: #e0e0e0;
158}
159td.td-colsep { border-right: solid 1px; }
160td.td-rowsep { border-bottom: solid 1px; }
161thead { border-top: solid 2px; border-bottom: solid 2px; }
162tfoot { border-top: solid 2px; border-bottom: solid 2px; }
163
164/*
165 * GUI Compornent (Vine original)
166 */
167.guimenu {
168        color: MenuText;
169        background-color: Menu;
170        border-style: outset;
171        border-width: 2px;
172}
173
174.guimenuitem {
175        color: MenuText;
176        background-color: Menu;
177        border-style: outset;
178        border-width: 2px;
179}
180
181.guibutton {
182        color: ButtonText;
183        background-color: ButtonFace;
184        border-style: outset;
185        border-color: ButtonShadow;
186        border-width: 2px;
187}
188
189.keycap {
190        margin: 3px 3px; 
191        padding: 1px 5px 1px 5px;
192        border-width: 1px 2px 2px 1px; 
193        border-style: solid; 
194        border-color: #999; 
195        background-color: #F5F5F5; 
196        font-family: monospace;
197        border-radius: 2px;
198        -moz-border-radius: 2px;
199        -webkit-border-radius: 2px;
200}
201
202.table  .keycap {
203        border-style: none;
204}
205
Note: See TracBrowser for help on using the repository browser.