diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 10:41:26 -0700 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 10:41:26 -0700 |
commit | 01c0e050ad8eca54f115dfa21db99e4f61ab7ca7 (patch) | |
tree | e1bdacb68b3a56644f4525974844dd954d6e3c6b /tpl/css | |
parent | da2c5d6fc33587c775a7d8a738c2c18de41f83b2 (diff) | |
parent | 339d510fda0a43b08981309f7540acedf3a4976c (diff) | |
download | wallabag-01c0e050ad8eca54f115dfa21db99e4f61ab7ca7.tar.gz wallabag-01c0e050ad8eca54f115dfa21db99e4f61ab7ca7.tar.zst wallabag-01c0e050ad8eca54f115dfa21db99e4f61ab7ca7.zip |
Merge pull request #104 from inthepoche/twig
Twig version on dev branch
Diffstat (limited to 'tpl/css')
-rw-r--r-- | tpl/css/knacss.css | 1 | ||||
-rwxr-xr-x | tpl/css/messages.css | 13 | ||||
-rw-r--r-- | tpl/css/style-light.css | 53 | ||||
-rw-r--r-- | tpl/css/style.css | 244 |
4 files changed, 311 insertions, 0 deletions
diff --git a/tpl/css/knacss.css b/tpl/css/knacss.css new file mode 100644 index 00000000..ca0696b7 --- /dev/null +++ b/tpl/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/tpl/css/messages.css b/tpl/css/messages.css new file mode 100755 index 00000000..9222bb88 --- /dev/null +++ b/tpl/css/messages.css | |||
@@ -0,0 +1,13 @@ | |||
1 | .messages { width: 400px; -moz-border-radius: 4px; border-radius: 4px; display: block; padding: 10px 0; margin: 10px auto 10px; clear: both; } | ||
2 | .messages a.closeMessage { margin: -14px -8px 0 0; display:none; width: 16px; height: 16px; float: right; background: url(../img/messages/close.png) no-repeat; } | ||
3 | /*.messages:hover a.closeMessage { visibility:visible; }*/ | ||
4 | .messages p { margin: 3px 0 3px 10px !important; padding: 0 10px 0 23px !important; font-size: 14px; line-height: 16px; } | ||
5 | .messages.error { border: 1px solid #C42608; color: #c00 !important; background: #FFF0EF; } | ||
6 | .messages.error p { background: url(../img/messages/cross.png ) no-repeat 0px 50%; color:#c00 !important; } | ||
7 | .messages.success {background: #E0FBCC; border: 1px solid #6DC70C; } | ||
8 | .messages.success p { background: url(../img/messages/tick.png) no-repeat 0px 50%; color: #2B6301 !important; } | ||
9 | .messages.warning { background: #FFFCD3; border: 1px solid #EBCD41; color: #000; } | ||
10 | .messages.warning p { background: url(../img/messages/warning.png ) no-repeat 0px 50%; color: #5F4E01; } | ||
11 | .messages.information, .messages.info { background: #DFEBFB; border: 1px solid #82AEE7; } | ||
12 | .messages.information p, .messages.info p { background: url(../img/messages/help.png ) no-repeat 0px 50%; color: #064393; } | ||
13 | .messages.information a { text-decoration: underline; } \ No newline at end of file | ||
diff --git a/tpl/css/style-light.css b/tpl/css/style-light.css new file mode 100644 index 00000000..9ea7955a --- /dev/null +++ b/tpl/css/style-light.css | |||
@@ -0,0 +1,53 @@ | |||
1 | |||
2 | a.back span { | ||
3 | background: url('../img/light/left.png') no-repeat; | ||
4 | } | ||
5 | |||
6 | a.top span { | ||
7 | background: url('../img/light/top.png') no-repeat; | ||
8 | } | ||
9 | |||
10 | |||
11 | a.fav span { | ||
12 | background: url('../img/light/star-on.png') no-repeat; | ||
13 | } | ||
14 | |||
15 | a.fav span:hover { | ||
16 | background: url('../img/light/star-off.png') no-repeat; | ||
17 | } | ||
18 | |||
19 | a.fav-off span { | ||
20 | background: url('../img/light/star-off.png') no-repeat; | ||
21 | } | ||
22 | |||
23 | a.fav-off span:hover { | ||
24 | background: url('../img/light/star-on.png') no-repeat; | ||
25 | } | ||
26 | |||
27 | a.archive span { | ||
28 | background: url('../img/light/checkmark-on.png') no-repeat; | ||
29 | } | ||
30 | |||
31 | a.archive span:hover { | ||
32 | background: url('../img/light/checkmark-off.png') no-repeat; | ||
33 | } | ||
34 | |||
35 | a.archive-off span { | ||
36 | background: url('../img/light/checkmark-off.png') no-repeat; | ||
37 | } | ||
38 | |||
39 | a.archive-off span:hover { | ||
40 | background: url('../img/light/checkmark-on.png') no-repeat; | ||
41 | } | ||
42 | |||
43 | a.twitter span { | ||
44 | background: url('../img/light/twitter.png') no-repeat; | ||
45 | } | ||
46 | |||
47 | a.email span { | ||
48 | background: url('../img/light/envelop.png') no-repeat; | ||
49 | } | ||
50 | |||
51 | a.delete span { | ||
52 | background: url('../img/light/remove.png') no-repeat; | ||
53 | } \ No newline at end of file | ||
diff --git a/tpl/css/style.css b/tpl/css/style.css new file mode 100644 index 00000000..d23c1896 --- /dev/null +++ b/tpl/css/style.css | |||
@@ -0,0 +1,244 @@ | |||
1 | body { | ||
2 | font-size: 16px; | ||
3 | font-family: 'Roboto', sans-serif; | ||
4 | margin: 10px; | ||
5 | } | ||
6 | |||
7 | header { | ||
8 | text-align: center; | ||
9 | } | ||
10 | |||
11 | header h1 { | ||
12 | font-size: 1.3em; | ||
13 | } | ||
14 | |||
15 | .bouton { | ||
16 | border-radius: 2px; | ||
17 | } | ||
18 | |||
19 | #main { | ||
20 | margin: 0 auto; | ||
21 | } | ||
22 | |||
23 | #main ul#links { | ||
24 | padding: 0; | ||
25 | list-style-type: none; | ||
26 | text-align: center; | ||
27 | font-size: 0.9em; | ||
28 | } | ||
29 | |||
30 | #main ul#links li { | ||
31 | display: inline; | ||
32 | } | ||
33 | |||
34 | #main ul#links li a.current { | ||
35 | -webkit-border-radius: 2px; | ||
36 | border-radius: 2px; | ||
37 | } | ||
38 | |||
39 | #main ul#sort { | ||
40 | padding: 0; | ||
41 | list-style-type: none; | ||
42 | text-align: center; | ||
43 | opacity: 0.5; | ||
44 | } | ||
45 | |||
46 | #main ul#sort li { | ||
47 | display: inline; | ||
48 | font-size: 0.9em; | ||
49 | } | ||
50 | |||
51 | #main ul#sort img:hover { | ||
52 | cursor: pointer; | ||
53 | } | ||
54 | |||
55 | |||
56 | #links a{ | ||
57 | text-decoration: none; | ||
58 | padding: 5px 10px; | ||
59 | } | ||
60 | #links a:hover{ | ||
61 | -webkit-border-radius: 2px; | ||
62 | border-radius: 2px; | ||
63 | } | ||
64 | |||
65 | /*** ***/ | ||
66 | /*** LINKS DISPLAY ***/ | ||
67 | |||
68 | #main a.tool { | ||
69 | text-decoration: none; | ||
70 | cursor: pointer; | ||
71 | } | ||
72 | |||
73 | #main #content { | ||
74 | margin-top: 20px; | ||
75 | } | ||
76 | |||
77 | #main #content h2 { | ||
78 | font-size: 1.3em; | ||
79 | text-decoration: none; | ||
80 | } | ||
81 | |||
82 | #main #content .entrie { | ||
83 | border-bottom: 1px dashed #222222; | ||
84 | } | ||
85 | |||
86 | #main .entrie ul.tools { | ||
87 | list-style-type: none; | ||
88 | } | ||
89 | |||
90 | #main .entrie ul.tools li { | ||
91 | /*display: inline;*/ | ||
92 | } | ||
93 | |||
94 | .tools { | ||
95 | float: right; | ||
96 | text-align: right; | ||
97 | opacity: 0.5; | ||
98 | } | ||
99 | |||
100 | .tools p { | ||
101 | font-size: 0.8em;} | ||
102 | |||
103 | /* | ||
104 | .tools ul { | ||
105 | padding: 0; margin: 0; | ||
106 | list-style-type: none; | ||
107 | } | ||
108 | |||
109 | .tools ul li { | ||
110 | line-height: 20px; | ||
111 | } | ||
112 | |||
113 | .tools a.tool { | ||
114 | cursor: pointer; | ||
115 | }*/ | ||
116 | |||
117 | #main .entrie .tools a.tool span, #article .tools a.tool span { | ||
118 | display: inline-block; | ||
119 | width: 16px; | ||
120 | height: 16px; | ||
121 | } | ||
122 | |||
123 | #main .entrie .url { | ||
124 | font-size: 13px; | ||
125 | } | ||
126 | |||
127 | |||
128 | /*** ***/ | ||
129 | /*** ARTICLE PAGE ***/ | ||
130 | |||
131 | #article { | ||
132 | margin: 0 auto; | ||
133 | } | ||
134 | #article header { | ||
135 | text-align: left; | ||
136 | } | ||
137 | |||
138 | #article header a { | ||
139 | text-decoration: none; | ||
140 | } | ||
141 | |||
142 | .vieworiginal a, .vieworiginal a:hover, .vieworiginal a:visited { | ||
143 | text-decoration: none; | ||
144 | color: #888888; | ||
145 | } | ||
146 | |||
147 | .backhome { | ||
148 | display: inline; | ||
149 | } | ||
150 | |||
151 | #article .tools { | ||
152 | position: relative; | ||
153 | display: inline; | ||
154 | top: 0px; | ||
155 | right: 0px; | ||
156 | width: 100%; | ||
157 | } | ||
158 | |||
159 | #article .tools ul li{ | ||
160 | display: inline; | ||
161 | } | ||
162 | |||
163 | |||
164 | /*** GENERAL ***/ | ||
165 | body { | ||
166 | color: #000; | ||
167 | } | ||
168 | |||
169 | a, a:hover, a:visited { | ||
170 | color: #000; | ||
171 | } | ||
172 | |||
173 | .bouton { | ||
174 | background-color: #000; | ||
175 | color: #fff; | ||
176 | border: none; | ||
177 | } | ||
178 | .bouton:hover { | ||
179 | background-color: #222222; | ||
180 | color: #F1F1F1; | ||
181 | } | ||
182 | |||
183 | #main ul#links li a.current { | ||
184 | background-color: #000; | ||
185 | color: #fff; | ||
186 | } | ||
187 | |||
188 | #links a:hover{ | ||
189 | background-color: #040707; | ||
190 | color: #F1F1F1; | ||
191 | } | ||
192 | |||
193 | |||
194 | /*** ***/ | ||
195 | /*** ARTICLE PAGE ***/ | ||
196 | |||
197 | #article header, #article article { | ||
198 | border-bottom: 1px solid #222222; | ||
199 | } | ||
200 | |||
201 | |||
202 | /* Pagination */ | ||
203 | .pagination { | ||
204 | clear: both; | ||
205 | padding-bottom: 20px; | ||
206 | padding-top: 10px; | ||
207 | text-align: right; | ||
208 | } | ||
209 | .pagination a { | ||
210 | border: 1px solid #D5D5D5; | ||
211 | color: #333; | ||
212 | font-size: 11px; | ||
213 | font-weight: bold; | ||
214 | height: 25px; | ||
215 | padding: 4px 8px; | ||
216 | text-decoration: none; | ||
217 | margin:2px; | ||
218 | } | ||
219 | .pagination a:hover, .pagination a:active { | ||
220 | background:#efefef; | ||
221 | } | ||
222 | .pagination span.current { | ||
223 | background-color: #ccc; | ||
224 | border: 1px solid #D5D5D5; | ||
225 | color: #000; | ||
226 | font-size: 11px; | ||
227 | font-weight: bold; | ||
228 | height: 25px; | ||
229 | padding: 4px 8px; | ||
230 | text-decoration: none; | ||
231 | margin:2px; | ||
232 | } | ||
233 | .pagination span.disabled { | ||
234 | border: 1px solid #EEEEEE; | ||
235 | color: #DDDDDD; | ||
236 | margin:2px; | ||
237 | padding: 4px 8px; | ||
238 | font-size: 11px; | ||
239 | font-weight: bold; | ||
240 | } | ||
241 | |||
242 | footer { | ||
243 | clear: both; | ||
244 | } \ No newline at end of file | ||