Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. html { overflow: scroll; overflow-x: hidden; }
  2. /* CONTAINER FOR YOUR CARDS */
  3. #kard {
  4. padding: 0px 0px;
  5. max-width: 700px; /* CHANGE CARD SIZE HERE */
  6. margin: 0 auto; /* CENTERS THE CARD IN THE MIDDLE OF THE WINDOW */
  7. word-wrap: break-word; /* BREAKS UP LONG WORKS */
  8. }
  9. span.ingredient {
  10. line-height: 1.4;
  11. text-align: center;
  12. }
  13.  
  14. /* APPLIES TO THE WHOLE CARD */
  15. .card {
  16. font-family: Helvetica;
  17. font-size: 18px; /* FONT SIZE */
  18. text-align: center; /* ALIGN TEXT */
  19. color: #D7DEE9; /* FONT COLOR */
  20. line-height: 1.6em;
  21. background-color: #333B45; /* BACKGROUND COLOR */
  22. }
  23. /* STYLE FOR CLOZE DELETIONS */
  24. .cloze, .cloze b, .cloze u, .cloze i { font-weight: bold; color: MediumSeaGreen !important;}
  25.  
  26. /* STYLE FOR EXTRA PORTION ON BACK OF CARD */
  27. #extra, #extra i { font-size: 15px; color:#D7DEE9; font-style: italic; }
  28.  
  29. /* STYLE TAGS TO APPEAR WHEN HOVERING OVER TOP OF CARD */
  30. .tags {
  31. color: #A6ABB9;
  32. opacity: 0;
  33. font-size: 10px;
  34. width: 100%;
  35. text-align: center;
  36. text-transform: uppercase;
  37. position: fixed;
  38. padding: 0;
  39. top:0;
  40. right: 0;}
  41. .tags:hover { opacity: 1; position: fixed;}
  42.  
  43. /* IMAGE STYLE */
  44. img { display: block; max-width: 100%; max-height: none; margin-left: auto; margin: 10px auto 10px auto;}
  45. tr {font-size: 12px; }
  46.  
  47. /* COLOR ACCENTS FOR BOLD-ITALICS-UNDERLINE */
  48. b { color: #C695C6 !important; } /* BOLD STYLE */
  49. u { text-decoration: none; color: #5EB3B3;} /* UNDERLINE STYLE */
  50. i { color: IndianRed; } /* ITALICS STYLE */
  51. a { color: #b58900 !important; text-decoration: none; font-size: 40px; font-style: normal; } /* LINK STYLE */
  52.  
  53. /* ADJUSTMENT FOR MOBILE DEVICES */
  54. .mobile .card { color: #D7DEE9; background-color: #333B45; }
  55. .mobile .tags:hover { opacity: 1; position: relative;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement