Guest User

Anki CSS

a guest
Sep 26th, 2015
36,446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.00 KB | None | 0 0
  1. ruby rt {
  2.  visibility: hidden;
  3. }
  4.  
  5. ruby:hover rt {
  6.  visibility: visible;
  7. }
  8.  
  9. .card {
  10.  font-family: Noto Sans CJK JP Regular;
  11.  font-size: 50px;
  12.  text-align: center;
  13.  color: black;
  14.  background: url("bg.jpg");
  15. }
  16.  
  17. .android .card {
  18.  font-family: Noto Sans CJK JP Regular;
  19.  font-size: 30px;
  20.  text-align: center;
  21.  color: black;
  22.  background: url("bg.jpg");
  23. }
  24.  
  25. .frontbg {
  26.  background-color: #18adab;
  27.  border-radius: 7px;
  28.  color: #fff;
  29.  position: relative;
  30.  left: 0;
  31. }
  32.  
  33. .engdefbg {
  34.  font-family: Raleway;
  35.  font-style: italic;
  36.  padding: 15px;
  37.  margin-left: -5px;
  38.  margin-top: -15px;
  39.  color: #18adab;
  40.  font-size: 15px;
  41. }
  42.  
  43. .android .engdefbg {
  44.  font-family: Raleway;
  45.  font-style: italic;
  46.  padding: 15px;
  47.  margin-left: -15px;
  48.  margin-top: -20px;
  49.  color: #18adab;
  50.  font-size: 10px;
  51. }
  52.  
  53. .others {
  54.  position: relative;
  55.  top: 15px;
  56.  border: 1px dotted #72c8e1;
  57.  color: #18adab;
  58.  font-size: 20px;
  59.  width: auto;
  60.  padding-top: 15px;
  61.  padding-left: 20px;
  62.  padding-bottom: 15px;
  63.  padding-right: 20px;
  64.  margin-bottom: 35px;
  65. }
  66.  
  67. .android .others {
  68.  position: relative;
  69.  top: 10px;
  70.  border: 1px dotted #72c8e1;
  71.  color: #18adab;
  72.  font-size: 17px;
  73.  width: auto;
  74.  padding-top: 8px;
  75.  padding-left: 15px;
  76.  padding-bottom: 8px;
  77.  padding-right: 15px;
  78.  margin-bottom: 20px;
  79. }
  80.  
  81. .sentence {
  82.  font-size: 25px;
  83.  margin-top: -20px;
  84.  margin-bottom: 5px;
  85. }
  86.  
  87. .android .sentence {
  88.  font-size: 17px;
  89.  margin-top: -15px;
  90. }
  91.  
  92. .backbg {
  93.  position: relative;
  94.  top: -3px;
  95.  background-color: #fff;
  96.  padding: 15px;
  97.  padding-bottom: 15px;
  98.  padding-left: 30px;
  99.  padding-right: 30px;
  100.  border-radius: 0px 0px 10px 10px;
  101.  color: #016ea6;
  102.  font-size: 28px;
  103.  text-align: left;
  104. }
  105.  
  106. .android .backbg {
  107.  position: relative;
  108.  top: -5px;
  109.  background-color: #fff;
  110.  padding: 15px;
  111.  padding-bottom: 15px;
  112.  padding-left: 15px;
  113.  padding-right: 15px;
  114.  border-radius: 0px 0px 10px 10px;
  115.  color: #016ea6;
  116.  font-size: 20px;
  117.  text-align: left;
  118. }
  119.  
  120. .hira {
  121.  font-size: 25px;
  122.  line-height: 5px;
  123.  padding-bottom: 40px;
  124. }
  125.  
  126. .android .hira {
  127.  font-size: 18px;
  128.  line-height: 5px;
  129.  padding-bottom: 25px;
  130. }
  131.  
  132. hr {
  133.  height: 2px;
  134.  font-size: 30px;
  135.  border: 0;
  136.  background: #72c8e1;
  137. }
  138.  
  139. u {
  140.  text-decoration: none;
  141.  border-bottom: 1px dotted;
  142. }
  143.  
  144. /* This line is Added by Cloze Furigana Tools to make its various features work. CFT.260.00*/.hidden {visibility: hidden; font-size: 0;} .hidden .cloze, .cloze .hidden {visibility: visible; background-color: white;font-size: 0.8rem;} @-moz-document url-prefix() {ruby {position: relative;display: inline-block;} ruby rt {position: absolute;display: block;font-size: 0.5em;left: -50%;bottom: 115%;width: 210%;padding: 0;text-align: center;line-height:1em}} .hidden .basemaru {position:relative;} .hidden .basemaru:after {content: "◯"; visibility: visible; position:absolute; left:0;} .hidden .cloze .basemaru:after, .cloze .hidden .basemaru:after {visibility: hidden;} div{line-height: 2em;} .cloze_container .hidden {visibility: visible; background-color: white;}
Advertisement
Add Comment
Please, Sign In to add comment