Commit 4b201f2e232e376cc1c6e123212d05bbd746ac77

Authored by Rachel Lee
1 parent 344b499fae

Made flashcard overlay css match flashcard's sizing

Showing 1 changed file with 3 additions and 7 deletions Side-by-side Diff

styles/flashy.css View file @ 4b201f2
... ... @@ -65,20 +65,16 @@
65 65 }
66 66  
67 67 .card-overlay {
68   - height: calc(3 * 5vw);
69 68 left: 0;
70   - max-height: calc(3 * 60px);
71   - max-width: calc(5 * 60px);
72   - min-height: calc(3 * 50px);
73   - min-width: calc(5 * 50px);
74 69 opacity: 0;
75 70 position: absolute;
76 71 top: 0;
77 72 transition: visibility 0s cubic-bezier(0, 0, 0.6, 1) 0.2s,
78   - opacity 0.2s cubic-bezier(0, 0, 0.6, 1);
  73 + opacity 0.2s cubic-bezier(0, 0, 0.6, 1);
79 74 /* animation effect to appear on off-hover */
80 75 visibility: hidden;
81   - width: calc(5 * 5vw);
  76 + height: 100%;
  77 + width: 100%;
82 78 }
83 79  
84 80 .card-overlay i {