summaryrefslogtreecommitdiff
path: root/data/extensions/https-everywhere@eff.org/pages/cancel/style.css
blob: 9b91ca3218ed9412dd34ee5977dcff94a3865fd8 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
body {
  margin-top: 6em;
  font-size: 12pt;
  font-family: sans-serif;
  line-height: 150%;
}

.content {
  margin: auto;
  max-width: 600px;
}

h1 {
  display: block;
}

h1 img {
  width: 100%;
  height: auto;
}

#url-paragraph {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

button {
  background-color: #ec1e1e;
  border: 1px solid #ec1e1e;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 0.5em 1em;
  display: block;
  float: none;
  font-size: 12pt;
  margin: 8px 0;
  line-height: 150%;
}

button:hover {
  background-color: #fff;
  color: #ec1e1e;
}

button:last-child {
  margin: 0;
}

@media screen and (max-width: 550px) {
  button {
    width: 100%;
    margin: 8px 0;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #202023;
    color: #f9f9fa;
  }

  a {
    color: #45a1ff;
  }

  button {
    color: #202023;
  }

  button:hover {
    background-color: #202023;
    border-color: #ec1e1e;
  }
}