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

Last change on this file since 6172 was 6172, checked in by emanuel.dima@uni-tuebingen.de, 9 years ago
  1. beta-44: more UI/css fixes (footer facelift), misc
File size: 2.8 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  -webkit-font-smoothing: antialiased;
10  -moz-osx-font-smoothing: grayscale;
11  color: black;
12}
13
14a {
15  color: #B27000;
16}
17a:hover, a:focus {
18  text-decoration: none;
19  color: #D08000;
20}
21
22div.navbar-header {
23  text-overflow: ellipsis;
24  overflow: hidden;
25}
26
27.navbar a.navbar-brand {
28  color: #036;
29}
30.navbar a.navbar-brand:hover {
31  color: #259;
32}
33
34#footer a {
35  color: #036;
36}
37#footer a:hover {
38  color: #259;
39}
40
41h1, h2, h3, h4, h5, h6, label {
42  color: #666;
43  font-weight: normal;
44  line-height: 1.2em;
45}
46
47body, h1, h2, h3, h4, h5, h6 {
48  font-size-adjust: 0.5;
49}
50
51/* Based on http://typecast.com/blog/a-more-modern-scale-for-web-typography */
52#page {
53  font-size: 1em;
54  /* equivalent to 16px */
55  line-height: 1.25;
56  /* equivalent to 20px */
57}
58
59h1 {
60  font-size: 2em;
61  /* 2x body copy size = 32px */
62  line-height: 1.25;
63  /* 45px / 36px */
64  margin-top: 0px !important;
65  margin-bottom: 0px !important;
66}
67
68h2 {
69  font-size: 1.625em;
70  /* 1.625x body copy size = 26px */
71  line-height: 1.15384615;
72  /* 30px / 26px */
73}
74
75h3 {
76  font-size: 1.375em;
77  /* 1.375x body copy size = 22px */
78  line-height: 1.13636364;
79  /* 25px / 22px */
80}
81
82h4 {
83  font-size: 1.125em;
84  /* 1.125x body copy size = 18px */
85  line-height: 1.11111111;
86}
87
88blockquote {
89  font-size: 1.25em;
90  /* 20px / 16px */
91  line-height: 1.25;
92  /* 25px / 20px */
93}
94
95@media (min-width: 56.25em) {
96  h1 {
97    font-size: 3em;
98    /* 3x body copy size = 48px */
99    line-height: 1.05;
100    /* keep to a multiple of the 20px line height
101    and something more appropriate for display headings */
102  }
103
104  h2 {
105    font-size: 2.25em;
106    /* 2.25x body copy size = 36px */
107    line-height: 1.25;
108  }
109
110  h3 {
111    font-size: 1.75em;
112    /* 1.75x body copy size = 28px */
113    line-height: 1.25;
114  }
115}
116@media (min-width: 43.75em) {
117  #page {
118    font-size: 1em;
119    /* equivalent to 16px */
120    line-height: 1.375;
121    /* equivalent to 22px */
122  }
123
124  h1 {
125    font-size: 2.5em;
126    /* 2.5x body copy size = 40px */
127    line-height: 1.125;
128  }
129
130  h2 {
131    font-size: 2em;
132    /* 2x body copy size = 32px */
133    line-height: 1.25;
134  }
135
136  h3 {
137    font-size: 1.5em;
138    /* 1.5x body copy size = 24px */
139    line-height: 1.25;
140  }
141
142  h4 {
143    line-height: 1.22222222;
144    /* (22px / 18px */
145  }
146
147  blockquote {
148    font-size: 1.5em;
149    /* 24px / 16px = */
150    line-height: 1.45833333;
151    /* 35px / 24px */
152  }
153}
154p {
155  margin: 0 0 15px 0;
156}
157
158menu, ol, ul {
159  padding: 0 0 0 20px;
160}
161
162hr {
163  clear: both;
164}
165
166html body ul#nav ul, html body ul#nav ul li {
167  width: 200px;
168}
169
170html body ul#nav ul ul {
171  margin: 0 0 0 200px;
172}
173
174#footer {
175  border-top: 1px solid #e7e7e7;
176  background-color: #f8f8f8;
177}
Note: See TracBrowser for help on using the repository browser.