tinycm view style.css @ rev 69

small CSS change
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 02:26:38 2014 +0200 (2014-04-24)
parents c9ab61b3774a
children 4418f0315c8e
line source
1 /* CSS style for SliTaz Bugs/TinyCM */
3 html { min-height: 102%; }
4 body { font: 13px sans-serif, vernada, arial; margin: 0; }
5 h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
6 h1 a { color: #fff; text-decoration: none; }
7 h2 { color: #444; } h3 { color: #666; font-size: 140%; }
8 a { text-decoration: underline; color: #215090; }
9 a:hover { text-decoration: none; }
10 img { border: 0pt none; vertical-align: middle; }
11 pre {
12 overflow: auto;
13 font-size: 98%;
14 }
15 textarea, table { width: 100%; }
16 thead { font-weight: bold; }
18 /* Header */
20 #header {
21 /*background: #351a0a;*/
22 background: #333;
23 height: 40px;
24 border-bottom: 8px solid #cfcfcf;
25 }
27 #header h1 {
28 margin: 0;
29 padding: 8px 0 0 42px;
30 width: 250px;
31 }
33 #header h1 a {
34 color: white;
35 text-decoration: none;
36 font-size: 20px;
37 font-style: italic;
38 }
40 #header h1 a:hover {
41 color: #cfcfcf;
42 }
44 /* Header links */
46 #network {
47 float: right;
48 padding: 12px 5px 0;
49 font-size: 12px;
50 margin-right: 100px;
51 }
53 #network a {
54 padding: 0 4px;
55 color: #fff;
56 font-weight: bold;
57 text-decoration: none;
58 }
60 #network a:hover, #user a:hover { color: #cfcfcf; }
62 /* Logo */
64 #logo {
65 background: url(images/logo.png) no-repeat left;
66 position: absolute;
67 float: left;
68 left: 0px;
69 top: 0px;
70 width: 40px;
71 height: 40px;
72 }
74 /* Login and user box */
76 #login {
77 width: 240px;
78 float: left;
79 height: 120px;
80 }
82 #login input[type="text"], #login input[type="password"] {
83 width: 200px; }
85 #login input[type="submit"] { float: none; }
86 #login p { display: inline; }
88 #signup input[type="text"], #signup input[type="password"] {
89 width: 400px; }
91 #user {
92 background-color: #222;
93 padding: 4px;
94 width: 84px;
95 float: right;
96 font-size: 12px;
97 position: absolute;
98 right: 10px;
99 top: 6px;
100 }
101 #user a { padding: 0 2px; color: #fff;
102 font-weight: bold; text-decoration: none; }
104 #account-info { width: 380px; height: 120px; float: right; }
106 /* Languages */
108 #lang {
109 position: absolute;
110 right: 0;
111 top: 48px;
112 padding: 6px;
113 font-size: 12px;
114 }
116 #lang a {
117 text-decoration: none;
118 padding: 0 2px;
119 }
121 #lang a:hover {
122 text-decoration: underline;
123 }
125 /* Search */
127 #search {
128 position: absolute;
129 right: 20px;
130 top: 72px;
131 }
133 #search input[type="text"] { width: 180px; }
135 /* Content */
137 #content {
138 margin: 40px auto;
139 padding: 0 20px;
140 text-align: justify;
141 max-width: 680px;
142 }
144 #edit textarea { width: 100%; height: 240px; background: #f8f8f8; }
145 #edit a { text-decoration: none; }
147 .box, pre, #login, #account-info {
148 background-color: #f8f8f8;
149 border: 1px solid #ddd;
150 padding: 10px;
151 }
153 pre img { margin: 4px 4px 4px 0px; }
155 .error { color: red; }
156 .ok { color: green; }
157 .date { color: #666; font-size: 96%; }
159 /* Progress bar */
161 .pct { background: #9dff4a; padding: 2px 4px; }
163 .pctbar {
164 margin: 0;
165 color: #666;
166 background: #f1f1f1;
167 border: 1px solid #ddd;
168 overflow: hidden;
169 clear: both;
170 }
172 /* Form */
174 form { display: inline; }
175 textarea { border: 2px solid #ccc; padding: 4px; width: 100%; }
176 select { min-width: 180px; }
177 input[type="submit"], input[type="text"], input[type="password"],
178 select, #tools a {
179 color: #444444;
180 border: 1px solid #cccccc;
181 padding: 4px;
182 margin: 4px 0px;
183 font-size: 14px;
184 line-height: 1.2em;
185 background-image: -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
186 background-image: -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
187 -webkit-appearance: none;
188 -webkit-padding-end: 12px;
189 -webkit-padding-start: 6px;
190 }
192 input[type="text"], input[type="password"] {
193 background: #fefefe; border: 2px solid #ccc;
194 width: 100%; }
195 /*input[type="file"] { border: 2px solid #ddd; }*/
196 /*input[type="checkbox"] { background: #fefefe; }*/
198 /* Be compatible with old FF and Webkit version. */
199 input[type="submit"] {
200 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
201 -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
202 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
203 }
205 input[type="submit"]:hover, #tools a:hover {
206 cursor: pointer;
207 color: black;
208 }
210 select {
211 background-image: url(images/down.png),
212 -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
213 background-position: center right;
214 background-repeat: no-repeat;
215 }
217 #tools {
218 /*position: absolute;
219 top: 72px;*/
220 padding-top: 10px;
221 margin: 20px 0px;
222 }
223 #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
225 /* Round corner */
227 pre, .button, .pctbar, .box, #login, #account-info, #user, img,
228 input, textarea, select, #tools a {
229 -moz-border-radius: 4px;
230 -webkit-border-radius: 4px;
231 border-radius: 4px;
232 }
234 /* notes */
236 .noteclassic,.noteimportant,.notewarning,.notetip {
237 margin:2em;
238 margin-left:auto;
239 margin-right:auto;
240 width:70% !important;
241 min-height:40px;
242 clear:both;
243 text-align:justify;
244 vertical-align:middle;
245 border-collapse:collapse;
246 padding:15px 20px 15px 80px;
247 background-position:20px 50%;
248 background-repeat:no-repeat;
249 -moz-border-radius:20px;
250 -khtml-border-radius:20px;
251 border-radius:20px;
252 }
254 .noteclassic {
255 background-color:#eef;
256 background-image:url(images/note.png);
257 }
259 .noteimportant {
260 background-color:#ffc;
261 background-image:url(images/important.png);
262 }
264 .notewarning {
265 background-color:#fdd;
266 background-image:url(images/warning.png);
267 }
269 .notetip {
270 background-color:#dfd;
271 background-image:url(images/tip.png);
272 }
274 /* Footer */
276 #footer {
277 text-align: center;
278 padding: 20px;
279 border-top: 1px solid #ddd;
280 font-size: 90%;
281 color: #888;
282 }
284 #footer a { padding: 0 2px; color: #888; text-decoration: none; }
285 #footer a:hover { text-decoration: underline; }
287 /* Plugins CSS */
289 /* Blog */
290 .post-tools {
291 border-top: 1px dotted #ddd;
292 border-bottom: 1px dotted #ddd;
293 padding: 4px 0; }
294 .post-tools a { text-decoration: none; }
295 .post-tools a:hover { text-decoration: underline; }
297 /* Forum */
298 #hashtags { font-size: 16px; font-weight: bold; }
299 #hashtags a { text-decoration: none; padding: 0 4px; }
300 .topic { padding: 6px; margin: 4px; }
301 .topic span a { text-decoration: none; color: #666;
302 font-weight: bold; padding-left: 2px; }
303 .forum-msg { background-color: #eee; padding: 10px;
304 border: 2px solid #ddd; width: 98%;}