vermillon Triglot Senior Member United Kingdom Joined 4683 days ago 602 posts - 1042 votes Speaks: French*, EnglishC2, Mandarin Studies: Japanese, German
| Message 9 of 12 16 February 2013 at 4:33pm | IP Logged |
stifa wrote:
Question:
Is it possible to have a different layouts on the mobile version? (For instance, to not use the snapshot, audio etc.) |
|
|
I don't think it's possible, at least not easily, but it's possible to define platform-specific "styles" (not layouts): http://ankisrs.net/docs/manual.html#platformcss
You should keep in mind that your question is incomplete: what mobile? An Android (a totally different software not managed by Anki's developer) or an iPhone (developed by Anki's developer): the answer might be different.
That said, I think most of these questions are answered in the manual in a way or another (how do I change decks? => you use Google and it tells you), and I certainly learnt much reading that page.
1 person has voted this message useful
|
stifa Triglot Senior Member Norway lang-8.com/448715 Joined 4878 days ago 629 posts - 813 votes Speaks: Norwegian*, EnglishC2, German Studies: Japanese, Spanish
| Message 10 of 12 16 February 2013 at 5:10pm | IP Logged |
I'm using an android, and it understand the .mobile styling. However, I can't think of
a way to hide certain fields during reviews on my phone.
I've read the Anki 2 manual twice to no avail; that's why I asked here.
Edited by stifa on 16 February 2013 at 5:12pm
1 person has voted this message useful
|
vermillon Triglot Senior Member United Kingdom Joined 4683 days ago 602 posts - 1042 votes Speaks: French*, EnglishC2, Mandarin Studies: Japanese, German
| Message 11 of 12 16 February 2013 at 5:38pm | IP Logged |
Obviously, Anki's manual is not going to produce a full reference to everything's that is available in CSS. If you know that styling can be different on your desktop and on your mobile, then it's up to you to look up how to do that styling in CSS (nothing to do with Anki anymore).
I'm glad you asked, because I've still learnt something: you use "visibility:hidden", and this can be found here: http://www.w3schools.com/cssref/pr_class_visibility.asp
(I used Google.)
1 person has voted this message useful
|
stifa Triglot Senior Member Norway lang-8.com/448715 Joined 4878 days ago 629 posts - 813 votes Speaks: Norwegian*, EnglishC2, German Studies: Japanese, Spanish
| Message 12 of 12 16 February 2013 at 6:40pm | IP Logged |
Oh, is it really that simple... Thank you so much! :D
EDIT: That function was useless for my purpose: "display:none;" worked, however.
visibility:hidden; -> item still takes up the space, but you can't see it
display:none; -> item is completely invisible as if removed
Edited by stifa on 16 February 2013 at 6:51pm
1 person has voted this message useful
|