summaryrefslogtreecommitdiff
path: root/data/extensions/https-everywhere@eff.org/pages/cancel/style.css
blob: aeba151a07493d574e29be75dc383a367ef4b402 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
@import "../main.css";

body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 2% auto;
  font-size: 12pt;
  font-family: sans-serif;
  line-height: 150%;
  row-gap: 16px;
}

/*---------
# GRID LAYOUT
---------*/
.banner {
  grid-column: 2;
  grid-row: 1;
}
.explainer {
  grid-column: 2;
  grid-row: 2;
}
.copy_block {
  grid-column: 2;
  grid-row: 3;
}
.button_options {
  grid-column: 2;
  grid-row: 4;
}

h1 {
  display: block;
}

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

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

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

button:last-child {
  margin: 0;
}

#url-value{
 float: left;
 font-weight: bold;
 margin: 2% 2% 0 0;
}
#copy-url, #open-url-button{
  background-color: var(--light-grey) !important;
  border: 1px solid var(--text-secondary) !important;
}
#copy-url {
  color: var(--text-secondary) !important;
  font-size: 14px;
}
#open-url-button {
  color: #666666 !important;
}
#copy-url:hover, #open-url-button:hover {
  background-color: var(--text-secondary) !important;
  border: 1px solid var(--text-secondary) !important;
  color: var(--light-grey) !important;
}

@media screen and (max-width: 800px) {
  body {
    grid-template-columns: 1fr;
    margin: 5%;
  }
  .banner {
    grid-row: 1;
  }
  .explainer {
    grid-row: 2;
  }
  .copy_block {
    grid-row: 3;
  }
  .button_options {
    grid-row: 4;
  }
  .ease_button {
    width: 100%;
    margin: 8px 0;
  }
}

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

  a {
    color: #45a1ff;
  }

  .ease_button {
    color: #202023;
  }

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