2 * Copyright (c) 2019, The Tor Project, Inc.
3 * See LICENSE for licensing information.
5 * vim: set sw=2 sts=2 ts=8 et syntax=css:
9 --abouttor-link-color: #e98346;
10 --abouttor-donate-button-bg: #efb149;
11 --abouttor-donate-button-bg-hover: #e5b6e3;
12 --abouttor-donate-button-bg-active: #b28db0;
13 --abouttor-donate-button-color: #0C0C0D;
14 --abouttor-text-color: #faf5df;
15 --abouttor-bg-toron-color: #05161c;
16 --abouttor-bg-toroff-color: #A4000F;
33 flex-direction: column
;
34 justify-content: space-between
;
39 font-family: Helvetica
, Arial
, sans-serif
;
40 color: var
(--abouttor-text-color
);
41 background-color: var
(--abouttor-bg-toroff-color
);
42 background-attachment: fixed
;
43 background-size: 100% 100%;
47 background-color: var
(--abouttor-bg-toron-color
);
50 /* Hide the entire document by default to avoid showing the incorrect
51 * Tor on / off status (that info must be retrieved from the chrome
52 * process, which involves IPC when multiprocess mode is enabled). An
53 * initialized attribute will be added as soon as the status is known.
55 body:not
([initialized
]) {
59 .torcontent-container {
60 margin: 80px 20px 28px 20px;
62 flex-direction: column
;
65 @media only screen and
(min-width: 900px) {
66 .torcontent-container {
75 offset-inline-end: 16px;
76 inset-inline-end: 16px;
81 #torbrowser-info div
{
83 white-space: pre-wrap
;
88 /* Hide "View Changelog" link if update channel is not release or alpha. */
89 body:not
([updatechannel
="release"]):not
([updatechannel
="alpha"]) #torbrowser-changelog-link
{
94 color: var
(--abouttor-link-color
);
99 flex-direction: column
;
100 align-content: center
;
101 justify-content: flex-end
;
111 justify-content: center
;
116 .header-container > div.header-layered {
121 .header-container > div.header-layered > img {
126 .header-container > div > img#slogan-layer {
127 margin-inline-start: -100%;
129 .torstatus-container {
134 body
[hasbeenupdated
] .hideIfHasBeenUpdated
,
135 body
[toron
] .hideIfTorOn
,
136 body:not
([toron
]) .hideIfTorOff
{
140 body:not
([hasbeenupdated
]) .showIfHasBeenUpdated
,
141 body:not
([showmanual
]) .showForManual
{
145 .torstatus-container * {
149 .top div.hideIfTorOff .heading1 {
174 #donateMessageBox > * {
179 /* dynamically scale motto text based on window width */
180 font-size: clamp
(24px, calc
(100vw / 768 * 36) , 36px);
181 line-height: clamp
(32px, calc
(100vw / 768 * 48) , 48px);
183 font-family: Corben
, sans-serif
;
188 margin-inline-start: 2em;
191 flex-direction: column
;
196 font-family: Corben
, sans-serif
;
202 margin-block-start: 1em;
203 margin-inline-end: auto
;
204 background-color: var
(--abouttor-donate-button-bg
);
205 outline-color: var
(--abouttor-donate-button-bg
);
207 color: var
(--abouttor-donate-button-color
);
208 font-family: sans-serif
;
211 box-sizing: border-box
;
212 border-radius: 1.5em;
213 padding-inline: 1.25em;
214 text-decoration: none
;
222 #donateButton:hover
{
223 background-color: var
(--abouttor-donate-button-bg-hover
);
224 outline-color: var
(--abouttor-donate-button-bg-hover
);
227 #donateButton:active
{
228 background-color: var
(--abouttor-donate-button-bg-active
);
229 outline-color: var
(--abouttor-donate-button-bg-active
);
232 #donateButton:focus-visible
{
233 outline-style: dotted
;
247 padding-bottom: 20px;
250 #bottom p:last-child
{
254 #bottom p
.moreInfoLink
{
258 #bottom img
.imageStyle
{
259 padding-inline-end: 0.5em;
261 vertical-align: bottom
;
262 -moz-context-properties: fill
;
266 /* Hide the linebreaks on large enough screens (desktops, laptops, and
269 @media only screen and
(min-width: 768px) {
286 border: 1px solid black
;
288 background-color: white
;
294 display: inline-block
;
295 background: url
('dax-logo.svg') no-repeat center center
;
296 background-size: 30px 30px;
303 background: url
('chrome://browser/skin/forward.svg') no-repeat center center
;
304 background-size: 16px 16px;
308 #search-button:hover
{
309 background-color: rgba
(12, 12, 13, 0.1); /* same as Firefox's about:home */
312 /* #search-text is the search input field */
316 padding: 4px 2px 5px 2px;
321 #search-text:focus-visible
{
325 #search-button:focus-visible
{
326 outline: 1px dotted black
;
327 outline-offset: -6px;
332 * Mobile specific css
339 body
[mobile
] #torbrowser-changelog-link
,
340 body
[mobile
] .searchbox
,
341 body
[mobile
] .top
.heading2
,
342 body
[mobile
] #manual
,
343 body
[mobile
] #mission
{
349 margin-top: 0px !important
;
352 body
[mobile
] .torcontent-logo
{
361 body
[mobile
] .top
.heading1
{
366 body
[mobile
] .onion-pattern-container
{
368 z-index: -1; /* ensure that circles do not block access to clickable links */