source: SRUAggregator/trunk/src/main/resources/assets/CLARIN.css @ 5931

Last change on this file since 5931 was 5931, checked in by emanuel.dima@uni-tuebingen.de, 9 years ago
  1. alpha12: better language filtering using detection, collections view improvements
File size: 7.6 KB
Line 
1@font-face {
2  font-family: 'Roboto';
3  font-style: normal;
4  font-weight: 400;
5  src: local("Roboto Regular"), local("Roboto-Regular"), url("fonts/Roboto_with_European_character_sets.woff") format("woff");
6}
7body {
8  font-family: "Roboto", sans-serif;
9  /*font-family: "Courier New";*/
10  -webkit-font-smoothing: antialiased;
11  -moz-osx-font-smoothing: grayscale;
12  color: #222;
13  /*font-size: 12px;*/
14  /*word-wrap: break-word;*/
15}
16
17a {
18  color: #806a52;
19  text-decoration: dotted !important;
20}
21a:hover, a:focus {
22  text-decoration: none !important;
23}
24a:visited {
25  /*color: #c0a37c;*/
26}
27
28div.navbar-header {
29  text-overflow: ellipsis;
30  overflow: hidden;
31}
32
33a.navbar-brand {
34  color: #806a52;
35  font-size: 1.6em;
36  text-overflow: ellipsis;
37  line-height: 1em;
38}
39
40h1, h2, h3, h4, h5, h6, label {
41  color: #666;
42  font-weight: normal;
43  line-height: 1.2em;
44}
45
46body, h1, h2, h3, h4, h5, h6 {
47  font-size-adjust: 0.5;
48}
49
50/* Based on http://typecast.com/blog/a-more-modern-scale-for-web-typography */
51#page {
52  font-size: 1em;
53  /* equivalent to 16px */
54  line-height: 1.25;
55  /* equivalent to 20px */
56}
57
58h1 {
59  font-size: 2em;
60  /* 2x body copy size = 32px */
61  line-height: 1.25;
62  /* 45px / 36px */
63  margin-top: 0px !important;
64  margin-bottom: 0px !important;
65}
66
67h2 {
68  font-size: 1.625em;
69  /* 1.625x body copy size = 26px */
70  line-height: 1.15384615;
71  /* 30px / 26px */
72}
73
74h3 {
75  font-size: 1.375em;
76  /* 1.375x body copy size = 22px */
77  line-height: 1.13636364;
78  /* 25px / 22px */
79}
80
81h4 {
82  font-size: 1.125em;
83  /* 1.125x body copy size = 18px */
84  line-height: 1.11111111;
85}
86
87blockquote {
88  font-size: 1.25em;
89  /* 20px / 16px */
90  line-height: 1.25;
91  /* 25px / 20px */
92}
93
94@media (min-width: 56.25em) {
95  h1 {
96    font-size: 3em;
97    /* 3x body copy size = 48px */
98    line-height: 1.05;
99    /* keep to a multiple of the 20px line height
100    and something more appropriate for display headings */
101  }
102
103  h2 {
104    font-size: 2.25em;
105    /* 2.25x body copy size = 36px */
106    line-height: 1.25;
107  }
108
109  h3 {
110    font-size: 1.75em;
111    /* 1.75x body copy size = 28px */
112    line-height: 1.25;
113  }
114}
115@media (min-width: 43.75em) {
116  #page {
117    font-size: 1em;
118    /* equivalent to 16px */
119    line-height: 1.375;
120    /* equivalent to 22px */
121  }
122
123  h1 {
124    font-size: 2.5em;
125    /* 2.5x body copy size = 40px */
126    line-height: 1.125;
127  }
128
129  h2 {
130    font-size: 2em;
131    /* 2x body copy size = 32px */
132    line-height: 1.25;
133  }
134
135  h3 {
136    font-size: 1.5em;
137    /* 1.5x body copy size = 24px */
138    line-height: 1.25;
139  }
140
141  h4 {
142    line-height: 1.22222222;
143    /* (22px / 18px */
144  }
145
146  blockquote {
147    font-size: 1.5em;
148    /* 24px / 16px = */
149    line-height: 1.45833333;
150    /* 35px / 24px */
151  }
152}
153p {
154  margin: 0 0 15px 0;
155}
156
157menu, ol, ul {
158  padding: 0 0 0 20px;
159}
160
161hr {
162  clear: both;
163}
164
165div.container {
166  z-index: -1 !important;
167}
168
169/*table.display {
170  border-collapse: collapse !important;
171  position: relative !important;
172  border-spacing: 0 !important;
173  border: 0px !important;
174  background-clip: padding-box;
175}
176table.display th, table.display td {
177  border: 0px !important;
178}
179table.display thead tr th {
180  background-color: #00406f !important;
181  border-collapse: collapse !important;
182  background-attachment: scroll !important;
183  color: #fff !important;
184}
185table.display thead tr th:first-child {
186  border-top-left-radius: 6px !important;
187  border-bottom-left-radius: 6px !important;
188  -webkit-border-top-left-radius: 6px !important;
189  -webkit-border-bottom-left-radius: 6px !important;
190  -moz-border-top-left-radius: 6px !important;
191  -moz-border-bottom-left-radius: 6px !important;
192}
193table.display thead tr {
194  padding: 7px 7px !important;
195  font-weight: bolder !important;
196  text-align: left !important;
197  border: 0px !important;
198}
199table.display thead tr th a {
200  color: #fff !important;
201  text-decoration: underline !important;
202}
203table.display thead tr th:last-child {
204  border-top-right-radius: 6px !important;
205  border-bottom-right-radius: 6px !important;
206  -webkit-border-top-right-radius: 6px !important;
207  -webkit-border-bottom-right-radius: 6px !important;
208  -moz-border-top-right-radius: 6px !important;
209  -moz-border-bottom-right-radius: 6px !important;
210}
211
212table tbody tr:nth-child(2n+1) td {
213  background-color: #e3e3e3 !important;
214}
215table tbody td:first-child {
216  -webkit-border-top-left-radius: 6px !important;
217  -webkit-border-bottom-left-radius: 6px !important;
218  -moz-border-top-left-radius: 6px !important;
219  -moz-border-bottom-left-radius: 6px !important;
220  border-top-left-radius: 6px !important;
221  border-bottom-left-radius: 6px !important;
222}
223table tbody td:last-child {
224  -webkit-border-top-right-radius: 6px !important;
225  -webkit-border-bottom-right-radius: 6px !important;
226  -moz-border-top-right-radius: 6px !important;
227  -moz-border-bottom-right-radius: 6px !important;
228  border-top-right-radius: 6px !important;
229  border-bottom-right-radius: 6px !important;
230}
231table tbody tr {
232  vertical-align: middle !important;
233}
234table tbody tr:last-child td:first-child {
235  -webkit-border-bottom-left-radius: 6px !important;
236  -moz-border-bottom-left-radius: 6px !important;
237  border-bottom-left-radius: 6px !important;
238}
239table tbody tr:last-child td:last-child {
240  -webkit-border-bottom-right-radius: 6px !important;
241  -moz-border-bottom-right-radius: 6px !important;
242  border-bottom-right-radius: 6px !important;
243}
244table tbody tr:last-child {
245  border-bottom: 1px solid #00406f !important;
246}
247
248table:not(.display) tr:first-child {
249  border-top: 1px solid #00406f !important;
250}
251table:not(.display) td, table:not(.display) th {
252  padding: 5px;
253}
254table:not(.display) th {
255  background-color: #e3e3e3;
256  border-right: 1px dotted black;
257}
258*/
259
260html body ul#nav ul, html body ul#nav ul li {
261  width: 200px;
262}
263
264html body ul#nav ul ul {
265  margin: 0 0 0 200px;
266}
267div#body {
268  min-height: 100%;
269  height: auto;
270  /* Pad top and bottom to prevent overflow over body div if using fixed-top navbar. */
271}
272
273div#footer {
274  background-color: #f5f5f5;
275  bottom: 0;
276  left: 0;
277  width: 100%;
278  border-top: 1px solid #e7e7e7;
279}
280div#footer div.container {
281  height: 100%;
282  display: flex;
283  flex-flow: row wrap;
284  justify-content: space-between;
285  align-items: center;
286  align-content: space-around;
287}
288div#footer div.container div#CLARIN_footer_left {
289  order: 1;
290  display: flex !important;
291  text-align: left;
292  vertical-align: middle;
293  margin: 0;
294  align-content: space-around;
295}
296div#footer div.container div#CLARIN_footer_middle {
297  order: 2;
298  display: flex !important;
299  text-align: center;
300  margin: auto;
301  align-content: space-around;
302}
303div#footer div.container div#CLARIN_footer_middle img {
304  display: inline-block;
305  max-width: 100%;
306  max-height: 100%;
307  overflow: hidden;
308}
309div#footer div.container div#CLARIN_footer_right {
310  order: 3;
311  text-align: right;
312  vertical-align: middle;
313  display: flex !important;
314  margin: 0;
315  align-content: space-around;
316}
317
318ul#CLARIN_header_right, div#CLARIN_footer_left, div#CLARIN_footer_right {
319  margin: 0px 4px 0 p x 4px;
320  color: #806a52;
321}
322ul#CLARIN_header_right :not(.glyphicon), div#CLARIN_footer_left :not(.glyphicon), div#CLARIN_footer_right :not(.glyphicon) {
323  font-size: 12px;
324  font-variant: small-caps;
325}
326ul#CLARIN_header_right a, div#CLARIN_footer_left a, div#CLARIN_footer_right a {
327  color: #806a52;
328  text-decoration: none;
329}
330ul#CLARIN_header_right a:hover, ul#CLARIN_header_right a:focus, div#CLARIN_footer_left a:hover, div#CLARIN_footer_left a:focus, div#CLARIN_footer_right a:hover, div#CLARIN_footer_right a:focus {
331  color: inherit !important;
332  text-decoration: none !important;
333}
334ul#CLARIN_header_right a:visited, div#CLARIN_footer_left a:visited, div#CLARIN_footer_right a:visited {
335  color: inherit !important;
336  text-decoration: none !important;
337}
Note: See TracBrowser for help on using the repository browser.