Инструменты пользователя

Инструменты сайта


anki:input

Это старая версия документа!


Пример оформления карточки

Шаблон лицевой стороны

<div class=Deck><span id=Deck>{{Deck}}</span></div>
<script>document.getElementById('Deck').innerHTML="{{Deck}}".replace("::"," &minus; ");</script>
 
 
 
 
{{IMG}}
<div class=Russian><span>{{Russian}}</span></div>
{{type:English}}

стили

.card {
 font-family: arial;
 font-size: 20px;
 text-align: center;
 color: black;
 background-color: white;
 line-height: 1.5em;
}
#typeans {
 text-align: center;
 max-width: 300px;
}
input#typeans {
 border-radius: 9px
}
.Translation {
 font-family: Lucida Sans Unicode;
 color: gray;
 padding-top: 0.5em;
}
.Russian {
 padding-top: 0.5em;
}
IMG {
 border-radius: 19px;
}
div span {
 max-width: 555px;
 display: inline-block;
 text-align: left;
}
 
/* solarize http://ethanschoonover.com/solarized
 * http://ospalh.github.io/anki-addons/Scalar.html
 */
.card {color: black; background-color: #f3f3f3;}
#typeans span {background-color: #f3f3f3;}
.typeBad {color: #dc322f;font-weight:bold;font-size: 23px;}
.typeMissed, .typePass {  color: #268bd2;font-weight:bold;font-size: 23px;}
.typeGood{color: #2ed85a;font-weight:bold;} 
 
.ankiru{
 position: absolute;
 top: 7px;
 right: 27px;
 background: url('_ankiru.png') top right no-repeat;
 display: block;
 width:135px;
 height:32px;
}
 
.Deck {
 position: absolute; top: 7px; left: 0px; width: 100%;
}
#Deck {
 font-size: 8pt;  vertical-align: top; line-height: 10pt;
}
anki/input.1690195449.txt.gz · Последние изменения: 2023/07/24 13:44 — werwolf