aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/css')
-rw-r--r--themes/default/css/knacss.css1
-rw-r--r--themes/default/css/messages.css75
-rw-r--r--themes/default/css/print.css48
-rw-r--r--themes/default/css/style-default.css59
-rw-r--r--themes/default/css/style.css321
5 files changed, 504 insertions, 0 deletions
diff --git a/themes/default/css/knacss.css b/themes/default/css/knacss.css
new file mode 100644
index 00000000..ca0696b7
--- /dev/null
+++ b/themes/default/css/knacss.css
@@ -0,0 +1 @@
html{font-size:62.5%}body{font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:1.4em;line-height:1.5;color:#000;background-color:#FFF}p,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure,hgroup{margin:.75em 0 0;font-size:1em;line-height:1.5}h1,.h1-like{margin:.8077em 0 0 0;font-size:1.8571em;font-weight:normal;line-height:1.6154em}h2,.h2-like{margin:.875em 0 0 0;font-size:1.7143em;font-weight:normal;line-height:1.75em}h3,.h3-like{margin:.9545em 0 0 0;font-size:1.5714em;font-weight:normal;line-height:1.909em}h4,.h4-like{margin:1.05em 0 0 0;font-size:1.4286em;font-weight:normal;line-height:1.05em}h5,.h5-like{margin:1.1667em 0 0 0;font-size:1.2857em;font-weight:normal;line-height:1.1667em}h6,.h6-like{margin:1.3125em 0 0 0;font-size:1.1429em;font-weight:normal;line-height:1.3125em}.smaller{font-size:.7143em}.small{font-size:.8571em}.big{font-size:1.1429em}.bigger{font-size:1.2857em}.biggest{font-size:1.4286em}html,body,textarea,figure,label{margin:0;padding:0}ul,ol{padding-left:2em}code,pre,samp,kbd{font-family:consolas,'DejaVu Sans Mono',courier,monospace;line-height:1em;white-space:pre-wrap}code,kbd,mark{border-radius:2px}em{font-style:italic}strong{font-weight:bold}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;color:#B11;background:rgba(0,0,0,.04)}mark{padding:2px 4px;background:#FF0}table{margin-bottom:1.5em}p:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}li p,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto}img{height:auto;vertical-align:middle}#map_canvas img,.gmnoprint img{max-width:none}a img{border:0}body > script{display:none !important}.skip-links{position:absolute}.skip-links a{position:absolute;left:-7000px;padding:.5em;text-decoration:none;color:#FFF;background:#000}.skip-links a:focus{position:static}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mod,.item{overflow:hidden}.row{display:table;width:100%;table-layout:fixed}.row > *,.col{display:table-cell;vertical-align:top}.clear,.line,.row{clear:both}.clearfix:after,.line:after,.mod:after{content:"";display:table;clear:both}.left{float:left}img.left{margin-right:1em}.right{float:right}img.right{margin-left:1em}img.left,img.right{margin-bottom:5px}.center{margin-right:auto;margin-left:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.inbl{display:inline-block;margin-right:-.25em;vertical-align:top}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.m-reset,.ma0{margin:0 !important}.p-reset,.pa0{padding:0 !important}.ma1,.mas{margin:10px !important}.ma2,.mam{margin:20px !important}.ma3,.mal{margin:30px !important}.pa1,.pas{padding:10px}.pa2,.pam{padding:20px}.pa3,.pal{padding:30px}.mt0,.mtn{margin-top:0 !important}.mt1,.mts{margin-top:10px !important}.mt2,.mtm{margin-top:20px !important}.mt3,.mtl{margin-top:30px !important}.mr0,.mrn{margin-right:0}.mr1,.mrs{margin-right:10px}.mr2,.mrm{margin-right:20px}.mr3,.mrl{margin-right:30px}.mb0,.mbn{margin-bottom:0 !important}.mb1,.mbs{margin-bottom:10px !important}.mb2,.mbm{margin-bottom:20px !important}.mb3,.mbl{margin-bottom:30px !important}.ml0,.mln{margin-left:0}.ml1,.mls{margin-left:10px}.ml2,.mlm{margin-left:20px}.ml3,.mll{margin-left:30px}.pt0,.ptn{padding-top:0}.pt1,.pts{padding-top:10px}.pt2,.ptm{padding-top:20px}.pt3,.ptl{padding-top:30px}.pr0,.prn{padding-right:0}.pr1,.prs{padding-right:10px}.pr2,.prm{padding-right:20px}.pr3,.prl{padding-right:30px}.pb0,.pbn{padding-bottom:0}.pb1,.pbs{padding-bottom:10px}.pb2,.pbm{padding-bottom:20px}.pb3,.pbl{padding-bottom:30px}.pl0,.pln{padding-left:0}.pl1,.pls{padding-left:10px}.pl2,.plm{padding-left:20px}.pl3,.pll{padding-left:30px}.visually-hidden{position:absolute;left:-7000px;overflow:hidden}[dir=rtl] .visually-hidden{right:-7000px;left:auto}.desktop-hidden{display:none}form,fieldset{border:none}input,button,select,label,.btn{font-family:inherit;vertical-align:middle}textarea{font-family:inherit;resize:vertical}.ie67 .clearfix,.ie67 .line,.ie67 .mod,.ie67 .row,.ie67 .col{zoom:1}.ie67 .btn,.ie67 .col,.ie67 .inbl{display:inline;zoom:1}.ie8 img{width:auto}@media print{p,blockquote{orphans:2;widows:2}blockquote,ul,ol{page-break-inside:avoid}h1,h2,h3,caption{page-break-after:avoid}}@media(orientation:landscape)and(max-device-width:768px){html,body{-webkit-text-size-adjust:100%}}[class*=grid] > *{float:left}[class*=grid] > * + *{margin-left:2%}.grid2 > *{width:49%}.grid3 > *{width:32%}.grid4 > *{width:23.5%}.grid5 > *{width:18.4%}.grid6 > *{width:15%}.grid2-1 > *:first-child,.grid1-2 > * + *{width:66%}.grid1-2 > *:first-child,.grid2-1 > * + *{width:32%}.grid1-3 > *:first-child,.grid3-1 > * + *{width:23.5%}.grid3-1 > *:first-child,.grid1-3 > * + *{width:74.5%}table,.table{max-width:100%;border-collapse:collapse;table-layout:fixed;vertical-align:top}table{width:100%}.table{display:table}caption{padding:10px;font-style:italic;color:#555}table{border:1px solid #CCC}tr > * + *{border-left:1px solid #CCC}th,td{padding:.3em .8em;border-bottom:1px solid #CCC;text-align:left}td{color:#333}.alternate{border:0}.alternate tbody{border:1px solid #CCC}.alternate thead tr > * + *{border-left:0}.alternate tbody tr > * + *{border-left:1px solid #CCC}.alternate-vert{border:0;border-right:1px solid #CCC}.alternate-vert tr >:first-child{border-bottom:0}.alternate-vert tr > * + *{border-top:1px solid #CCC}.striped tbody tr:nth-child(odd){background:#EEE;background:rgba(0,0,0,.05)}.striped-vert tr >:first-child{background:#EEE;background:rgba(0,0,0,.05)}.btn{display:inline-block}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}button,input,select{margin:0;font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:100%;vertical-align:middle}textarea{min-height:5em;overflow:auto;font-size:1.75em;vertical-align:top;resize:vertical}}ol.styled{counter-reset:styled}ol.styled > li{counter-increment:styled;margin-bottom:.3em;list-style-type:none}ol.styled > li:before{content:counter(styled);display:inline-block;width:1em;height:1em;margin-right:.4em;padding:2px;border-radius:50%;text-align:center;text-indent:-.1em;font-size:.9em;line-height:1;vertical-align:middle;color:#FFF;background:rgba(0,0,0,.5)}@media(min-width:1280px){.large-hidden,.tablet-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;width:100% !important;table-layout:fixed}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.large-ma0,.large-man{margin:0 !important}}@media(max-width:768px){.w60,.w66,.w70,.w75,.w80,.w90,.w100,.w600p,.w700p,.w800p,.w960p,.mw960p,.medium-wauto{width:auto}.medium-hidden,.tablet-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;width:100% !important;table-layout:fixed}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.medium-ma0,.medium-man{margin:0 !important}.grid4 > *{width:49% !important}.grid4 >:first-child + * + *{margin-left:0 !important}.grid6 > *{width:32% !important}.grid6 >:first-child + * + * + *{margin-left:0 !important}}@media(max-width:640px){.mod,.item,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.w30,.w33,.w40,.w50,.w300p,.w400p,.w500p{width:auto}.row{display:block !important;width:100% !important}.tiny-hidden,.phone-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table;width:100% !important;table-layout:fixed}.tiny-col{display:table-cell;vertical-align:top}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.tiny-ma0,.tiny-man{margin:0 !important}} \ No newline at end of file
diff --git a/themes/default/css/messages.css b/themes/default/css/messages.css
new file mode 100644
index 00000000..daed6d72
--- /dev/null
+++ b/themes/default/css/messages.css
@@ -0,0 +1,75 @@
1.messages {
2 display: block;
3 clear: both;
4 width: 400px auto;
5 margin: 10px auto 10px;
6 padding: 10px 0;
7 -moz-border-radius: 4px;
8 border-radius: 4px;
9}
10
11.messages a.closeMessage {
12 display: none;
13 float: right;
14 width: 16px;
15 height: 16px;
16 margin: -14px -8px 0 0;
17 background: url(../img/messages/close.png) no-repeat;
18}
19
20/*.messages:hover a.closeMessage { visibility:visible; }*/
21
22.messages p {
23 margin: 3px 0 3px 10px !important;
24 padding: 0 10px 0 23px !important;
25 font-size: 14px;
26 line-height: 16px;
27}
28
29.messages.error {
30 border: 1px solid #c42608;
31 color: #c00 !important;
32 background: #fff0ef;
33}
34
35.messages.error p {
36 color: #c00 !important;
37 background: url(../img/messages/cross.png) no-repeat 0 50%;
38}
39
40.messages.success {
41 border: 1px solid #6dc70c;
42 background: #e0fbcc;
43}
44
45.messages.success p {
46 color: #2b6301 !important;
47 background: url(../img/messages/tick.png) no-repeat 0 50%;
48}
49
50.messages.warning {
51 border: 1px solid #ebcd41;
52 color: #000;
53 background: #fffcd3;
54}
55
56.messages.warning p {
57 color: #5f4e01;
58 background: url(../img/messages/warning.png) no-repeat 0 50%;
59}
60
61.messages.information,
62.messages.info {
63 border: 1px solid #82aee7;
64 background: #dfebfb;
65}
66
67.messages.information p,
68.messages.info p {
69 color: #064393;
70 background: url(../img/messages/help.png) no-repeat 0 50%;
71}
72
73.messages.information a {
74 text-decoration: underline;
75}
diff --git a/themes/default/css/print.css b/themes/default/css/print.css
new file mode 100644
index 00000000..9aefa779
--- /dev/null
+++ b/themes/default/css/print.css
@@ -0,0 +1,48 @@
1/* ### Layout ### */
2
3body {
4 font-family: Serif;
5 background-color: #fff;
6}
7
8@page {
9 margin: 1cm;
10}
11
12img {
13 max-width: 100% !important;
14}
15
16/* ### Content ### */
17
18/* Hide useless blocks */
19body > header,
20#links,
21#sort,
22body > footer,
23.top_link,
24div.tools,
25header div,
26.messages,
27.entrie + .results {
28 display: none !important;
29}
30
31article {
32 border: none !important;
33}
34
35/* Add URL after links */
36.vieworiginal a:after {
37 content: " (" attr(href) ")";
38}
39
40/* Add explanation after abbr */
41abbr[title]:after {
42 content: " (" attr(title) ")";
43}
44
45/* Change border on current pager item */
46.pagination span.current {
47 border-style: dashed;
48}
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css
new file mode 100644
index 00000000..3377a75b
--- /dev/null
+++ b/themes/default/css/style-default.css
@@ -0,0 +1,59 @@
1a.back span {
2 background-image: url('../img/default/left.png');
3}
4
5a.top span {
6 background-image: url('../img/default/top.png');
7}
8
9a.fav span,
10a.fav-off span:hover {
11 background-image: url('../img/default/star-on.png');
12}
13
14a.fav span:hover,
15a.fav-off span {
16 background-image: url('../img/default/star-off.png');
17}
18
19a.archive span,
20a.archive-off span:hover {
21 background-image: url('../img/default/checkmark-on.png');
22}
23
24a.archive span:hover,
25a.archive-off span {
26 background-image: url('../img/default/checkmark-off.png');
27}
28
29a.twitter span {
30 background-image: url('../img/default/twitter.png');
31}
32
33a.shaarli span {
34 background-image: url('../img/default/shaarli.png');
35}
36
37a.flattr span {
38 background-image: url('../img/default/flattr.png');
39}
40
41a.email span {
42 background-image: url('../img/default/envelop.png');
43}
44
45a.delete span {
46 background-image: url('../img/default/remove.png');
47}
48
49a.link span {
50 background-image: url('../img/default/link.png');
51}
52
53a.bad-display span {
54 background-image: url('../img/default/bad-display.png');
55}
56
57a.reading-time span {
58 background-image: url('../img/default/clock.png');
59}
diff --git a/themes/default/css/style.css b/themes/default/css/style.css
new file mode 100644
index 00000000..eb04f0c4
--- /dev/null
+++ b/themes/default/css/style.css
@@ -0,0 +1,321 @@
1body {
2 margin: 10px;
3 font-family: 'Roboto',Verdana,Geneva,sans-serif;
4 font-size: 16px;
5 color: #000;
6}
7
8header {
9 text-align: center;
10}
11
12header h1 {
13 font-size: 1.3em;
14}
15
16a,
17a:hover,
18a:visited {
19 color: #000;
20}
21
22.bouton {
23 border: none;
24 border-radius: 2px;
25 color: #fff;
26 background-color: #000;
27}
28
29.bouton:hover {
30 color: #f1f1f1;
31 background-color: #222;
32 cursor: pointer;
33}
34
35#main {
36 margin: 0 auto;
37}
38
39#main #links {
40 padding: 0;
41 text-align: center;
42 font-size: 0.9em;
43 list-style-type: none;
44}
45
46#main #links li {
47 display: inline;
48}
49
50#main #links li .current {
51 -webkit-border-radius: 2px;
52 border-radius: 2px;
53 color: #fff;
54 background-color: #000;
55}
56
57#main #sort {
58 padding: 0;
59 text-align: center;
60 list-style-type: none;
61 opacity: 0.5;
62}
63
64#main #sort li {
65 display: inline;
66 font-size: 0.9em;
67}
68
69#main #sort li + li {
70 margin-left: 10px;
71}
72
73#main #sort a {
74 padding: 2px 2px 0;
75 vertical-align: middle;
76}
77
78#main #sort img {
79 vertical-align: baseline;
80}
81#main #sort img:hover {
82 cursor: pointer;
83}
84
85#links a {
86 padding: 5px 10px;
87 text-decoration: none;
88}
89
90#links a:hover {
91 -webkit-border-radius: 2px;
92 border-radius: 2px;
93 color: #f1f1f1;
94 background-color: #040707;
95}
96
97/*** ***/
98
99/*** LINKS DISPLAY ***/
100
101#main .tool {
102 text-decoration: none;
103 cursor: pointer;
104}
105
106#main #content {
107 margin-top: 20px;
108}
109
110#main #content h2 {
111 text-decoration: none;
112 font-size: 1.3em;
113}
114
115#main #content .entrie {
116 margin-top: 15px;
117 padding-bottom: 15px;
118 border-bottom: 1px dashed #222;
119 overflow: hidden;
120}
121
122/* First entry */
123#main #content .results + .entrie {
124 clear: both;
125 margin-top: 0;
126}
127
128#main .entrie .tools {
129 float: right;
130 text-align: right;
131 list-style-type: none;
132 opacity: 0.5;
133}
134
135#main .entrie .tools .tool span {
136 display: inline-block;
137 width: 16px;
138 height: 16px;
139 /* Hide textual content */
140 overflow: hidden;
141 text-align: left;
142 text-indent: -9999px;
143}
144
145/*** ***/
146
147/*** ARTICLE PAGE ***/
148
149#article {
150 margin: 0 auto;
151}
152
153#article header {
154 border-bottom: 1px solid #222;
155}
156
157#article header {
158 text-align: left;
159}
160
161#article header h1 small {
162 float: right;
163 font-size: 0.6em;
164}
165
166#article header a {
167 text-decoration: none;
168}
169
170.backhome {
171 display: inline;
172}
173
174.results {
175 padding: 15px 0;
176 overflow: hidden;
177}
178
179.nb-results {
180 float: left;
181 font-size: 0.9em;
182 line-height: 24px;
183 vertical-align: middle;
184}
185
186#article_toolbar {
187 position: fixed;
188 bottom: 0;
189 left: 0;
190 width: 100%;
191 height: 50px;
192 padding-top: 17px;
193 text-align: center;
194 color: #fff;
195 opacity: 0.8;
196 background: #fff;
197}
198
199#article_toolbar li {
200 display: inline;
201 padding-right: 30px;
202}
203
204#article_toolbar .tool {
205 padding: 0 2px;
206}
207
208#article_toolbar .tool span {
209 display: inline-block;
210 width: 16px;
211 height: 16px;
212 /* Hide textual content */
213 overflow: hidden;
214 text-align: left;
215 text-indent: -9999px;
216}
217
218/*** ***/
219
220/*** PAGINATION ***/
221
222.pagination {
223 float: right;
224 text-align: right;
225}
226
227.pagination a {
228 height: 25px;
229 margin: 2px;
230 padding: 4px 8px;
231 border: 1px solid #d5d5d5;
232 text-decoration: none;
233 font-size: 11px;
234 font-weight: bold;
235 color: #333;
236}
237
238.pagination a:hover,
239.pagination a:active {
240 background-color: #efefef;
241}
242
243.pagination .current {
244 height: 25px;
245 margin: 2px;
246 padding: 4px 8px;
247 border: 1px solid #d5d5d5;
248 text-decoration: none;
249 font-size: 11px;
250 font-weight: bold;
251 color: #000;
252 background-color: #ccc;
253}
254
255.pagination .disabled {
256 display: none;
257}
258
259#bookmarklet {
260 padding: 5px;
261 border: 1px dashed #808080;
262 background: #fff;
263 cursor: move;
264}
265
266.top_link {
267 display: none;
268 z-index: 2000;
269 position: fixed;
270 right: 15px;
271 bottom: 15px;
272 padding: 20px;
273 -webkit-border-radius: 40px;
274 -moz-border-radius: 40px;
275 border-radius: 40px;
276 opacity: 0.9;
277 background: #ccc;
278}
279
280footer {
281 clear: both;
282}
283
284.reading-time {
285 font-size: 0.8em;
286}
287
288#inputform {
289 display: none;
290 margin-top: 5px;
291 margin-right: auto;
292 margin-left: auto;
293 padding-bottom: 5px;
294 max-width: 300px;
295 border-radius: 3px;
296 text-align: center;
297 color: #fff;
298 opacity: 0.8;
299 background-color: rgba(0,0,0,0.9);
300}
301
302a.back span,
303a.top span,
304a.fav span,
305a.fav span:hover,
306a.fav-off span,
307a.fav-off span:hover,
308a.archive span,
309a.archive span:hover,
310a.archive-off span,
311a.archive-off span:hover,
312a.twitter span,
313a.shaarli span,
314a.flattr span,
315a.email span,
316a.delete span,
317a.link span,
318a.bad-display span,
319a.reading-time span {
320 background-repeat: no-repeat;
321} \ No newline at end of file