2020-07-21 09:50:35 +01:00
|
|
|
/* Reset
|
|
|
|
-------------------------------------------------- */
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
color: var(--primary);
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
|
|
'Open Sans', 'Helvetica Neue', sans-serif;
|
|
|
|
font-size: 18px;
|
2020-07-28 07:58:44 +01:00
|
|
|
line-height: 1.6;
|
2020-07-21 09:50:35 +01:00
|
|
|
word-break: break-word;
|
|
|
|
background: var(--theme);
|
|
|
|
}
|
|
|
|
|
|
|
|
article,
|
|
|
|
aside,
|
|
|
|
figcaption,
|
|
|
|
figure,
|
|
|
|
footer,
|
|
|
|
header,
|
|
|
|
hgroup,
|
|
|
|
main,
|
|
|
|
nav,
|
|
|
|
section {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
color: var(--primary);
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--primary);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
2020-09-30 13:55:39 +01:00
|
|
|
display: block;
|
|
|
|
overflow-x: scroll;
|
|
|
|
word-break: keep-all;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
padding: 0;
|
|
|
|
font: inherit;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input[type='button'],
|
|
|
|
input[type='submit'] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:-webkit-autofill,
|
|
|
|
textarea:-webkit-autofill {
|
|
|
|
box-shadow: 0 0 0 50px var(--theme) inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
2020-07-24 17:33:33 +01:00
|
|
|
}
|
|
|
|
|
2020-10-03 16:28:35 +01:00
|
|
|
*::-webkit-scrollbar {
|
2020-10-01 09:07:31 +01:00
|
|
|
width: 10px;
|
|
|
|
height: 6px;
|
2020-07-26 14:25:33 +01:00
|
|
|
}
|
|
|
|
|
2020-10-03 16:28:35 +01:00
|
|
|
*::-webkit-scrollbar-track {
|
2020-07-26 14:25:33 +01:00
|
|
|
background: var(--theme);
|
|
|
|
}
|
|
|
|
|
2020-11-11 05:09:55 +00:00
|
|
|
.list:not(.dark)::-webkit-scrollbar-track {
|
2020-11-09 06:22:57 +00:00
|
|
|
background: var(--code-bg);
|
|
|
|
}
|
|
|
|
|
2020-10-03 16:28:35 +01:00
|
|
|
*::-webkit-scrollbar-thumb {
|
2020-07-26 14:25:33 +01:00
|
|
|
background: var(--tertiary);
|
|
|
|
border-radius: var(--radius);
|
|
|
|
}
|
|
|
|
|
2020-10-03 16:28:35 +01:00
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
2020-07-26 14:25:33 +01:00
|
|
|
background: var(--secondary);
|
2020-09-15 18:06:29 +01:00
|
|
|
}
|
|
|
|
|
2020-10-03 16:28:35 +01:00
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
*::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 2px;
|
|
|
|
}
|
|
|
|
}
|