Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
anki:input [2023/07/24 13:45] werwolf |
anki:input [2023/07/24 13:55] (текущий) werwolf |
||
|---|---|---|---|
| Строка 14: | Строка 14: | ||
| {{IMG}} | {{IMG}} | ||
| - | <div class=Russian><span>{{Russian}}</span></div> | + | <div class=Russian><span>{{Front}}</span></div> |
| - | {{type:English}} | + | {{type:Back}} |
| </code> | </code> | ||
| ===стили=== | ===стили=== | ||
| - | |||
| <code css> | <code css> | ||
| + | |||
| .card { | .card { | ||
| font-family: arial; | font-family: arial; | ||
| Строка 42: | Строка 42: | ||
| padding-top: 0.5em; | padding-top: 0.5em; | ||
| } | } | ||
| - | .Russian { | + | .Front { |
| padding-top: 0.5em; | padding-top: 0.5em; | ||
| } | } | ||
| Строка 53: | Строка 53: | ||
| text-align: left; | text-align: left; | ||
| } | } | ||
| + | |||
| /* solarize http://ethanschoonover.com/solarized | /* solarize http://ethanschoonover.com/solarized | ||
| * http://ospalh.github.io/anki-addons/Scalar.html | * http://ospalh.github.io/anki-addons/Scalar.html | ||
| Строка 62: | Строка 62: | ||
| .typeMissed, .typePass { color: #268bd2;font-weight:bold;font-size: 23px;} | .typeMissed, .typePass { color: #268bd2;font-weight:bold;font-size: 23px;} | ||
| .typeGood{color: #2ed85a;font-weight:bold;} | .typeGood{color: #2ed85a;font-weight:bold;} | ||
| + | |||
| .ankiru{ | .ankiru{ | ||
| position: absolute; | position: absolute; | ||
| Строка 72: | Строка 72: | ||
| height:32px; | height:32px; | ||
| } | } | ||
| + | |||
| .Deck { | .Deck { | ||
| position: absolute; top: 7px; left: 0px; width: 100%; | position: absolute; top: 7px; left: 0px; width: 100%; | ||
| Строка 79: | Строка 79: | ||
| font-size: 8pt; vertical-align: top; line-height: 10pt; | font-size: 8pt; vertical-align: top; line-height: 10pt; | ||
| } | } | ||
| - | |||
| - | |||
| </code> | </code> | ||
| Строка 89: | Строка 87: | ||
| {{IMG}} | {{IMG}} | ||
| - | <div class=Russian><span>{{Russian}}</span></div> | + | <div class=Russian><span>{{Front}}</span></div> |
| <script>document.getElementById('Deck').innerHTML="{{Deck}}".replace("::"," − ");</script> | <script>document.getElementById('Deck').innerHTML="{{Deck}}".replace("::"," − ");</script> | ||
| - | {{type:English}} | + | {{type:Back}} |
| <br/> | <br/> | ||
| {{IMG2}} | {{IMG2}} | ||