tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ImageDocument.css (912B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 /*
      7 * This CSS stylesheet defines the rules to be applied to any ImageDocuments,
      8 * including those in frames.
      9 */
     10 
     11 body {
     12  /* To give the image access to our document's full viewport, we need to
     13     override the margin that the html.css UA stylesheet would otherwise apply
     14     to our body. */
     15  margin: 0;
     16 }
     17 
     18 @media not print {
     19  .fullZoomOut {
     20    cursor: zoom-out;
     21  }
     22 
     23  .fullZoomIn {
     24    cursor: zoom-in;
     25  }
     26 
     27  .shrinkToFit {
     28    cursor: zoom-in;
     29  }
     30 
     31  .overflowingVertical,
     32  .overflowingHorizontalOnly {
     33    cursor: zoom-out;
     34  }
     35 }
     36 
     37 .isInObjectOrEmbed {
     38  width: 100%;
     39  height: 100vh;
     40 }
     41 
     42 img {
     43  display: block;
     44 }