Files
brave-core/ui/webui/resources/css/reset.css
T
Pete Miller e90fa9feb2 NTP WebUI: take global fonts and css out of JS bundle
Already served from chrome://brave-resource/... which will benefit from async parsing and cross-page caching
2020-07-07 15:41:59 -07:00

182 lines
2.5 KiB
CSS

/* Copyright (c) 2020 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* you can obtain one at http://mozilla.org/MPL/2.0/. */
::before,
::after {
background-repeat: no-repeat;
box-sizing: inherit;
text-decoration: inherit;
vertical-align: inherit;
}
* {
box-sizing: border-box;
}
html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
article,
aside,
footer,
header,
nav,
section {
display: block;
}
abbr[title] {
border-bottom: none;
}
body {
color: #3b3b3b;
/* default to system fonts */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", sans-serif;
font-size: 13px;
margin: 0;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
pre {
font-family: monospace;
font-size: 1em;
}
b,
strong {
font-weight: bolder;
}
code,
kbd,
samp {
font-family: monospace;
font-size: 1em;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
::selection {
background-color: #b3d4fc;
color: #000000;
text-shadow: none;
}
svg {
fill: currentColor;
}
table {
border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
margin: 0;
}
button,
input,
select,
textarea {
color: inherit;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
appearance: button;
}
legend {
padding: 0;
}
progress {
vertical-align: baseline;
}
textarea {
resize: vertical;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
-webkit-appearance: textfield;
appearance: textfield;
outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
appearance: none;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
appearance: button;
font: inherit;
}
summary {
display: list-item;
}
[aria-busy="true"] {
cursor: progress;
}
[aria-controls] {
cursor: pointer;
}
[aria-hidden="false"][hidden]:not(:focus) {
clip: rect(0, 0, 0, 0);
display: inherit;
position: absolute;
}
[aria-disabled] {
cursor: default;
}