2020/manual/manual-page-style.css (503 lines of code) (raw):

/** * @license * Copyright 2018 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ body, html { height: 100%; background-color: white !important; color: black; min-height: 720px; width: 100%; min-width: 1280px; margin: 0; padding: 0; font-size: 1.0em; line-height: 1.4em; font-family: 'Roboto', serif; } p { display: block; margin-top: 1em; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; } #top-header { background-color: #f1f1f1; height: 3.0em; width: 100%; padding-top: 1.0em; text-align: center; } #bottom-header { background-color: #393832; height: 2.5em; width: 100%; text-align: center; color: white; } .nav-sub { height: 2.5em; padding-top: 0.5em; display: none; } .contents { display: none; width: 95%; margin-top: 1.5em; margin-bottom: 1.5em; margin-left: auto; margin-right: auto; } #contents-home { display: block; } div#logo-container { width: 110px; padding-top: 17px; display: inline-block; margin-left: 20%; } #nav-main { display: inline-block; vertical-align: middle; } .alert { background-color: #e52d27; background-size: 100% 2.0em; color: #f6f6f6; display: block; font-size: 1.2em; line-height: 1.5em; font-family: sans-serif; text-align: center; text-decoration: none; width: 100%; display: none; } div#bottom-header { z-index: 200; } .warning-box { background-color: #e6bc27; } .text-box { color: black; width: 80%; display: block; padding: 0.6em; margin: auto; margin-top: 1.5em; margin-bottom: 1.5em; border-radius: 5px; } .valid-box { background-color: #4de156; } .invalid-box { background-color: #FF3339; } #user-agent { margin-top: 1.0em; } #unmatched-user-agent { color: #EF332D; font-weight: bold; font-size: 0.95em; line-height: 1.5em; font-family: serif; width: auto; margin-left: auto; margin-right: auto; } .cookie { margin-bottom: 12px; display: block; } .expected-cookie > span.cookie-name { border-color: green; border-width: 4px; border-style: solid; background: #90EE90; color: black; } .warning-message { border-color: red; border-width: 4px; border-style: solid; background: #FFC0CB; color: black; } #key-code { font-weight: normal; } #bottom-header-text a { color: white; display: none; } #bottom-header-text { color: white; display: none; } #qual-e:focus #bottom-header-text { display: block; } .results_pane { display: none; margin-top: 1.0em; } #cert_sandbox { width: 160px; } #cert_test { top: -9px; margin-left: 30px; position: relative; } .h1 { display: block; font-size: 2em; font-weight: bold; } .h2 { display: block; font-size: 1.5em; font-weight: bold; } .h3 { display: block; font-size: 1.17em; font-weight: bold; } .p { display: block; margin-top: 1em; margin-bottom: 1em; } .b, .strong { font-weight: bold; } .footer { font-family: serif; font-size: 1.0em; line-height: 1.5em; color: #8d8b8b; background-color: #F9F9F9; height: 9%; width: 100%; position: absolute; top: 91%; clear: both; } .centered { text-align: center; } span:focus { border: 0.2em solid blue !important; padding: 0.3em; } .cell-column { display: inline-block; vertical-align: top; text-align: left; } .cell { margin: 2px; padding: 2px; } .test-status-pass { display: inline-block; min-width: 1.0em; background-color: #080; } .test-status-fail { display: inline-block; min-width: 1.0em; background-color: #800; } .cell-name { display: inline-block; padding: 2px 2px 2px 5px; } .padding { padding: 1em; } .padding-small { padding: 0.5em; } .focusable { padding: 0.5em; } .non-focusable { padding: 0.5em; } .key-repeat-time { width: 10em; display: inline-block; padding: 0.5em; margin: 1em; text-align: center; } .outer { padding: 5em; } /* Text Colors */ .red { color: red; } .blue { color: blue; } .white { color: white; } .black { color: black; } /* Localization Test */ body.localization { font-family: sans-serif, serif !important; } .bold{ font-weight: bold; } .roboto{ font-family: Roboto !important; } .font-test{ font-size: 30px; line-height: 35px; } .language-code{ font-size: 0.7em; font-style: italic; } .outer{ padding-top: 2em; } .hidden { display: none; } /* Fonts Test */ .manual-font-block { font-family: serif; font-size: 34px; display: inline-block; word-break: break-all; word-wrap: break-word; width: 250px; line-height: 110% !important; margin-left: 20px; } .dancing-script-png { width: 257px; height: 300px; display: inline-block; background-image: url('../lib/manual/DancingScript.png'); background-repeat: no-repeat; position: relative; } .coming-soon-ttf { font-family: 'Coming Soon', serif; font-size: 15px; display: inline-block; width: 390px; line-height: 110% !important; margin-left: 20px; } /* Dual Videos Test */ body.dual-video { margin: 0; } #player-layer { width: 100%; height: 100%; } video { width: 100%; height: 100%; } #ui-layer { position: absolute; top: 15%; height: 85%; width: 100%; background-color: rgba(33, 33, 33, .75); padding: 24px; } .item { width: 427px; height: 240px; display: inline-block; margin: 24px; vertical-align: middle; } #guide { height: 100%; width: 50%; position: absolute; left: -50%; top: 0%; } /* WebP Test */ .webp-container { background-size: 150px; height: 150px; width: 150px; margin-right: 75px; background-color: #ccc; } div:focus { border: 5px solid blue !important; } #regular-png { background-image: url("../test-materials/media/manual/webp/regular.png"); border: 1px solid black; } #lossy-webp { background-image: url("../test-materials/media/manual/webp/lossy.webp"); border: 1px solid red; } #jpeg-1 { background-image: url("../test-materials/media/manual/webp/jpeg_1.jpg"); border: 1px solid black; } #lossy-webp-1 { background-image: url("../test-materials/media/manual/webp/webp_1.webp"); border: 1px solid red; } #lossy-webp-2 { background-image: url("../test-materials/media/manual/webp/webp_2.webp"); border: 1px solid red; } #jpeg-2 { background-image: url("../test-materials/media/manual/webp/jpeg_2.jpg"); border: 1px solid black; } #jpeg-3 { background-image: url("../test-materials/media/manual/webp/jpeg_3.jpg"); border: 1px solid black; } #lossy-webp-3 { background-image: url("../test-materials/media/manual/webp/webp_3.webp"); border: 1px solid red; } #lossless-webp { background-image: url("../test-materials/media/manual/webp/lossless.webp"); border: 1px solid red; } /* Animated WebP Test */ #webp-animated { background-color: #fff; white-space : nowrap; padding: 1%; } #webp-animated-container { display: inline-block; } #webp-animated-container:focus { border: 5px solid blue !important; } #webp-animated-container { display: block; position: absolute; overflow: hidden; } #lossless-animated-webp-marbles { background-image: url("../test-materials/media/manual/webp_animated/marbles_1.webp"); height: 480px; width: 640px; border: 1px solid red; } #lossless-animated-webp-marbles:focus { background-image: url("../test-materials/media/manual/webp_animated/marbles.webp"); } #lossy-animated-webp-marbles { background-image: url("../test-materials/media/manual/webp_animated/marbles_1.webp"); height: 480px; width: 640px; border: 1px solid red; } #lossy-animated-webp-marbles:focus { background-image: url("../test-materials/media/manual/webp_animated/marbles_lossy.webp"); } #lossy-animated-webp-vsauce-sm { background-image: url("../test-materials/media/manual/webp_animated/vsauce_sm_1.webp"); height: 270px; width: 480px; border: 1px solid red; } #lossy-animated-webp-vsauce-sm:focus { background-image: url("../test-materials/media/manual/webp_animated/vsauce_sm.webp"); } #lossy-animated-webp-beufort-scale { background-image: url("../test-materials/media/manual/webp_animated/beufort_scale_1.webp"); height: 270px; width: 480px; border: 1px solid red; } #lossy-animated-webp-beufort-scale:focus { background-image: url("../test-materials/media/manual/webp_animated/beufort_scale.webp"); } #lossy-animated-webp-tomb-mask { background-image: url("../test-materials/media/manual/webp_animated/tomb_mask_1.webp"); height: 270px; width: 480px; border: 1px solid red; } #lossy-animated-webp-tomb-mask:focus { background-image: url("../test-materials/media/manual/webp_animated/tomb_mask.webp"); } #lossy-animated-webp-tomb-mask { background-image: url("../test-materials/media/manual/webp_animated/tomb_mask_1.webp"); height: 270px; width: 480px; border: 1px solid red; } #lossy-animated-webp-tomb-mask:focus { background-image: url("../test-materials/media/manual/webp_animated/tomb_mask.webp"); } #lossy-animated-webp-moving-block { background-image: url("../test-materials/media/manual/webp_animated/moving_block_1.webp"); height: 270px; width: 480px; border: 1px solid red; } #lossy-animated-webp-moving-block:focus { background-image: url("../test-materials/media/manual/webp_animated/moving_block.webp"); } #mixed-animated-webp-720 { background-image: url("../test-materials/media/manual/webp_animated/webp_720.webp"); height: 720px; width: 1280px; border: 1px solid red; } #mixed-animated-webp-720:focus { background-image: url("../test-materials/media/manual/webp_animated/animated_webp_720.webp"); } .top-left-corner { position: absolute; color: white; width: 20%; top: 10%; background-color: rgba(0,0,0,0.5); z-index: 11; font-size: 25px; } /* Responsive design. Put this at the bottom of this file. */ @media screen and (min-height: 720px) and (max-height: 721px) { body { font-size: 0.8em!important; } .font-test{ font-size: 1.4em!important; line-height: 1.3em!important; } } @media screen and (min-height: 1080px) and (max-height: 1081px) { body { font-size: 1.2em!important; } .font-test{ font-size: 1.4em!important; line-height: 1.3em!important; } } @media screen and (min-height: 2160px) and (max-height: 2161px) { body { font-size: 2.4em!important; } .font-test{ font-size: 1.4em!important; line-height: 1.3em!important; } }