summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/anki_reworked/files/Overview.css
blob: 7c7571a2e7ddf5d2380d99b8d88d7cf254f3d0b0 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
body .descmid {
  text-align: center;
}
center > table tr:first-of-type {
  display: flex;
  flex-direction: column;
}
td table {
  width: 50%;
}
td table tr:first-of-type {
  display: table-row;
  flex-direction: unset;
}
td table tr td:last-of-type {
  text-align: right;
}
button#study.but,
button#main.but {
  padding: 10px 27px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 20px;

  color: var(--text-fg, var(--legacy-text-fg));
  border: none;
  border-radius: 15px;
  margin: 0 5px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  min-width: 64px;
  background: initial;
  background-color: var(--frame-bg, var(--legacy-frame-bg));
  transition: background 0.2s linear, color 0.3s ease-out;
  box-shadow: rgb(0 0 0 / 20%) 0px 3px 7px -2px,
    rgb(0 0 0 / 5%) 0px 5px 10px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px;
}
body.nightMode button#study.but:hover,
body.nightMode button#main.but:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
button#study.but:focus,
button#main.but:focus {
  background-color: var(--primary-color) !important;
  color: var(--frame-bg, var(--legacy-frame-bg));
  outline: none;
}
body.nightMode button#study.but:focus,
body.nightMode button#main.but:focus {
  color: var(--text-fg);
}
button#study.but:hover,
button#main.but:hover {
  background-color: rgba(0, 0, 0, 0.05);
}