lbry-desktop/src/renderer/scss/_reset.scss

98 lines
881 B
SCSS
Raw Normal View History

2018-10-17 19:14:24 +02:00
* {
box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
select,
textarea,
p,
blockquote,
th,
td,
iframe {
margin: 0;
padding: 0;
}
2018-10-17 19:14:24 +02:00
:focus {
2017-04-09 17:06:23 +02:00
outline: 0;
}
2018-10-17 19:14:24 +02:00
2017-04-10 14:32:40 +02:00
input::-webkit-search-cancel-button {
2018-10-17 19:14:24 +02:00
-webkit-appearance: none; // Remove default
2017-04-10 14:32:40 +02:00
}
2018-10-17 19:14:24 +02:00
table {
border-collapse: collapse;
border-spacing: 0;
}
2018-10-17 19:14:24 +02:00
fieldset,
2018-10-17 19:14:24 +02:00
iframe,
img {
border: none;
}
2018-10-17 19:14:24 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
2018-10-17 19:14:24 +02:00
ol,
ul {
list-style-position: inside;
2018-10-17 19:14:24 +02:00
> li {
list-style-position: inside;
}
}
2018-10-17 19:14:24 +02:00
input,
2018-10-17 19:14:24 +02:00
select,
textarea {
border: none;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
}
2018-10-17 19:14:24 +02:00
img {
2018-03-26 23:32:43 +02:00
width: auto;
height: auto;
2018-10-17 19:14:24 +02:00
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
2018-10-17 19:14:24 +02:00
a {
color: inherit;
text-decoration: none;
}
2018-10-17 19:14:24 +02:00
button:disabled {
cursor: default;
}