Skip to content

Instantly share code, notes, and snippets.

View ankidroid sentence styling
.card {
font-family: Noto Sans CJK JP Regular;
font-size: 24px;
text-align: center;
color: white;
background: #F3F3F3;
margin: 0px;
}
View Vocab WK mod Styling
.card {
font-family: Noto Sans CJK JP Regular;
font-size: 24px;
text-align: center;
color: white;
background: #F3F3F3;
margin: 0px;
}
.bglayervoc {
View wanakata
<!--Long Ass Script Section-->
<script>/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,f
View dictionary buttons
##Styling##
table.table1 td {
border: 0;
font-size: 12px;
font-weight: bold;
padding: 0.5625em 1em;
text-align: center;
background: #fbfbfb;
box-shadow: 3px 3px 0 #e1e1e1;
View Input correct-incorrect
<div id="correctAnswer" style="display:none"></div>
<script>
//Script for modifying 'Show Answer' behavior for Input types.
var htmlTextNodes = [];
var innerHTMLText = [];
var htmlNodeLength =document.getElementById('typeans').childNodes.length;
var typedAnswer;
var correctAnswer;
var firstBr = null;
var secondBr;