Skip to content

Instantly share code, notes, and snippets.

@bennetthardwick
Last active June 23, 2018 15:18
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 bennetthardwick/14f51e4ccce9a11819b07c5c3d876341 to your computer and use it in GitHub Desktop.
Save bennetthardwick/14f51e4ccce9a11819b07c5c3d876341 to your computer and use it in GitHub Desktop.
Better looking alternative to the default Anki cards! Shamelessly inspired by Duolingo TinyCards.
html, body {
background: #E9E9E9;
padding-top: 80px;
}
.card {
margin-top: 40px;
font-family: arial;
font-size: 42px;
text-align: center;
color: #282828;
background-color: #f3f3f3;
border-radius: 20px;
box-shadow: 0 0 25px rgba(0,0,0,.04);
max-width: 400px;
min-width: 300px;
padding: 80px 40px;
margin: auto;
}
.cloze {
font-weight: bold;
color: #25A7E5
}
hr {
border: none;
height: 4px;
border-radius: 2px;
background: #E9E9E9
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment