OLD | NEW |
---|---|
1 /* Reset */ | 1 /* Reset */ |
2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { | 2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { |
3 margin: 0; | 3 margin: 0; |
4 padding: 0; | 4 padding: 0; |
5 } | 5 } |
6 | 6 |
7 body { | 7 body { |
8 font-family: Georgia, serif; | 8 font-family: Georgia, serif; |
9 background: #e8e8e8; | 9 background: #e8e8e8; |
10 color: #333; | 10 color: #333; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 .page { | 92 .page { |
93 max-width: 1000px; | 93 max-width: 1000px; |
94 background: #fff; | 94 background: #fff; |
95 margin: 0 auto 22px auto; | 95 margin: 0 auto 22px auto; |
96 border: solid 1px #ccc; | 96 border: solid 1px #ccc; |
97 border-top: none; | 97 border-top: none; |
98 box-shadow: 0 0 50px #888; | 98 box-shadow: 0 0 50px #888; |
99 | 99 |
100 background-image: url('content-bg.png'); | 100 background-image: url('content-bg.png'); |
101 background-repeat: repeat-y; | 101 background-repeat: repeat-y; |
102 | |
103 position: relative; | |
102 } | 104 } |
103 | 105 |
104 .header { | 106 .header { |
105 background: #333; | 107 background: #333; |
106 background-image: url('header-bg.png'); | 108 background-image: url('header-bg.png'); |
107 height: 44px; | 109 height: 44px; |
108 color: hsl(0, 0%, 50%); | 110 color: hsl(0, 0%, 50%); |
109 font: 400 15px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | 111 font: 400 15px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
110 sans-serif; | 112 sans-serif; |
111 } | 113 } |
112 | 114 |
113 .header .logo { | 115 .header .logo { |
114 background-image: url('dart-logo-small.png'); | 116 background-image: url('dart-logo-small.png'); |
115 width: 66px; | 117 width: 66px; |
116 height: 44px; | 118 height: 44px; |
117 float: left; | 119 float: left; |
118 } | 120 } |
119 | 121 |
120 .header a { | 122 .header a { |
121 color: hsl(0, 0%, 80%); | 123 color: hsl(0, 0%, 80%); |
122 } | 124 } |
123 | 125 |
124 .header a:hover { | 126 .header a:hover { |
125 color: hsl(0, 0%, 100%); | 127 color: hsl(0, 0%, 100%); |
126 } | 128 } |
127 | 129 |
128 .header #search-box { | 130 .header #search-box { |
129 display: inline; | 131 display: inline; |
130 float: right; | 132 float: right; |
131 margin-right: 22px; | 133 margin-right: 11px; |
134 } | |
135 | |
136 .search-input, .drop-down { | |
137 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | |
138 sans-serif; | |
139 width: 300px; | |
140 } | |
141 | |
142 .drop-down { | |
143 visibility: hidden; | |
144 z-index: 1000; | |
145 position: absolute; | |
146 right: 10px; | |
147 top: 36px; | |
148 border: 1px #CCC solid; | |
149 background-color: white; | |
150 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
151 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
152 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
153 } | |
Lasse Reichstein Nielsen
2012/08/20 13:07:58
empty lines between declarations.
Johnni Winther
2012/08/23 10:19:50
Done.
| |
154 .drop-down-table { | |
155 width: 100%; | |
156 } | |
157 .drop-down-link-tr { | |
158 padding: 4px 0px; | |
159 cursor: pointer; | |
160 } | |
161 .drop-down-link-td { | |
162 border-bottom: 1px solid #EEE; | |
163 } | |
164 .drop-down-link-tr:hover { | |
165 background: #EEE; | |
166 color: #333; | |
167 } | |
168 .drop-down-link-select { | |
169 background: #15C; | |
170 color: white; | |
171 } | |
172 .drop-down-link-select:hover { | |
173 background: #2AF; | |
174 color: white; | |
175 } | |
176 .drop-down-link-kind, .drop-down-link-library { | |
177 font: 400 10px/10px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', | |
178 sans-serif; | |
179 } | |
180 .drop-down-link-library { | |
181 text-align: right; | |
182 } | |
183 .drop-down-link-highlight { | |
184 font-weight:bold; | |
132 } | 185 } |
133 | 186 |
134 .nav { | 187 .nav { |
135 float: left; | 188 float: left; |
136 width: 263px; /* 12 x 22px - 1 for border */ | 189 width: 263px; /* 12 x 22px - 1 for border */ |
137 padding: 0 22px; | 190 padding: 0 22px; |
138 overflow: hidden; | 191 overflow: hidden; |
139 background: #f4f4f4; | 192 background: #f4f4f4; |
140 border-right: solid 1px #ccc; | 193 border-right: solid 1px #ccc; |
141 } | 194 } |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
375 } | 428 } |
376 | 429 |
377 p { | 430 p { |
378 border-left: solid 4px purple; | 431 border-left: solid 4px purple; |
379 } | 432 } |
380 | 433 |
381 section { | 434 section { |
382 border-left: solid 4px gray; | 435 border-left: solid 4px gray; |
383 } | 436 } |
384 */ | 437 */ |
OLD | NEW |