Skip to content

Instantly share code, notes, and snippets.

@erictt
Last active January 19, 2017 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erictt/d25bd46bcd4c2bab63a38f44a19dba55 to your computer and use it in GitHub Desktop.
Save erictt/d25bd46bcd4c2bab63a38f44a19dba55 to your computer and use it in GitHub Desktop.
Anki Card Style for confused words(CSS)
.card {
font-size: 16px;
text-align: center;
color: #32517d;
line-height: 15px;
}
h1 {
font-family: times;
font-size: 18px;
font-weight: 600;
letter-spacing: 5px;
text-align: center;
height: 35px;
line-height: 35px;
padding: 1px 0px 0px 0px;
border: 0px solid #b7d5eb;
border-radius: 30px;
}
.R {
color: #efefef;
background-color: #338eca
}
.S {
color: #efefef;
background-color: #56a844
}
.D {
color: #efefef;
background-color: #ec6c4f
}
.word {
color: #4060b0;
font-weight: bold;
font-size: 30px;
line-height: 36px;
}
.back {
text-align: left;
margin: 2px;
}
.cube.top {
border-top: 1px solid #cccccc
}
.POSR {
color: #cfcfcf;
}
.POSS {
background-color: #56a844;
color: white;
font-size: 14px;
}
.POSD {
background-color: #ec6c4f;
}
.explain_wrap {
font-size: 16px;
margin-top: 8px;
}
.expHead {
font-weight: bold;
padding: 2px 10px;
color: #efefef;
line-height: 1.2;
background-color: #338eca
}
.expDiv .line {
padding-right: 4px;
color: #32517d;
padding-left: 14px;
margin: 6px 0;
line-height: 1.4;
position: relative;
}
.word-line span {
padding: 2px 8px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment