0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/assets/ruby.css
ospalh e13a901c58 Add doctype html (i.e. html5) to the card template.
Rename the card templates.
Set the charset to utf-8 on the card.
Don’t do horizontal align.
Let the webkit worry about resizing images.
Vertical centering without tables as an option. Thanks to @hssm
Use inner div with margins and make margins smaller.
Checkbox to center vertically (old style) or not (everything at top, like desktop).
Semi-automatically remove a few trailing spaces.
Separate the chess and legacy ruby css into extra files.
Add CSS classes to identify android devices
2013-06-12 10:20:06 +02:00

18 lines
291 B
CSS

.legacy_ruby_rb {
display: inline-block;
text-align: center;
line-height: 1;
white-space: nowrap;
vertical-align: baseline;
margin: 0;
padding: 0;
}
.legacy_ruby_rt {
display: block;
text-decoration: none;
line-height: 1.2;
font-weight: normal;
font-size: 0.64em;
}